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

Disassembly:
push 0xffffffffffffffff
push 0x4d6cbe
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51b260]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
or esi, 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc0], ebx
call fcn.00457cf0
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xc4], 1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
call dword [sym.imp.user32.dll_SetRectEmpty]
cmp dword [esp + 0xd0], esi
je 0x4300d2
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx + 0x554]
mov ebp, dword [eax + 0x30]
sub ebp, dword [eax + 0x2c]
add eax, 0x20
sar ebp, 2
cmp ebp, ebx
jle 0x42fce8
lea ebx, [ebx]
mov esi, dword [ecx + 0x554]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
add esi, 0x20
sar ecx, 2
cmp ebx, ecx
jb 0x42fbcb
call fcn.0049eacd
mov edx, dword [esi + 0xc]
mov eax, dword [edx + ebx*4]
mov esi, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x12c]
sub eax, dword [edi + 0x128]
sar eax, 2
cmp esi, eax
jb 0x42fbf0
call fcn.0049eacd
mov ecx, dword [edi + 0x128]
mov esi, dword [ecx + esi*4]
cmp dword [esi + 0xb8], 0
je 0x42fcd8
cmp dword [esi + 0xd4], 1
jne 0x42fc43
mov edx, dword [esp + 0xcc]
push 0
push 0
push esi
push edx
mov ecx, edi
call fcn.00422c20
lea ecx, [esi + 0xd8]
call fcn.0042b510
mov ecx, dword [esp + 0xcc]
lea eax, [esp + 0x64]
push eax
push esi
push ecx
mov ecx, edi
call fcn.0042b910
mov edx, dword [esi]
push edx
push 1
mov ecx, esi
call fcn.0041a430
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, edi
call fcn.004202c0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xac]
xor esi, esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x98], esi
cmp eax, esi
je 0x42fcba
push eax
call fcn.004a05a9
add esp, 4
mov ecx, dword [esp + 0xcc]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, edi
call fcn.00421540
mov eax, dword [esp + 0x14]
mov dword [eax + 0xf8], esi
mov ecx, dword [esp + 0xc8]
inc ebx
cmp ebx, ebp
jl 0x42fbb0
mov esi, dword [ecx + 0x554]
add esi, 0x20
mov ebx, 2
mov dword [ecx + 0x14c], ebx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
cmp dword [esp + 0xd0], ecx
jb 0x42fd13
call fcn.0049eacd
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0xd0]
mov eax, dword [edx + eax*4]
mov dword [eax + 0xe0], ebx
mov dword [eax + 0xf8], 1
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov ebx, eax
cmp ecx, eax
jbe 0x42fd4f
call fcn.0049eacd
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov ebp, ecx
cmp ecx, eax
jbe 0x42fd5e
call fcn.0049eacd
mov ecx, dword [esp + 0x1c]
push ebx
push esi
push ebp
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x30]
call fcn.00436e00
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.00422b20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 2
call fcn.0040e5b0
mov eax, dword [esp + 0x94]
xor esi, esi
mov byte [esp + 0xc0], 1
cmp eax, esi
je 0x42fdb7
push eax
call fcn.0048dd02
add esp, 4
mov ecx, dword [esp + 0x88]
push ecx
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
call fcn.0048dd02
mov edx, dword [edi + 0x12c]
mov ebp, dword [esp + 0x30]
sub edx, dword [edi + 0x128]
sub ebp, dword [esp + 0x2c]
mov esi, dword [ebx + 4]
sar edx, 2
add esp, 4
sar ebp, 2
cmp esi, edx
jb 0x42fe02
call fcn.0049eacd
mov eax, dword [edi + 0x128]
mov esi, dword [eax + esi*4]
cmp dword [esi + 0xb8], 0
je 0x4300ca
test ebp, ebp
jle 0x4300ca
mov dword [esp + 0x64], 0
mov dword [esp + 0x18], ebp
cmp dword [esi + 0xd4], 0
mov ebp, dword [esi + 0x9c]
jne 0x42fe64
cmp ebp, 0xffffffff
jne 0x42fe47
or ebp, ebp
jmp 0x42ff0b
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
sar ecx, 2
cmp ebp, ecx
jb 0x42fe59
call fcn.0049eacd
mov edx, dword [esi + 0x10]
mov ebp, dword [edx + ebp*4]
jmp 0x42ff0b
mov eax, dword [esi + 0x244]
sub eax, dword [esi + 0x240]
sar eax, 2
cmp ebp, eax
jb 0x42fe7c
call fcn.0049eacd
mov ecx, dword [esi + 0x240]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 8]
cmp eax, 0xffffffff
jne 0x42ff09
mov eax, dword [esi + 0x244]
mov ebp, dword [esi + 0x9c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x42fea7
call fcn.0049eacd
mov ecx, dword [esi + 0x240]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 0x28]
cmp eax, 0xffffffff
jne 0x42ff09
mov eax, dword [esi + 0x244]
mov ebp, dword [esi + 0x9c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x42fed2
call fcn.0049eacd
mov ecx, dword [esi + 0x240]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 0x24]
cmp eax, 0xffffffff
jne 0x42ff09
mov eax, dword [esi + 0x244]
mov ebp, dword [esi + 0x9c]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x42fefd
call fcn.0049eacd
mov ecx, dword [esi + 0x240]
mov edx, dword [ecx + ebp*4]
mov eax, dword [edx + 0x28]
mov ebp, eax
mov eax, dword [esi + 0xa4]
lea ebx, [esi + 0xa4]
test eax, eax
je 0x42ff32
cmp eax, 0xffffffff
je 0x42ff32
mov dword [esi + 0xb4], 1
mov dword [esi + 0xa8], eax
jmp 0x42ff46
mov dword [esi + 0xb4], 0
mov dword [esi + 0xa8], 0xffffffff
lea eax, [esp + 0x64]
push eax
lea ecx, [esi + 0x3c]
mov dword [ebx], 0
call fcn.004227d0
cmp dword [ebx], 0xffffffff
je 0x42ff67
push ebx
lea ecx, [esi + 0x5c]
call fcn.0040ffe0
mov ebx, dword [esp + 0xcc]
push 0
push ebp
mov ecx, ebx
call fcn.0040fe70
mov ecx, dword [eax + 0x5c]
add eax, 0x4c
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x70], edx
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x78], eax
xor eax, eax
cmp dword [esi + 0xb8], eax
je 0x43007f
cmp dword [esi + 0xd4], 1
jne 0x42ffea
push eax
push eax
push esi
push ebx
mov ecx, edi
call fcn.00422c20
lea ecx, [esi + 0xd8]
call fcn.0042b510
mov dword [esi + 0x1e4], 0
xor eax, eax
mov ecx, dword [esi]
push ecx
push ebp
lea edx, [esp + 0x90]
push edx
mov ecx, edi
mov dword [esi + 0xd4], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0x1e8], eax
mov dword [esi + 0xb0], eax
call fcn.004202c0
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x98], 0
test eax, eax
je 0x430072
push eax
call fcn.004a05a9
add esp, 4
push ebx
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.00421540
mov ebp, dword [esp + 0xc8]
mov eax, dword [ebp + 0x554]
mov edx, dword [edi + 0xa0]
push edx
lea ecx, [eax + 0x8c]
mov eax, dword [edi + 0x9c]
push eax
lea edx, [esp + 0x74]
push edx
push ecx
call fcn.00414900
mov ecx, dword [ebp + 0x554]
mov eax, 1
sub dword [esp + 0x18], eax
mov dword [ecx + 0xf8], eax
jne 0x42fe2c
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0xd8]
xor ebx, ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4300e3
push eax
call fcn.0048dd02
add esp, 4
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0048dd02
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 0xc