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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d8413
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor esi, esi
or eax, 0xffffffff
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xd8], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xdc], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call dword [sym.imp.user32.dll_SetRectEmpty]
cmp dword [edi + 0x104], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
jle 0x423827
nop
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0041dd60
add ebx, 0xbc
test eax, eax
je 0x423458
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call fcn.0041f320
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x80], ecx
test edi, edi
je 0x423343
cmp edi, eax
je 0x423348
call fcn.004a067d
cmp esi, dword [esp + 0x80]
je 0x4237dc
test edi, edi
jne 0x423414
call fcn.004a067d
cmp esi, dword [edi + 0x18]
jne 0x42336c
call fcn.004a067d
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x10]
cmp edi, 0xffffffff
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
jl 0x4233ea
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x12c]
sub ecx, dword [eax + 0x128]
sar ecx, 2
cmp edi, ecx
jb 0x4233d0
call fcn.004a067d
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x128]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x24c], 0xffffffff
je 0x4233ea
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
call fcn.00419da0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x28], ecx
jne 0x423424
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0xc]
jge 0x42341b
mov dword [esp + 0x28], eax
mov eax, dword [eax]
jmp 0x42341e
mov edi, dword [edi]
jmp 0x423362
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x423407
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0xbc]
add ebx, 0xbc
test edi, edi
je 0x423440
cmp edi, eax
je 0x423445
call fcn.004a067d
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x28]
jne 0x423355
jmp 0x4237dc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xc8]
push edx
mov ecx, ebx
call fcn.0041f320
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x18]
mov ebx, dword [ebx]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x88], eax
test edi, edi
je 0x42348d
cmp edi, ebx
je 0x423492
call fcn.004a067d
cmp esi, dword [esp + 0x88]
je 0x4237dc
nop
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0xd4]
add eax, 0xbc
mov eax, dword [eax]
test edi, edi
je 0x4234b9
cmp edi, eax
je 0x4234be
call fcn.004a067d
cmp esi, ebx
je 0x4237dc
test edi, edi
jne 0x4235cc
call fcn.004a067d
cmp esi, dword [edi + 0x18]
jne 0x4234dd
call fcn.004a067d
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x30]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
cmp edi, 0xffffffff
je 0x423781
cmp edi, 0xfffffb2e
je 0x423781
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x12c]
sub edx, dword [eax + 0x128]
sar edx, 2
cmp edi, edx
jb 0x423551
call fcn.004a067d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x128]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x24c]
cmp eax, 0xffffffff
je 0x423781
mov ecx, dword [ebp + 0x10]
add dword [esi + 0x25c], ecx
mov ecx, dword [esi + 0x25c]
cmp ecx, dword [esi + 0x254]
mov dword [esp + 0x24], 1
jl 0x423781
sub eax, 1
mov dword [esi + 0x25c], 0
je 0x4236d4
sub eax, 1
je 0x4236a9
sub eax, 1
jne 0x423721
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4235d3
lea ecx, [esp + 0x18]
call fcn.0041e7e0
add eax, 0x10
jmp 0x4236ea
mov edi, dword [edi]
jmp 0x4234d3
cmp eax, 1
jne 0x423610
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov ecx, dword [esi + 0x250]
add dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov edx, dword [esi + 0x250]
add eax, 0x10
sub dword [eax], edx
mov dword [esi + 0x258], 2
jmp 0x423721
cmp eax, 2
jne 0x42364d
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov ecx, dword [esi + 0x250]
sub dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov edx, dword [esi + 0x250]
add eax, 0x10
sub dword [eax], edx
mov dword [esi + 0x258], 3
jmp 0x423721
cmp eax, 3
jne 0x42368a
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov ecx, dword [esi + 0x250]
sub dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov edx, dword [esi + 0x250]
add eax, 0x10
add dword [eax], edx
mov dword [esi + 0x258], 4
jmp 0x423721
cmp eax, 4
jne 0x423721
lea ecx, [esp + 0x18]
call fcn.0041e7e0
mov ecx, dword [esi + 0x250]
add eax, 0xc
add dword [eax], ecx
jmp 0x423717
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4236c1
lea ecx, [esp + 0x18]
call fcn.0041e7e0
add eax, 0x10
jmp 0x4236ea
cmp eax, 1
jne 0x423721
lea ecx, [esp + 0x18]
call fcn.0041e7e0
add eax, 0x10
jmp 0x42370f
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4236fe
lea ecx, [esp + 0x18]
call fcn.0041e7e0
add eax, 0xc
mov edx, dword [esi + 0x250]
add dword [eax], edx
mov dword [esi + 0x258], 1
jmp 0x423721
cmp eax, 1
jne 0x423721
lea ecx, [esp + 0x18]
call fcn.0041e7e0
add eax, 0xc
mov ecx, dword [esi + 0x250]
sub dword [eax], ecx
mov dword [esi + 0x258], 0
mov ecx, dword [esp + 0x14]
push ebx
call fcn.0041f550
mov ecx, dword [ebp + 0xc]
lea esi, [ebx + 0x4c]
push esi
call fcn.00406600
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jle 0x42374b
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x42375f
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], eax
mov edx, dword [ebp + 0x14]
push esi
add edx, 0xd8
push edx
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.user32.dll_IntersectRect]
test eax, eax
je 0x423781
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x18]
call fcn.00419da0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov ebx, ecx
jne 0x4237b7
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0xc]
jge 0x4237ae
mov ebx, eax
mov eax, dword [eax]
jmp 0x4237b1
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x4237a3
mov edi, dword [esp + 0x18]
lea eax, [edx + 0xbc]
mov eax, dword [eax]
test edi, edi
je 0x4237cb
cmp edi, eax
je 0x4237d0
call fcn.004a067d
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x4234a0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, dword [ecx + 0x104]
mov dword [esp + 0x20], eax
jl 0x4232f0
cmp dword [esp + 0x2c], 1
jne 0x42380b
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
call fcn.00471b30
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14