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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d6823
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x51b260]
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 0x4239d7
nop
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0041e250
add ebx, 0xbc
test eax, eax
je 0x423608
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xc0]
push eax
mov ecx, ebx
call fcn.0041f760
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 0x4234f3
cmp edi, eax
je 0x4234f8
call fcn.0049eacd
cmp esi, dword [esp + 0x80]
je 0x42398c
test edi, edi
jne 0x4235c4
call fcn.0049eacd
cmp esi, dword [edi + 0x18]
jne 0x42351c
call fcn.0049eacd
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 0x42359a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x12c]
sub ecx, dword [eax + 0x128]
sar ecx, 2
cmp edi, ecx
jb 0x423580
call fcn.0049eacd
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x128]
mov eax, dword [edx + edi*4]
cmp dword [eax + 0x24c], 0xffffffff
je 0x42359a
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x18]
call fcn.0041a2f0
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov dword [esp + 0x28], ecx
jne 0x4235d4
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0xc]
jge 0x4235cb
mov dword [esp + 0x28], eax
mov eax, dword [eax]
jmp 0x4235ce
mov edi, dword [edi]
jmp 0x423512
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x4235b7
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0xbc]
add ebx, 0xbc
test edi, edi
je 0x4235f0
cmp edi, eax
je 0x4235f5
call fcn.0049eacd
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x28]
jne 0x423505
jmp 0x42398c
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xc8]
push edx
mov ecx, ebx
call fcn.0041f760
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 0x42363d
cmp edi, ebx
je 0x423642
call fcn.0049eacd
cmp esi, dword [esp + 0x88]
je 0x42398c
nop
mov eax, dword [esp + 0x14]
mov ebx, dword [eax + 0xd4]
add eax, 0xbc
mov eax, dword [eax]
test edi, edi
je 0x423669
cmp edi, eax
je 0x42366e
call fcn.0049eacd
cmp esi, ebx
je 0x42398c
test edi, edi
jne 0x42377c
call fcn.0049eacd
cmp esi, dword [edi + 0x18]
jne 0x42368d
call fcn.0049eacd
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 0x423931
cmp edi, 0xfffffb2e
je 0x423931
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x12c]
sub edx, dword [eax + 0x128]
sar edx, 2
cmp edi, edx
jb 0x423701
call fcn.0049eacd
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 0x423931
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 0x423931
sub eax, 1
mov dword [esi + 0x25c], 0
je 0x423884
sub eax, 1
je 0x423859
sub eax, 1
jne 0x4238d1
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x423783
lea ecx, [esp + 0x18]
call fcn.0041eb50
add eax, 0x10
jmp 0x42389a
mov edi, dword [edi]
jmp 0x423683
cmp eax, 1
jne 0x4237c0
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov ecx, dword [esi + 0x250]
add dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov edx, dword [esi + 0x250]
add eax, 0x10
sub dword [eax], edx
mov dword [esi + 0x258], 2
jmp 0x4238d1
cmp eax, 2
jne 0x4237fd
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov ecx, dword [esi + 0x250]
sub dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov edx, dword [esi + 0x250]
add eax, 0x10
sub dword [eax], edx
mov dword [esi + 0x258], 3
jmp 0x4238d1
cmp eax, 3
jne 0x42383a
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov ecx, dword [esi + 0x250]
sub dword [eax + 0xc], ecx
add eax, 0xc
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov edx, dword [esi + 0x250]
add eax, 0x10
add dword [eax], edx
mov dword [esi + 0x258], 4
jmp 0x4238d1
cmp eax, 4
jne 0x4238d1
lea ecx, [esp + 0x18]
call fcn.0041eb50
mov ecx, dword [esi + 0x250]
add eax, 0xc
add dword [eax], ecx
jmp 0x4238c7
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x423871
lea ecx, [esp + 0x18]
call fcn.0041eb50
add eax, 0x10
jmp 0x42389a
cmp eax, 1
jne 0x4238d1
lea ecx, [esp + 0x18]
call fcn.0041eb50
add eax, 0x10
jmp 0x4238bf
mov eax, dword [esi + 0x258]
test eax, eax
jne 0x4238ae
lea ecx, [esp + 0x18]
call fcn.0041eb50
add eax, 0xc
mov edx, dword [esi + 0x250]
add dword [eax], edx
mov dword [esi + 0x258], 1
jmp 0x4238d1
cmp eax, 1
jne 0x4238d1
lea ecx, [esp + 0x18]
call fcn.0041eb50
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.0041f990
mov ecx, dword [ebp + 0xc]
lea esi, [ebx + 0x4c]
push esi
call fcn.00406970
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jle 0x4238fb
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jle 0x42390f
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 0x423931
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x18]
call fcn.0041a2f0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xd4]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x41], 0
mov ebx, ecx
jne 0x423967
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0xc]
jge 0x42395e
mov ebx, eax
mov eax, dword [eax]
jmp 0x423961
mov eax, dword [eax + 8]
cmp byte [eax + 0x41], 0
je 0x423953
mov edi, dword [esp + 0x18]
lea eax, [edx + 0xbc]
mov eax, dword [eax]
test edi, edi
je 0x42397b
cmp edi, eax
je 0x423980
call fcn.0049eacd
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x423650
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, dword [ecx + 0x104]
mov dword [esp + 0x20], eax
jl 0x4234a0
cmp dword [esp + 0x2c], 1
jne 0x4239bb
mov edx, dword [ebp + 0x18]
mov eax, ecx
mov ecx, dword [ebp + 0x14]
push edx
push eax
call fcn.00470870
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