Function at 0x408de0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514fd0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x48]
mov esi, dword [ebp + 8]
cmp dword [eax + 0xb0], 0
jne 0x408e3c
mov ecx, eax
call fcn.00407240
push 0x17ed
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
xor al, al
jmp 0x409a2e
mov byte [eax + 0xd0], 0
lea eax, [ebp - 0xe4]
push 8
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
call fcn.004f111d
mov dword [ebp - 0xe4], eax
lea ecx, [ebp - 0xe4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xe4]
mov dword [eax], ecx
mov dword [ebp - 4], 2
lea eax, [ebp - 0xd0]
push 8
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
call fcn.004f111d
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0xd0]
add esp, 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0xd0]
mov dword [eax], ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 5
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x78], 1
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x14c]
and eax, 0xffffff00
mov dword [ebp - 0x14c], eax
and eax, 0xfffffeff
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov byte [ebp - 4], 0xb
mov ecx, esi
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x408fef
mov ecx, dword [esi]
mov esi, ecx
add eax, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp esi, eax
je 0x409021
sub eax, esi
lea ecx, [ebp - 0x70]
push eax
push esi
call fcn.0040ab00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xbc]
movups xmm2, xmmword [ebp - 0x70]
lea edx, [ebp - 0x154]
movq xmm1, qword [ebp - 0x60]
movups xmm0, xmmword [ebp - 0xbc]
movq qword [ebp - 0x48], xmm1
cmp dword [ebp - 0x44], 0x10
movd eax, xmm2
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [ebp - 0xac]
cmovae ecx, eax
mov eax, dword [ebp - 0x48]
push ecx
add eax, ecx
movq qword [ebp - 0x60], xmm0
push edx
push eax
push ecx
lea ecx, [ebp - 0xe4]
movq qword [ebp - 0xac], xmm1
movups xmmword [ebp - 0xbc], xmm2
call fcn.0044f880
mov byte [ebp - 0x11d], al
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4090c9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4090b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a4b
push edx
push ecx
call fcn.004f14e5
mov al, byte [ebp - 0x11d]
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test al, al
je 0x4099e8
cmp byte [ebp - 0x14c], 7
jne 0x4099e8
push 0x53c698
push str.user
lea ecx, [ebp - 0x154]
call fcn.0044e0d0
test eax, eax
je 0x4099e8
push 0x53c698
push str.user
lea ecx, [ebp - 0x154]
call fcn.0044de50
cmp byte [eax + 8], 7
jne 0x4099e8
push 0x53c698
push str.user
lea ecx, [ebp - 0x154]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x16c]
call fcn.0044d000
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x16c]
push 0x53c6a2
push str.userid
call fcn.0044e0d0
test eax, eax
je 0x4099d0
push 0x53c6a2
push str.userid
lea ecx, [ebp - 0x16c]
call fcn.0044de50
cmp byte [eax + 8], 4
jne 0x4099d0
push 0x53c6a2
push str.userid
lea ecx, [ebp - 0x16c]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x188]
call fcn.0044d000
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x188]
call fcn.0044d400
mov byte [ebp - 4], 0xf
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0041b130
mov byte [ebp - 4], 0x10
mov ecx, dword [edi + 0x48]
push eax
add ecx, 0x30
call fcn.00407db0
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40921d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409213
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a50
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409269
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40925f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a55
push edx
push ecx
call fcn.004f14e5
add esp, 8
mov eax, dword [edi + 0x48]
lea ecx, [ebp - 0x16c]
push 0x53c6a8
push str.base
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [eax + 0xd0], 1
call fcn.0044e0d0
test eax, eax
je 0x40968a
push 0x53c6a8
push str.base
lea ecx, [ebp - 0x16c]
call fcn.0044de50
cmp byte [eax + 8], 7
jne 0x40968a
push 0x53c6a8
push str.base
lea ecx, [ebp - 0x16c]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d000
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
push 0x53c6b4
push str.nickname
call fcn.0044e0d0
test eax, eax
je 0x409413
push 0x53c6b4
push str.nickname
lea ecx, [ebp - 0x28]
call fcn.0044de50
cmp byte [eax + 8], 4
jne 0x409413
push 0x53c6b4
push str.nickname
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d400
mov byte [ebp - 4], 0x13
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0041b130
mov byte [ebp - 4], 0x14
mov ecx, dword [edi + 0x48]
push eax
add ecx, 0x48
call fcn.00407db0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4093a6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40939c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a5a
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x4093f2
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4093e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a5f
push edx
push ecx
call fcn.004f14e5
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
push 0x53c6be
push str.avatar
lea ecx, [ebp - 0x28]
call fcn.0044e0d0
test eax, eax
je 0x409609
push 0x53c6be
push str.avatar
lea ecx, [ebp - 0x28]
call fcn.0044de50
cmp byte [eax + 8], 4
jne 0x409609
push 0x53c6be
push str.avatar
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d400
mov byte [ebp - 4], 0x16
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0041b130
mov byte [ebp - 4], 0x17
mov ecx, dword [edi + 0x48]
push eax
add ecx, 0x64
call fcn.00407db0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4094d6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4094cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a64
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409522
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409518
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a69
push edx
push ecx
call fcn.004f14e5
add esp, 8
mov ecx, dword [edi + 0x48]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp byte [ecx + 0x1c4], 0
jne 0x4095fa
add ecx, 0xec
call fcn.00425110
mov eax, dword [edi + 0x48]
mov dword [ebp - method.RCJson::Writer.virtual_4], vtable.RC::ISimpleDownloadEvent.0
lea esi, [eax + 0xec]
add eax, 0x64
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x118]
push eax
mov dword [ebp - fcn.004087f0], vtable.RC::RCDownloadUserAvatar.0
call fcn.00402290
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x100]
push esi
call fcn.00402290
mov byte [ebp - 4], 0x1a
push 8
call fcn.004f111d
mov esi, eax
mov dword [ebp - 0x13c], esi
mov byte [ebp - 4], 0x1b
mov dword [esi], 0
mov byte [ebp - 4], 0x1c
push 0x18
call fcn.004f111d
add esp, 8
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0xe8], esi
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x11c]
call fcn.00408390
test al, al
je 0x4095eb
mov eax, dword [edi + 0x48]
mov byte [eax + 0x1c4], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x11c]
call fcn.00408240
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
push 0x53c6c6
push str.gender
lea ecx, [ebp - 0x28]
call fcn.0044e0d0
test eax, eax
je 0x40967e
push 0x53c6c6
push str.gender
lea ecx, [ebp - 0x28]
call fcn.0044de50
mov ecx, eax
call fcn.0044e4f0
test al, al
je 0x40967e
push 0x53c6c6
push str.gender
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x138]
call fcn.0044d5b0
mov ecx, dword [edi + 0x48]
mov dword [ecx + 0x7c], eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0044d1a0
push 0x53c6cd
push str.honor
lea ecx, [ebp - 0x16c]
call fcn.0044e0d0
test eax, eax
je 0x409991
push 0x53c6cd
push str.honor
lea ecx, [ebp - 0x16c]
call fcn.0044de50
cmp byte [eax + 8], 7
jne 0x409991
push 0x53c6cd
push str.honor
lea ecx, [ebp - 0x16c]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x28]
call fcn.0044d000
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x28]
push 0x53c6d3
push 0x53c6d0
call fcn.0044e0d0
test eax, eax
je 0x409765
push 0x53c6d3
push 0x53c6d0
lea ecx, [ebp - 0x28]
call fcn.0044de50
mov ecx, eax
call fcn.0044e4f0
test al, al
je 0x409765
push 0x53c6d3
push 0x53c6d0
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x138]
call fcn.0044d5b0
test eax, eax
mov eax, dword [edi + 0x48]
setne cl
mov byte [eax + 0x1cd], cl
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
push 0x53c6dd
push str.vipExpire
lea ecx, [ebp - 0x28]
call fcn.0044e0d0
test eax, eax
je 0x409895
push 0x53c6dd
push str.vipExpire
lea ecx, [ebp - 0x28]
call fcn.0044de50
cmp byte [eax + 8], 4
jne 0x409895
push 0x53c6dd
push str.vipExpire
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d400
mov byte [ebp - 4], 0x24
mov edx, eax
lea ecx, [ebp - 0x58]
call fcn.0041b130
mov byte [ebp - 4], 0x25
mov ecx, dword [edi + 0x48]
push eax
sub ecx, 0xffffff80
call fcn.00407db0
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x409828
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40981e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a6e
push edx
push ecx
call fcn.004f14e5
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x409874
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40986a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409a73
push edx
push ecx
call fcn.004f14e5
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
push 0x53c6e5
push str.renew
lea ecx, [ebp - 0x28]
call fcn.0044e0d0
test eax, eax
je 0x40990d
push 0x53c6e5
push str.renew
lea ecx, [ebp - 0x28]
call fcn.0044de50
mov ecx, eax
call fcn.0044e4f0
test al, al
je 0x40990d
push 0x53c6e5
push str.renew
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x138]
call fcn.0044d5b0
mov ecx, dword [edi + 0x48]
mov dword [ecx + 0x98], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
push 0x53c6ef
push str.isSuper
lea ecx, [ebp - 0x28]
call fcn.0044e0d0
test eax, eax
je 0x409985
push 0x53c6ef
push str.isSuper
lea ecx, [ebp - 0x28]
call fcn.0044de50
mov ecx, eax
call fcn.0044e4f0
test al, al
je 0x409985
push 0x53c6ef
push str.isSuper
lea ecx, [ebp - 0x28]
call fcn.0044de50
push eax
lea ecx, [ebp - 0x138]
call fcn.0044d000
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x138]
call fcn.0044d5b0
mov ecx, dword [edi + 0x48]
mov dword [ecx + 0x9c], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x138]
call fcn.0044d1a0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
call fcn.0044d1a0
mov ecx, dword [edi + 0x48]
call fcn.004066a0
push 0x17ec
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 0x11d], 1
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x188]
call fcn.0044d1a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x16c]
call fcn.0044d1a0
jmp 0x409a07
mov byte [ebp - 0x11d], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x16c]
call fcn.0044d1a0
jmp 0x409a07
mov ecx, dword [edi + 0x48]
call fcn.00407240
push 0x17ed
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 0x11d], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x154]
call fcn.0044d1a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.00409a80
mov al, byte [ebp - 0x11d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 4
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
call fcn.004f74d9
int3