Function at 0x40d3d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515891
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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]
mov dword [ebp - 0x2c], 0
cmp esi, 0x466
ja 0x40d550
je 0x40d4cb
cmp esi, 0x10
je 0x40d4aa
cmp esi, 0xa3
je 0x40d7a4
cmp esi, 0x2e0
jne case.0x40d571.1128
mov edx, dword [edi]
movzx eax, bx
push eax
call dword [edx + 0x90]
push eax
lea ecx, [edi + 0x30]
mov dword [ebp - 0x30], eax
call fcn.0046ab90
mov eax, dword [edi + 0x7e4]
test eax, eax
je case.0x40d571.1128
movd xmm0, dword [ebp - 0x30]
cvtdq2pd xmm0, xmm0
push ecx
divsd xmm0, qword [0x543d70]
cvtpd2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
call dword [0x55def8]
add esp, 8
push dword [ebp + 0x10]
mov ecx, edi
push ebx
push esi
call fcn.00474c50
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
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x40d4be
push eax
call dword [0x55df2c]
add esp, 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x40d48c
mov ecx, dword [edi + 0x82c]
test ecx, ecx
je 0x40d4df
mov eax, dword [ecx]
push 1
call dword [eax + 0x208]
mov ecx, dword [edi + 0x838]
test ecx, ecx
je 0x40d4f3
mov eax, dword [ecx]
push 0
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x834]
test ecx, ecx
je 0x40d507
mov eax, dword [ecx]
push 1
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x830]
test ecx, ecx
je 0x40d51b
push 0x53d09c
call fcn.004702c0
mov ecx, dword [edi + 0x820]
test ecx, ecx
je 0x40d52c
push 0x69
call fcn.0046e1f0
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x40d7a4
push str.document.body.style.overflowhidden
push eax
call dword [0x55dfb8]
add esp, 8
xor eax, eax
jmp 0x40d48c
cmp esi, 0x7e8
ja case.0x40d571.1128
je 0x40d773
lea eax, [esi - 0x467]
cmp eax, 5
ja case.0x40d571.1128
jmp dword [eax*4 + 0x40d7b8]
mov ecx, dword [edi + 0x820]
test ecx, ecx
je 0x40d599
push 0x69
call fcn.0046e1f0
mov ecx, dword [edi + 0x820]
push 0
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x824]
test ecx, ecx
je 0x40d7a4
mov eax, dword [ecx]
push 1
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x824]
push 0x53d060
mov eax, dword [ecx]
call dword [eax + 0x2c]
xor eax, eax
jmp 0x40d48c
push 0x53c29c
lea ecx, [ebp - 0x28]
call fcn.00402d10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x83c]
push eax
call fcn.00406590
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d631
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d627
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7ab
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
test bl, bl
jne 0x40d7a4
push 0x17ec
push 0x407c90
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [edi + 0x7e4]
test eax, eax
je 0x40d671
push eax
call dword [0x55df2c]
add esp, 4
push 1
mov ecx, edi
call fcn.00472e40
xor eax, eax
jmp 0x40d48c
mov ecx, dword [edi + 0x820]
test ecx, ecx
je 0x40d6a2
push 0x69
call fcn.0046e1f0
mov ecx, dword [edi + 0x820]
push 0
mov eax, dword [ecx]
call dword [eax + 0xfc]
mov ecx, dword [edi + 0x82c]
test ecx, ecx
je 0x40d6b6
mov eax, dword [ecx]
push 0
call dword [eax + 0x208]
mov ecx, dword [edi + 0x824]
test ecx, ecx
je 0x40d7a4
mov eax, dword [ecx]
push 1
call dword [eax + 0xfc]
mov dword [ebp - 4], 1
lea eax, [edi + 0x804]
push eax
lea ecx, [ebp - 0x28]
call fcn.00402290
mov edx, eax
mov dword [ebp - 0x2c], 1
cmp dword [edx + 0x14], 8
jb 0x40d6f5
mov edx, dword [edx]
mov ecx, dword [edi + 0x824]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, 1
mov dword [ebp - 0x2c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40d74c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40d742
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d7b0
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
jmp 0x40d48c
push 1
call fcn.0040d970
xor eax, eax
jmp 0x40d48c
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
add byte [edx], ch
push 0
push 0xfffffffffffffffe
push dword [edi + 4]
call esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x40d48c
call fcn.004f74d9
call fcn.004f74d9
nop dword [eax]
js 0x40d78f
inc eax
add byte [eax - 0x37ffbf2c], al
aad 0x40
add byte [ecx - 0x7fffbf2a], al
aam 0x40
add byte [ebp - 0x29], ah
inc eax
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51580b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
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 [ebp + 8]
mov edx, dword [edi + 0x820]
cmp edx, dword [eax + 0x108]
jne 0x40d8a1
push 0xffffffffffffffff
push str._u7b_N
lea ecx, [ebp - 0x94]
call fcn.00471110
mov dword [ebp - 4], 0
mov esi, 1
cmp dword [edi + 0x828], esi
jl 0x40d859
nop word [eax + eax]
push 0x53d098
lea ecx, [ebp - 0x94]
call fcn.004716d0
inc esi
cmp esi, dword [edi + 0x828]
jle 0x40d840
mov eax, dword [edi + 0x820]
lea ecx, [ebp - 0x94]
mov esi, dword [eax]
call fcn.00471590
mov ecx, dword [edi + 0x820]
push eax
call dword [esi + 0x2c]
mov eax, dword [edi + 0x828]
inc eax
and eax, 0x80000003
jns 0x40d889
dec eax
or eax, 0xfffffffc
inc eax
mov dword [edi + 0x828], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00471320
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