Function at 0x40e050
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5159e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x55a144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp esi, 0x467
ja 0x40e1e4
je 0x40e1aa
cmp esi, 0x2e0
ja 0x40e123
je 0x40e0c7
cmp esi, 0x10
je 0x40e0b9
cmp esi, 0xa3
jne 0x40e1fd
jmp 0x40e2de
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x40e2de
mov edx, dword [edi]
movzx eax, bx
push eax
call dword [edx + 0x90]
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 0x2c], eax
call fcn.0046ab90
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x40e1fd
movd xmm0, dword [ebp - 0x2c]
cvtdq2pd xmm0, xmm0
push ecx
divsd xmm0, qword [0x543d70]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
call dword [0x55def8]
add esp, 8
mov ecx, edi
push dword [ebp + 0x10]
push ebx
push esi
call fcn.00474c50
jmp 0x40e2e0
cmp esi, 0x466
jne 0x40e1fd
push 0
push 0x55be1c
push 0x55bc0c
push 0
push str.layoutPurchaseBk
lea ecx, [edi + 0x30]
call fcn.004626c0
push eax
call fcn.004f5a3d
add esp, 0x14
test eax, eax
je 0x40e163
push str.res1010_restypepng
mov ecx, eax
call fcn.004702c0
mov ecx, dword [edi + 0x820]
test ecx, ecx
je 0x40e174
push 0x67
call fcn.0046e1f0
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x40e188
mov eax, dword [ecx]
push 1
call dword [eax + 0x208]
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x40e2de
push str.document.body.style.overflowhidden
push eax
call dword [0x55dfb8]
add esp, 8
jmp 0x40e2de
mov ecx, dword [edi + 0x820]
test ecx, ecx
je 0x40e1bb
push 0x67
call fcn.0046e1f0
mov ecx, dword [edi + 0x828]
test ecx, ecx
je 0x40e1cf
mov eax, dword [ecx]
push 0
call dword [eax + 0x208]
mov ecx, dword [edi + 0x820]
push 0x53d51c
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x40e2de
mov eax, esi
sub eax, 0x473
je 0x40e244
sub eax, 1
je 0x40e2de
sub eax, 0x374
je 0x40e20e
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push esi
call fcn.00474c50
jmp 0x40e2e0
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x40e2de
cmp dword [edi + 0x82c], 0
je 0x40e2d5
push 0x53c44c
lea ecx, [ebp - 0x28]
call fcn.00402d10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x82c]
push eax
call fcn.00406590
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e2b1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e2a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e2fe
push edx
push ecx
call fcn.004f14e5
add esp, 8
push 0x1850
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x407c90
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.USER32.dll_EnumWindows]
push 8
mov ecx, edi
call fcn.00472e40
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f110c
mov esp, ebp
pop ebp
ret 0xc
call fcn.004f74d9
int3