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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, edi
mov edx, 0xe8
call fcn.00658544
dec dword [edi + 0xd8]
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
mov eax, ebx
call fcn.005bf8e0
mov eax, dword [ebx + 0x318]
cmp dword [eax + 0x18], 1
jne 0x437e88
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x320]
jne 0x437e88
cmp byte [ebx + 0x14d], 0
jne 0x437e88
mov eax, dword [ebx + 0x320]
call fcn.0055ae6c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [eax + 8]
test esi, esi
jns 0x437ceb
add esi, 7
sar esi, 3
sub esi, 2
cmp esi, 0
jl 0x437e80
mov eax, dword [0x6695cc]
lea eax, [eax + esi*8]
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0xd8], 0
jge 0x437de8
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov edx, esi
shl edx, 3
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [0x66990c]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [0x66990c]
mov eax, dword [eax]
shr eax, 1
sub edx, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [0x66990c]
mov ecx, dword [ecx]
shr ecx, 1
sub eax, ecx
mov ecx, dword [0x66990c]
mov ecx, dword [ecx]
call fcn.0064d694
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x437de8
mov dword [edi + 0xd8], esi
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x24]
call fcn.0055a14c
test al, al
je 0x437dd1
mov eax, dword [ebx + 0x320]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
mov edx, esi
shl edx, 3
add eax, edx
mov edx, dword [eax]
mov dword [edi + 0xe0], edx
mov edx, dword [eax + 4]
mov dword [edi + 0xe4], edx
jmp 0x437de8
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov dword [edi + 0xe0], edx
mov edx, dword [eax + 4]
mov dword [edi + 0xe4], edx
cmp dword [edi + 0xdc], 0
jne 0x437e6f
mov eax, 3
call fcn.0064be40
push eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
lea eax, [ebp - 0x200]
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 4]
lea ecx, [esi + 1]
shl ecx, 3
add edx, ecx
push edx
mov edx, dword [ebp - 0x48]
mov edx, dword [edx + 4]
mov ecx, esi
shl ecx, 3
add edx, ecx
pop ecx
call fcn.00618914
test al, al
je 0x437e6f
lea eax, [esi + 1]
mov dword [edi + 0xdc], eax
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00437154
mov eax, dword [ebp - 0x200]
mov dword [edi + 0xe0], eax
mov eax, dword [ebp - 0x1fc]
mov dword [edi + 0xe4], eax
dec esi
sub dword [ebp - 0xc4], 8
cmp esi, 0xffffffff
jne 0x437d08
mov eax, dword [ebp - 0x48]
call fcn.004028c0
mov dword [edi + 8], 0x80000000
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x437eb7
push edi
add edi, 8
lea esi, [ebx + 0x258]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
jmp 0x43807c
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0044bcdc
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov dword [edi + 0x10], 0xffffffff
mov eax, ebx
call fcn.005b845c
inc eax
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x18]
dec edx
call fcn.00652c54
mov dword [ebp - 0x24], eax
mov eax, ebx
call fcn.005b83d8
dec eax
call fcn.00652c64
mov esi, eax
mov eax, dword [ebp - 0x24]
sub eax, esi
jl 0x438038
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
push esi
push edi
lea esi, [eax + 0x48]
lea edi, [ebp - 0x134]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebx + 0x14e], 0
jne 0x437fd7
cmp byte [ebx + 0x14d], 0
jne 0x437fd7
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0x130]
inc eax
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [0x6698c8]
test byte [eax], 8
jne 0x437f99
cmp dword [ebp - 0x130], 0xa
jle 0x437f9d
xor eax, eax
jmp 0x437f9f
mov al, 1
and eax, 0x7f
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x130]
sub edx, 5
sub edx, eax
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x134]
call fcn.0064d678
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x437fd7
mov byte [edi + 0x75], 1
jmp 0x438038
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
setb al
and eax, 0x7f
imul dword [ebp - 0x134]
cmp byte [ebx + 0x14e], 0
sete dl
and edx, 0x7f
imul edx, dword [ebp - 8]
add eax, edx
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x134]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43802e
mov dword [edi + 0x10], esi
jmp 0x438038
inc esi
dec dword [ebp - 0x58]
jne 0x437f24
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
jae 0x43807c
cmp dword [edi + 0x10], 0
jge 0x43807c
mov eax, dword [ebx + 0x13c]
cmp dword [eax + 0x18], 0
jle 0x43807c
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
jl 0x43806f
xor eax, eax
mov dword [edi + 0x10], eax
jmp 0x43807c
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax + 0x18]
dec eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0x10], 0
jl 0x4394da
cmp dword [ebx + 0x81c], 0
je 0x43809e
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x820]
jne 0x4382ed
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x174]
mov eax, ebx
call fcn.005c0e40
mov eax, dword [ebp - 0x5c]
call fcn.00557ff0
test al, al
je 0x4380fd
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebx + 0x114]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4380fd
mov byte [edi + 0x81], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x438210
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x174]
jl 0x438206
cmp eax, dword [ebp - 0x164]
jg 0x438206
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x1c]
call fcn.0055b47c
mov eax, dword [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x134]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_OffsetRect
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438206
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd4], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x318]
call fcn.0064e36c
test al, al
je 0x438210
mov eax, 3
call fcn.0064be40
neg eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0x40]
call fcn.006586e4
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x438210
mov byte [ebp - 0x41], 1
jmp 0x438210
dec esi
cmp esi, 0xffffffff
jne 0x438113
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x4382ed
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x318]
call fcn.0064e36c
test al, al
je 0x4382e3
lea edx, [ebp - 0x1f8]
mov eax, dword [ebp - 0x1c]
call fcn.0055b494
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0xc8], eax
mov al, byte [ebp - 0x1d]
cmp al, 0xf
ja 0x43827d
and eax, 0x7f
bt dword [ebp - 0x1f8], eax
jae 0x4382ca
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x130]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x134]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0xc8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4382ca
mov al, byte [ebp - 0x1d]
mov byte [edi + 0x82], al
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x84], eax
inc byte [ebp - 0x1d]
add dword [ebp - 0xc8], 0x10
cmp byte [ebp - 0x1d], 9
jne 0x43826c
cmp dword [edi + 0x84], 0
jne 0x4382ed
dec esi
cmp esi, 0xffffffff
jne 0x438226
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x438985
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 0x20
je 0x43832e
mov edx, dword [ebx + 0x3a8]
mov eax, ebx
call fcn.0055e038
mov edx, eax
lea eax, [ebp - 0x214]
mov cl, 1
call fcn.0040278c
mov al, byte [ebp - 0x214]
mov byte [ebp + 0xc], al
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x13c]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x60], eax
mov al, byte [0x439520]
cmp al, byte [ebp + 0xc]
je 0x43839b
push 1
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi], eax
push 0
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi + 4], eax
push ebp
call fcn.0043729c
pop ecx
jmp 0x4384c7
cmp dword [ebx + 0x81c], 0
je 0x43846a
push 1
mov al, byte [0x439520]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi], eax
cmp dword [edi], 0
je 0x4384c7
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
jne 0x4384c7
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
jmp 0x4383f1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x2c]
cmp byte [eax + 0x29], 3
je 0x4383e8
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x9c]
cmp eax, dword [ebp - 0x18]
jne 0x43841c
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x94]
cmp eax, dword [ebx + 0x81c]
je 0x438443
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x18]
jne 0x4384c7
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x98]
cmp eax, dword [ebx + 0x81c]
jne 0x4384c7
push 0
mov al, byte [0x439524]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi + 4], eax
jmp 0x4384c7
push 1
mov al, byte [0x439520]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi], eax
cmp dword [edi], 0
je 0x4384c0
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
je 0x4384c0
push 0
mov al, byte [0x439520]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x130]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x134]
mov eax, dword [ebp - 0x60]
call fcn.005532c4
mov dword [edi + 4], eax
push ebp
call fcn.0043729c
pop ecx
cmp dword [edi], 0
je 0x438985
mov eax, dword [edi]
call fcn.0055309c
mov dword [edi + 0x90], eax
mov eax, dword [edi]
call fcn.005530bc
test al, al
je 0x438562
lea ecx, [ebp - 0x68]
mov edx, dword [0x669448]
mov eax, dword [edi + 0x90]
call fcn.00552fb8
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x68]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [edi + 0x90]
mov edx, dword [eax + 0x54]
mov eax, dword [edi + 0x90]
sub edx, dword [eax + 0x4c]
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0x50]
mov ecx, dword [edi + 0x90]
sub eax, dword [ecx + 0x48]
lea ecx, [ebp - 0x210]
call fcn.0064d6b0
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438562
mov byte [edi + 0x1d], 1
cmp dword [edi + 0x90], 0
je 0x4386a6
mov eax, dword [edi + 0x90]
add eax, 0x90
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x74]
mov edx, dword [0x669448]
mov eax, dword [edi + 0x90]
call fcn.00552fb8
mov eax, dword [edi + 0x90]
add eax, 0x48
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
mov eax, ebx
call fcn.0055e0d0
test al, al
jne 0x4386a6
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x78]
sub eax, dword [edx + 4]
sub eax, 2
push eax
lea eax, [ebp - 0x210]
push eax
mov edx, dword [ebp - 0x70]
inc edx
mov eax, dword [ebp - 0x74]
add eax, 2
mov ecx, 4
call fcn.0064d694
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
neg eax
sbb eax, eax
neg eax
mov byte [edi + 0x7c], al
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 0xb8]
cmp dword [eax + 0x275c], 0
jne 0x43869d
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
call fcn.0055309c
cmp eax, dword [edi + 0x90]
jne 0x43869d
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push 4
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov eax, dword [ebp - 0x78]
sub ecx, dword [eax]
sub ecx, 2
mov edx, dword [ebp - 0x70]
inc edx
mov eax, dword [ebp - 0x74]
inc eax
call fcn.0064d694
lea eax, [ebp - 0x210]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x4386a1
xor eax, eax
jmp 0x4386a3
mov al, 1
mov byte [edi + 0x7d], al
mov eax, dword [edi]
test byte [eax + 0x24], 0x10
je 0x43873c
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov eax, ebx
call fcn.0055e0d0
test al, al
jne 0x43873c
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x43873c
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
test byte [eax + 0x24], 0x20
je 0x438736
lea ecx, [ebp - 0x84]
mov edx, dword [0x669448]
mov eax, dword [ebp - 0x7c]
call fcn.00552fb8
mov eax, dword [ebp - 8]
add eax, 5
cmp eax, dword [ebp - 0x84]
jge 0x438736
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x80]
jl 0x438736
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x7c]
sub eax, dword [edx + 0x4c]
add eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0xc]
jle 0x438736
mov byte [edi + 0x7e], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [edi + 0x90], eax
jmp 0x43873c
dec esi
cmp esi, 0xffffffff
jne 0x4386d0
push ebp
call fcn.00437538
pop ecx
cmp dword [ebx + 0xe0], 0
je 0x438778
push ebp
mov ecx, dword [0x6695a4]
mov ecx, dword [ecx]
mov edx, dword [0x66967c]
mov edx, dword [edx]
mov eax, dword [ebx + 0xe0]
call fcn.004375a8
pop ecx
test al, al
je 0x438778
mov eax, dword [ebx + 0xe0]
mov dword [edi + 0x78], eax
jmp 0x4387a5
mov eax, dword [edi]
call fcn.005530ac
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x4387a5
push ebp
mov edx, dword [0x66967c]
mov edx, dword [edx]
mov eax, dword [edi + 0x78]
xor ecx, ecx
call fcn.004375a8
pop ecx
test al, al
jne 0x4387a5
xor eax, eax
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x438985
mov eax, dword [edi + 0x78]
test byte [eax + 0x25], 8
je 0x43889a
mov eax, dword [edi + 0x78]
add eax, 0xb0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x88]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43889a
mov al, byte [ebx + 0x14e]
dec eax
sub al, 2
setb al
xor al, 1
mov byte [edi + 0x76], al
lea ecx, [ebp - 0x90]
mov eax, dword [edi + 0x78]
lea edx, [eax + 0xa0]
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 8]
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0xc]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x78]
test byte [eax + 0x25], 0x10
je 0x438978
mov eax, dword [edi + 0x78]
add eax, 0xc0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x94]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x150], eax
lea ecx, [ebp - 0x200]
mov eax, dword [ebp - 0x94]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x148], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x154]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x438978
mov byte [edi + 0x77], 1
lea ecx, [ebp - 0x9c]
mov eax, dword [edi + 0x78]
lea edx, [eax + 0xa8]
mov eax, dword [edi + 0x78]
call fcn.00552fb8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x9c]
mov dword [edi + 0x88], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x98]
mov dword [edi + 0x8c], eax
cmp byte [edi + 0x76], 0
jne 0x438985
push ebp
call fcn.00437644
pop ecx
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
setne al
test al, al
jne 0x4389a0
cmp dword [edi + 4], 0
je 0x4394b2
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
setne al
test al, al
jne 0x438b31
lea ecx, [ebp - 0x200]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x70]
xor eax, eax
call fcn.0064d660
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0xa4]
mov eax, dword [edi + 4]
call fcn.00552fb8
mov eax, dword [ebp - 0xa4]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0xa0]
sub dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x438b31
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0xa8], eax
test esi, esi
je 0x438a30
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.0055fa4c
cmp eax, dword [ebp - 0xc]
jg 0x438b27
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3b], 0x20
je 0x438ab9
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4 - 4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xac]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov edx, dword [ebp - 0xac]
mov edx, dword [edx + 0x30]
add eax, dword [edx + 0x6c]
cmp eax, dword [ebp - 8]
jle 0x438b31
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
jmp 0x438b31
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3a], 0x80
je 0x438b31
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3b], 1
jne 0x438b31
dec esi
cmp esi, 0
jl 0x438b31
mov dword [ebp - 0x40], esi
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x40]
mov esi, dword [eax + edx*4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x268]
mov eax, dword [esi + 0xc]
call fcn.0062a39c
mov edx, eax
mov eax, ebx
call fcn.0055fc48
mov edx, dword [esi + 0x30]
mov ecx, dword [ebp - 8]
sub ecx, dword [edx + 0x6c]
cmp eax, ecx
jl 0x438b31
mov eax, dword [esi + 0x34]
mov dword [edi + 0x14], eax
test byte [esi + 0x3b], 1
jne 0x438b31
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x438ada
jmp 0x438b31
dec esi
cmp esi, 0xffffffff
jne 0x438a01
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [edi + 0x14]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
call fcn.0054587c
mov byte [edi + 0x4d], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x438b79
mov byte [edi + 0x4c], 1
jmp 0x438d86
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x6c]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 8]
jge 0x438bd9
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x438d54
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 8]
jle 0x438d4e
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov esi, eax
mov eax, dword [ebp - 0xb0]
call fcn.0054b768
and eax, 0x7f
inc eax
push eax
mov eax, dword [0x669618]
mov eax, dword [eax]
pop edx
mov ecx, edx
cdq
idiv ecx
sub esi, eax
cmp esi, dword [ebp - 8]
jle 0x438d2f
mov byte [edi + 0x1c], 1
mov eax, dword [ebp - 0xb0]
call fcn.0054b768
test al, al
je 0x438cc1
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb4]
call fcn.005427b0
mov esi, eax
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.005427b0
sub esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [0x6690d8]
test byte [eax + 9], 4
je 0x438cb6
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 8]
jl 0x438cba
xor eax, eax
jmp 0x438cbc
mov al, 1
mov byte [edi + 0x4f], al
jmp 0x438cc6
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x6694bc]
cmp byte [eax], 0
jne 0x438d2f
mov eax, dword [0x6691ec]
cmp byte [eax + 0x84], 2
je 0x438d2f
cmp byte [edi + 0x4f], 0
jne 0x438d2f
mov eax, dword [ebp - 0xb0]
call fcn.0054b728
test al, al
je 0x438d2f
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.005f7cc8
test al, al
je 0x438d2f
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.0055fc28
mov edx, dword [0x6695e4]
mov edx, dword [edx]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 8]
jge 0x438d2f
mov byte [edi + 0x74], 1
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x438d54
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.0055fa4c
sub dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x438d7d
mov eax, dword [ebp - 0xb0]
call fcn.005457d8
cmp eax, dword [ebp - 0xc]
jge 0x438d81
xor eax, eax
jmp 0x438d83
mov al, 1
mov byte [edi + 0x4c], al
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x2c]
test eax, eax
jl 0x4394ad
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x438dbf
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
cmp eax, dword [edi + 0xc]
je 0x438def
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x4394a1
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 0x34]
jl 0x4394a1
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
je 0x438e19
push edi
lea esi, [edi + 8]
add edi, 0x54
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebx
call fcn.005bd35c
mov byte [edi + 0x1d], al
jmp 0x438f48
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x18]
mov dword [edi + 0x54], eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
mov dword [edi + 0x58], eax
cmp dword [ebp - 0x28], 0
jle 0x438e5c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 0x34]
jle 0x438e5c
dec dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x60], eax
cmp byte [edi + 0x4c], 0
je 0x438ee7
cmp byte [edi + 0x4d], 0
je 0x438ee7
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005bd34c
test al, al
je 0x438ee7
cmp byte [ebx + 0x477], 0
jne 0x438ee7
mov eax, dword [ebx + 0x300]
call fcn.00542248
dec eax
test eax, eax
jl 0x438ee7
inc eax
mov dword [ebp - 0xb8], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x300]
call fcn.00542278
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb0]
mov ecx, dword [ecx + 8]
cmp edx, dword [ecx + 0x18]
jne 0x438ed8
mov edx, dword [ebp - 0xb0]
mov edx, dword [edx + 0x28]
mov ecx, dword [ebp - 0xb0]
add edx, dword [ecx + 0x2c]
cmp edx, dword [eax + 4]
jle 0x438ede
mov byte [edi + 0x1d], 1
jmp 0x438ee7
inc esi
dec dword [ebp - 0xb8]
jne 0x438ea4
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x28], 0
jle 0x438f3c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov esi, eax
sub esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
dec edx
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
mov edx, dword [ebp - 0x34]
sub edx, eax
cmp esi, edx
jle 0x438f3c
dec dword [edi + 0xc]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x34]
mov dword [edi + 0x14], eax
push edi
lea esi, [edi + 8]
add edi, 0x24
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
mov dword [edi + 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x438f70
mov eax, dword [ebp - 0x28]
dec eax
add dword [edi + 0x28], eax
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x28]
call fcn.0054c314
mov edx, eax
mov eax, dword [0x669904]
mov eax, dword [eax]
call fcn.0064e6b4
test al, al
je 0x438fa0
mov dword [edi + 0x28], 0x80000000
lea ecx, [ebp - 0x22c]
lea edx, [edi + 8]
mov eax, ebx
call fcn.005bc7b0
push edi
lea esi, [ebp - 0x22c]
add edi, 0x34
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop edi
cmp byte [edi + 0x4c], 0
je 0x438fdf
cmp byte [edi + 0x4d], 0
je 0x438fdf
cmp dword [edi + 0x44], 0
jle 0x438fdf
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x44]
cmp eax, dword [edi + 0xc]
jg 0x438fe3
xor eax, eax
jmp 0x438fe5
mov al, 1
mov byte [edi + 0x1e], al
cmp byte [edi + 0x4c], 0
je 0x43903c
cmp byte [edi + 0x4d], 0
je 0x43903c
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x439025
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
cmp eax, dword [ebp - 0x34]
jge 0x43903c
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
call fcn.0054c314
cmp ax, 0xa
je 0x439040
xor eax, eax
jmp 0x439042
mov al, 1
mov byte [edi + 0x1f], al
mov byte [edi + 0x4e], 0
cmp byte [edi + 0x1f], 0
je 0x439388
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005bfd34
mov dword [edi + 0x50], eax
mov eax, dword [edi + 0x50]
mov esi, dword [eax + 0x24]
inc dword [edi + 0x58]
mov dl, 0x59
mov eax, ebx
call fcn.0055f6b0
lea ecx, [ebp - 0x124]
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c04b4
mov eax, ebx
call fcn.0055f764
dec dword [edi + 0x58]
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.0055ba10
mov ecx, dword [ebp - 0x1fc]
mov edx, dword [esi + 0x30]
mov eax, ebx
call fcn.0055fac4
push eax
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.0055ba10
mov ecx, dword [ebp - 0x200]
mov edx, dword [esi + 0x2c]
mov eax, ebx
call fcn.0055fae0
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x268]
mov eax, dword [ebp - 0xb0]
movsx eax, word [eax + 0x12]
call fcn.0062a2e4
push eax
mov eax, dword [ebp - 0xb0]
call fcn.005456b8
call fcn.00622888
pop edx
add edx, eax
push edx
lea edx, [ebp - 0x200]
mov eax, dword [edi + 0x50]
call fcn.0055ba10
mov edx, dword [ebp - 0x1fc]
mov eax, dword [esi + 0x30]
call fcn.006228a0
pop edx
sub edx, eax
mov eax, ebx
call fcn.0055fc28
push eax
mov edx, dword [ebp - 0xd4]
shl edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
call fcn.0055fa68
pop edx
sub edx, eax
push edx
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.005427b0
mov edx, eax
mov eax, ebx
call fcn.0055fc28
pop edx
pop ecx
call fcn.0064d694
push esi
push edi
lea esi, [ebp - 0x210]
add edi, 0x64
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x40
jne 0x439332
cmp byte [edi + 0x1d], 0
je 0x439332
mov eax, ebx
call fcn.005bf5f0
test al, al
je 0x439332
cmp byte [esi + 0x3c], 0
jne 0x439332
mov eax, dword [edi + 0x50]
call fcn.0055b7e0
test al, al
jne 0x439332
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [0x669604]
mov eax, dword [eax]
shr eax, 1
mov dword [ebp - 0x3c], eax
mov esi, 1
mov eax, esi
mov edx, eax
sub dl, 1
je 0x4391e3
sub dl, 3
je 0x4391e3
sub dl, 2
jne 0x4391ee
mov edx, dword [edi + 0x64]
mov dword [ebp - 0x144], edx
jmp 0x439228
mov edx, eax
sub dl, 3
je 0x4391ff
sub dl, 2
je 0x4391ff
sub dl, 3
jne 0x439212
mov edx, dword [edi + 0x6c]
mov ecx, dword [0x669604]
sub edx, dword [ecx]
mov dword [ebp - 0x144], edx
jmp 0x439228
mov edx, dword [edi + 0x64]
add edx, dword [edi + 0x6c]
sar edx, 1
jns 0x43921f
adc edx, 0
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x144], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x43923b
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x140], eax
jmp 0x43926a
add al, 0xfa
sub al, 3
jae 0x439254
mov eax, dword [edi + 0x70]
mov edx, dword [0x669604]
sub eax, dword [edx]
mov dword [ebp - 0x140], eax
jmp 0x43926a
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x70]
sar eax, 1
jns 0x439261
adc eax, 0
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0x144], eax
mov eax, dword [0x669604]
mov eax, dword [eax]
add eax, eax
mov edx, eax
add edx, dword [ebp - 0x144]
mov dword [ebp - 0x13c], edx
mov edx, dword [ebp - 0x3c]
sub dword [ebp - 0x140], edx
mov edx, dword [0x669604]
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x138], eax
lea ecx, [ebp - 0x200]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0064d660
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
lea eax, [ebp - 0x144]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439328
mov eax, dword [ebp - 0x144]
add eax, dword [ebp - 0x13c]
sar eax, 1
jns 0x4392e5
adc eax, 0
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x140]
add eax, dword [ebp - 0x138]
sar eax, 1
jns 0x439302
adc eax, 0
sub eax, dword [ebp - 0xc]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov dword [ebp - 0x2c], ecx
cmp byte [edi + 0x4e], 0
je 0x43931d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jg 0x439328
mov eax, esi
mov byte [edi + 0x4e], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
inc esi
cmp esi, 9
jne 0x4391d0
mov eax, dword [ebp - 0xb0]
mov esi, dword [eax + 0x30]
mov edx, dword [esi + 0x60]
mov eax, dword [ebp - 0xb0]
add edx, dword [eax + 0x24]
mov eax, ebx
call fcn.0055fa4c
mov edx, eax
lea ecx, [ebp - 0x200]
mov eax, dword [esi + 0x6c]
call fcn.0064d660
lea edx, [ebp - 0x200]
lea ecx, [ebp - 0xc0]
mov eax, esi
call fcn.00552fb8
mov eax, dword [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xc0]
push eax
lea eax, [edi + 0x64]
push eax
call sub.user32.dll_OffsetRect
cmp byte [edi + 0x4c], 0
je 0x4394ad
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x12c]
jge 0x4393ca
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xb0]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0x18]
movsx eax, byte [eax + 0x34]
cmp ax, 9
je 0x4393c5
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x3c], 0
je 0x4393ca
xor eax, eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x4d], 0
je 0x4394ad
push ebp
push 0x439528
lea eax, [edi + 0x54]
mov cl, 0xff
xor edx, edx
call fcn.00437204
pop ecx
mov dword [edi + 0xcc], eax
push ebp
push 0x439534
lea eax, [edi + 0x54]
mov cl, 0x58
xor edx, edx
call fcn.00437204
pop ecx
mov dword [edi + 0xd0], eax
push ebp
push 0x439534
lea eax, [edi + 0x54]
mov cl, 0xff
mov dl, 2
call fcn.00437204
pop ecx
mov dword [edi + 0xc8], eax
cmp dword [edi + 0x28], 0
jge 0x43942a
lea esi, [edi + 0x54]
jmp 0x43942d
lea esi, [edi + 0x24]
push ebp
push 0x439534
mov eax, esi
mov cl, 0xff
mov dl, 3
call fcn.00437204
pop ecx
mov dword [edi + 0xc0], eax
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0055e074
test al, al
je 0x43946b
push ebp
push 0x439534
mov eax, esi
mov cl, 0xff
mov dl, 4
call fcn.00437204
pop ecx
mov dword [edi + 0xc4], eax
cmp dword [edi + 0xd4], 0
je 0x4394ad
mov eax, dword [edi + 0xd4]
call fcn.0055ba58
test al, al
je 0x4394ad
cmp byte [ebp - 0x41], 0
jne 0x4394ad
mov eax, 0x12
call fcn.0062255c
test al, al
jne 0x4394ad
xor eax, eax
mov dword [edi + 0xd4], eax
jmp 0x4394ad
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x438da2
call fcn.005458cc
cmp dword [edi + 0xd4], 0
je 0x4394da
mov eax, dword [edi + 0xd4]
test byte [eax + 9], 1
je 0x4394da
push edi
lea esi, [edi + 8]
add edi, 0x54
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
mov byte [edi + 0x1d], 1
mov eax, ebx
call fcn.0055ce1c
test al, al
je 0x439509
cmp dword [edi + 8], 0
jl 0x43950d
cmp dword [edi + 0x10], 0
jl 0x43950d
cmp byte [edi + 0x4c], 0
je 0x43950d
lea edx, [ebx + 0x3d0]
lea eax, [edi + 8]
call fcn.0053e224
test al, al
je 0x43950d
xor eax, eax
jmp 0x43950f
mov al, 1
mov byte [edi + 0x80], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8