Function at 0x42f690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558cde
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3940]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, ebx
jmp 0x42f6d0
cmp dword [eax + 0x104], esi
jne 0x42f6fc
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x184]
call eax
cmp eax, esi
jne 0x42f6d0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebp, dword [eax + 0x104]
mov dword [esp + 0x1c], ebp
cmp ebp, esi
je 0x42fa93
mov eax, dword [ebx + 0xfc]
mov ecx, dword [eax + 0x2c]
cmp ecx, esi
mov dword [esp + 0x24], esi
jle 0x42f91d
test esi, esi
jl 0x42f737
cmp esi, dword [eax + 0x2c]
jge 0x42f737
mov ecx, dword [eax + 0x28]
mov edi, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
jmp 0x42f739
xor edi, edi
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
push 0
mov ecx, edi
call eax
test eax, eax
je 0x42f773
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call edx
or dword [esp + 0x18], 1
mov ecx, eax
call fcn.00401320
test al, al
jne 0x42f773
test byte [edi + 0xd4], 2
jne 0x42f773
xor bl, bl
jmp 0x42f775
mov bl, 1
test byte [esp + 0x18], 1
je 0x42f78a
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x28]
call fcn.00407f90
test bl, bl
jne 0x42f901
cmp dword [edi + 0xfc], 0xa
je 0x42f901
mov edx, dword [edi + 0xc8]
mov ecx, dword [edi + 0xc4]
mov eax, dword [edi + 0xc0]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0xc4]
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 0xc0]
mov dword [esp + 0x60], edx
mov edx, dword [edi + 0xc8]
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x64], edx
mov edx, eax
add eax, 0xfffffff5
add ecx, 0xc
push eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], edx
call fcn.0040fcd0
push 0x80
call fcn.00403b50
mov ebp, eax
mov dword [esp + 0x38], ebp
xor ebx, ebx
mov dword [esp + 0x78], ebx
cmp ebp, ebx
je 0x42f86d
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
mov byte [esp + 0x78], 1
mov edx, dword [edi + 0x9c]
or dword [esp + 0x18], 2
cmp edx, 0xffffffff
jne 0x42f84c
mov esi, dword [edi + 0x15c]
test esi, esi
je 0x42f84c
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx + 0x34]
cmp dword [edx + 0x5c], ebx
lea edx, [ebx + 1]
jne 0x42f84c
mov edx, dword [esi + 0x34]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
mov ecx, eax
call fcn.00405840
mov edx, dword [esp + 0x28]
push eax
push edi
push edx
push ebp
call fcn.0042f480
mov ebx, eax
or esi, 0xffffffff
mov dword [esp + 0x78], esi
test byte [esp + 0x18], 2
je 0x42f889
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x2c]
call fcn.00407f90
lea eax, [esp + 0x30]
push eax
call fcn.00432920
mov ecx, eax
call fcn.00401320
test al, al
lea ecx, [esp + 0x30]
sete byte [esp + 0x17]
call fcn.00407f90
cmp byte [esp + 0x17], 0
je 0x42f8d9
lea ecx, [esp + 0x34]
push ecx
call fcn.00432920
push eax
lea ecx, [ebx + 0x54]
mov dword [esp + 0x7c], 3
call fcn.00401960
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], esi
call fcn.00407f90
mov esi, dword [esp + 0x1c]
mov ebp, dword [esi + 0x34]
add esi, 0x2c
test ebp, ebp
jl 0x42f96b
lea edi, [ebp + 1]
call fcn.00465d20
mov edx, dword [esi + 4]
mov esi, dword [esp + 0x24]
mov dword [edx + ebp*4], ebx
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xfc]
inc esi
cmp esi, dword [eax + 0x2c]
mov dword [esp + 0x24], esi
jl 0x42f723
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
mov eax, dword [edx + 0x184]
mov ecx, ebx
call eax
test eax, eax
jne 0x42fa93
xor esi, esi
mov ecx, ebp
mov dword [esp + 0x24], esi
call fcn.0040ffe0
test eax, eax
jle 0x42fa93
test esi, esi
jl 0x42f970
mov ecx, ebp
call fcn.0040ffe0
cmp esi, eax
jge 0x42f970
cmp esi, dword [ebp + 0x84]
jge 0x42f96b
mov ecx, dword [ebp + 0x80]
mov edi, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
jmp 0x42f972
call fcn.004dcd9a
xor edi, edi
cmp edi, ebx
je 0x42fa7f
test edi, edi
je 0x42fa7f
mov eax, edi
call fcn.00443be0
test eax, eax
je 0x42fa7f
lea ecx, [esp + 0x4c]
call fcn.004139f0
mov ecx, edi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f9c1
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call fcn.00410aa0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x42f9cc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0040fcd0
push 0x80
call fcn.00403b50
mov ebp, eax
mov dword [esp + 0x34], ebp
mov ebx, 4
mov dword [esp + 0x78], ebx
test ebp, ebp
je 0x42fa34
lea esi, [esp + 0x38]
mov eax, edi
call fcn.004328e0
mov byte [esp + 0x78], 5
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
or dword [esp + 0x18], ebx
push 1
push ecx
push edx
mov ecx, eax
call fcn.00405840
push eax
mov eax, dword [esp + 0x2c]
push edi
push eax
push ebp
call fcn.0042f480
mov ebx, eax
jmp 0x42fa36
xor ebx, ebx
mov dword [esp + 0x78], 0xffffffff
test byte [esp + 0x18], 4
je 0x42fa53
and dword [esp + 0x18], 0xfffffffb
lea ecx, [esp + 0x38]
call fcn.00407f90
mov esi, dword [esp + 0x1c]
mov ebp, dword [esi + 0x34]
add esi, 0x2c
test ebp, ebp
jl 0x42f96b
lea edi, [ebp + 1]
call fcn.00465d20
mov ecx, dword [esi + 4]
mov esi, dword [esp + 0x24]
mov dword [ecx + ebp*4], ebx
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
inc esi
mov ecx, ebp
mov dword [esp + 0x24], esi
call fcn.0040ffe0
cmp esi, eax
jl 0x42f946
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret