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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe30
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.00660d08
dec dword [edi + 0xd8]
mov byte [ebp - 0x41], 0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x268]
mov eax, ebx
call fcn.005c7738
mov eax, dword [ebx + 0x310]
cmp dword [eax + 0x18], 1
jne 0x43a66e
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebx + 0x318]
jne 0x43a66e
cmp byte [ebx + 0x145], 0
jne 0x43a66e
mov eax, dword [ebx + 0x318]
call fcn.00561104
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov esi, dword [eax + 8]
test esi, esi
jns 0x43a4c7
add esi, 7
sar esi, 3
sub esi, 2
cmp esi, 0
jl 0x43a666
mov eax, dword [0x672494]
lea eax, [eax + esi*8]
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0xd8], 0
jge 0x43a5ce
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 [0x672738]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [0x672738]
mov eax, dword [eax]
sar eax, 1
jns 0x43a524
adc eax, 0
sub edx, eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [0x672738]
mov ecx, dword [ecx]
sar ecx, 1
jns 0x43a53a
adc ecx, 0
sub eax, ecx
mov ecx, dword [0x672738]
mov ecx, dword [ecx]
call fcn.00656220
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a5ce
mov dword [edi + 0xd8], esi
mov eax, dword [ebx + 0x318]
mov eax, dword [eax + 0x24]
call fcn.005603c4
test al, al
je 0x43a5b7
mov eax, dword [ebx + 0x318]
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 0x43a5ce
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 0x43a655
mov eax, 3
call fcn.00652900
push eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
lea eax, [ebp - 0x1a4]
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.0062250c
test al, al
je 0x43a655
lea eax, [esi + 1]
mov dword [edi + 0xdc], eax
lea eax, [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00439920
mov eax, dword [ebp - 0x1a4]
mov dword [edi + 0xe0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [edi + 0xe4], eax
dec esi
sub dword [ebp - 0xc4], 8
cmp esi, 0xffffffff
jne 0x43a4e4
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], 0x80
je 0x43a69d
push edi
add edi, 8
lea esi, [ebx + 0x250]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
jmp 0x43a86a
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0044e9cc
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.005c020c
inc eax
mov edx, dword [ebx + 0x134]
mov edx, dword [edx + 0x18]
dec edx
call fcn.0065b28c
mov dword [ebp - 0x24], eax
mov eax, ebx
call fcn.005c0188
dec eax
call fcn.0065b29c
mov esi, eax
mov eax, dword [ebp - 0x24]
sub eax, esi
jl 0x43a826
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebx + 0x134]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + esi*4]
push esi
push edi
lea esi, [eax + 0x48]
lea edi, [ebp - 0xd8]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
cmp byte [ebx + 0x146], 0
jne 0x43a7c5
cmp byte [ebx + 0x145], 0
jne 0x43a7c5
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
mov eax, dword [ebp - 0xd4]
inc eax
push eax
lea eax, [ebp - 0x1b4]
push eax
mov eax, dword [0x672428]
test byte [eax + 0x144], 8
jne 0x43a787
cmp dword [ebp - 0xd4], 0xa
jle 0x43a78b
xor eax, eax
jmp 0x43a78d
mov al, 1
and eax, 0x7f
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0xd4]
sub edx, 5
sub edx, eax
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd8]
call fcn.00656204
lea eax, [ebp - 0x1b4]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a7c5
mov byte [edi + 0x75], 1
jmp 0x43a826
mov al, byte [ebx + 0x146]
dec eax
sub al, 2
setb al
and eax, 0x7f
imul dword [ebp - 0xd8]
cmp byte [ebx + 0x146], 0
sete dl
and edx, 0x7f
imul edx, dword [ebp - 8]
add eax, edx
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xd8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a81c
mov dword [edi + 0x10], esi
jmp 0x43a826
inc esi
dec dword [ebp - 0x58]
jne 0x43a70a
mov al, byte [ebx + 0x146]
dec eax
sub al, 2
jae 0x43a86a
cmp dword [edi + 0x10], 0
jge 0x43a86a
mov eax, dword [ebx + 0x134]
cmp dword [eax + 0x18], 0
jle 0x43a86a
mov eax, dword [ebx + 0x134]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 0xc]
jl 0x43a85d
xor eax, eax
mov dword [edi + 0x10], eax
jmp 0x43a86a
mov eax, dword [ebx + 0x134]
mov eax, dword [eax + 0x18]
dec eax
mov dword [edi + 0x10], eax
cmp dword [edi + 0x10], 0
jl 0x43bcd0
cmp dword [ebx + 0x814], 0
je 0x43a88c
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x818]
jne 0x43aadb
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x134]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5c], eax
lea edx, [ebp - 0x118]
mov eax, ebx
call fcn.005c8dc4
mov eax, dword [ebp - 0x5c]
call fcn.0055e070
test al, al
je 0x43a8eb
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebx + 0x10c]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a8eb
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 0x43a9fe
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 - 0x118]
jl 0x43a9f4
cmp eax, dword [ebp - 0x108]
jg 0x43a9f4
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x1c]
call fcn.00561714
mov eax, dword [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0xd8]
push eax
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_OffsetRect
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43a9f4
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0xd4], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x310]
call fcn.00656dac
test al, al
je 0x43a9fe
mov eax, 3
call fcn.00652900
neg eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0xf8]
mov edx, dword [ebp - 0x40]
call fcn.00660e9c
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x43a9fe
mov byte [ebp - 0x41], 1
jmp 0x43a9fe
dec esi
cmp esi, 0xffffffff
jne 0x43a901
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0xb8]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x43aadb
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 + 0x310]
call fcn.00656dac
test al, al
je 0x43aad1
lea edx, [ebp - 0x19c]
mov eax, dword [ebp - 0x1c]
call fcn.0056172c
mov byte [ebp - 0x1d], 1
lea eax, [ebp - 0x198]
mov dword [ebp - 0xc8], eax
mov al, byte [ebp - 0x1d]
cmp al, 0xf
ja 0x43aa6b
and eax, 0x7f
bt dword [ebp - 0x19c], eax
jae 0x43aab8
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xd8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
mov eax, dword [ebp - 0xc8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43aab8
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 0x43aa5a
cmp dword [edi + 0x84], 0
jne 0x43aadb
dec esi
cmp esi, 0xffffffff
jne 0x43aa14
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
jne 0x43b173
mov eax, dword [ebp - 4]
test byte [eax + 0x2cc], 0x40
je 0x43ab1c
mov edx, dword [ebx + 0x3a0]
mov eax, ebx
call fcn.0056442c
mov edx, eax
lea eax, [ebp - 0x1b8]
mov cl, 1
call fcn.0040278c
mov al, byte [ebp - 0x1b8]
mov byte [ebp + 0xc], al
mov eax, dword [edi + 0x10]
mov edx, dword [ebx + 0x134]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x60], eax
mov al, byte [0x43bd14]
cmp al, byte [ebp + 0xc]
je 0x43ab89
push 1
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi], eax
push 0
mov al, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi + 4], eax
push ebp
call fcn.00439a68
pop ecx
jmp 0x43acb5
cmp dword [ebx + 0x814], 0
je 0x43ac58
push 1
mov al, byte [0x43bd14]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi], eax
cmp dword [edi], 0
je 0x43acb5
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
jne 0x43acb5
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
jmp 0x43abdf
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 0x43abd6
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x9c]
cmp eax, dword [ebp - 0x18]
jne 0x43ac0a
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x94]
cmp eax, dword [ebx + 0x814]
je 0x43ac31
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x18]
jne 0x43acb5
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x98]
cmp eax, dword [ebx + 0x814]
jne 0x43acb5
push 0
mov al, byte [0x43bd18]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi + 4], eax
jmp 0x43acb5
push 1
mov al, byte [0x43bd14]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi], eax
cmp dword [edi], 0
je 0x43acae
mov eax, dword [edi]
cmp byte [eax + 0x29], 3
je 0x43acae
push 0
mov al, byte [0x43bd14]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x60]
call fcn.00559398
mov dword [edi + 4], eax
push ebp
call fcn.00439a68
pop ecx
cmp dword [edi], 0
je 0x43b173
mov eax, dword [edi]
call fcn.0055916c
mov dword [edi + 0x90], eax
mov eax, dword [edi]
call fcn.0055918c
test al, al
je 0x43ad50
lea ecx, [ebp - 0x68]
mov edx, dword [0x6720a4]
mov eax, dword [edi + 0x90]
call fcn.00559088
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x68]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
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 - 0x1b4]
call fcn.0065623c
lea eax, [ebp - 0x1b4]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43ad50
mov byte [edi + 0x1d], 1
cmp dword [edi + 0x90], 0
je 0x43ae94
mov eax, dword [edi + 0x90]
add eax, 0x90
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x74]
mov edx, dword [0x6720a4]
mov eax, dword [edi + 0x90]
call fcn.00559088
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.005644ac
test al, al
jne 0x43ae94
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
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 - 0x1b4]
push eax
mov edx, dword [ebp - 0x70]
inc edx
mov eax, dword [ebp - 0x74]
add eax, 2
mov ecx, 4
call fcn.00656220
lea eax, [ebp - 0x1b4]
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 0x43ae8b
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [ebx + 0xa8]
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.0055916c
cmp eax, dword [edi + 0x90]
jne 0x43ae8b
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
push 4
lea eax, [ebp - 0x1b4]
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.00656220
lea eax, [ebp - 0x1b4]
push eax
call sub.user32.dll_PtInRect
test eax, eax
jne 0x43ae8f
xor eax, eax
jmp 0x43ae91
mov al, 1
mov byte [edi + 0x7d], al
mov eax, dword [edi]
test byte [eax + 0x24], 0x10
je 0x43af2a
mov eax, dword [edi]
mov edx, dword [eax + 0x8c]
mov eax, ebx
call fcn.005644ac
test al, al
jne 0x43af2a
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
dec esi
cmp esi, 0
jl 0x43af2a
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 0x43af24
lea ecx, [ebp - 0x84]
mov edx, dword [0x6720a4]
mov eax, dword [ebp - 0x7c]
call fcn.00559088
mov eax, dword [ebp - 8]
add eax, 5
cmp eax, dword [ebp - 0x84]
jge 0x43af24
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x80]
jl 0x43af24
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 0x43af24
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 0x43af2a
dec esi
cmp esi, 0xffffffff
jne 0x43aebe
push ebp
call fcn.00439d04
pop ecx
cmp dword [ebx + 0xd8], 0
je 0x43af66
push ebp
mov ecx, dword [0x672470]
mov ecx, dword [ecx]
mov edx, dword [0x672538]
mov edx, dword [edx]
mov eax, dword [ebx + 0xd8]
call fcn.00439d74
pop ecx
test al, al
je 0x43af66
mov eax, dword [ebx + 0xd8]
mov dword [edi + 0x78], eax
jmp 0x43af93
mov eax, dword [edi]
call fcn.0055917c
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x43af93
push ebp
mov edx, dword [0x672538]
mov edx, dword [edx]
mov eax, dword [edi + 0x78]
xor ecx, ecx
call fcn.00439d74
pop ecx
test al, al
jne 0x43af93
xor eax, eax
mov dword [edi + 0x78], eax
cmp dword [edi + 0x78], 0
je 0x43b173
mov eax, dword [edi + 0x78]
test byte [eax + 0x25], 8
je 0x43b088
mov eax, dword [edi + 0x78]
add eax, 0xb0
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x88]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00559088
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x88]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00559088
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b088
mov al, byte [ebx + 0x146]
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.00559088
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 0x43b166
mov eax, dword [edi + 0x78]
add eax, 0xc0
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x94]
mov edx, eax
mov eax, dword [edi + 0x78]
call fcn.00559088
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x1a4]
mov eax, dword [ebp - 0x94]
lea edx, [eax + 8]
mov eax, dword [edi + 0x78]
call fcn.00559088
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xf8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b166
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.00559088
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 0x43b173
push ebp
call fcn.00439e10
pop ecx
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
setne al
test al, al
jne 0x43b18e
cmp dword [edi + 4], 0
je 0x43bca8
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
setne al
test al, al
jne 0x43b31f
lea ecx, [ebp - 0x1a4]
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x70]
xor eax, eax
call fcn.006561ec
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0xa4]
mov eax, dword [edi + 4]
call fcn.00559088
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 0x43b31f
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 0x43b21e
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 0x24]
mov eax, ebx
call fcn.00565f68
cmp eax, dword [ebp - 0xc]
jg 0x43b315
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 0x43b2a7
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.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov edx, dword [ebp - 0xac]
mov edx, dword [edx + 0x30]
add eax, dword [edx + 0x6c]
cmp eax, dword [ebp - 8]
jle 0x43b31f
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 0x43b31f
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3a], 0x80
je 0x43b31f
mov eax, dword [ebp - 0xa8]
test byte [eax + 0x3b], 1
jne 0x43b31f
dec esi
cmp esi, 0
jl 0x43b31f
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.00633d90
mov edx, eax
mov eax, ebx
call fcn.00566164
mov edx, dword [esi + 0x30]
mov ecx, dword [ebp - 8]
sub ecx, dword [edx + 0x6c]
cmp eax, ecx
jl 0x43b31f
mov eax, dword [esi + 0x34]
mov dword [edi + 0x14], eax
test byte [esi + 0x3b], 1
jne 0x43b31f
dec dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0xffffffff
jne 0x43b2c8
jmp 0x43b31f
dec esi
cmp esi, 0xffffffff
jne 0x43b1ef
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xa8]
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.0054b908
mov byte [edi + 0x4d], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
je 0x43b367
mov byte [edi + 0x4c], 1
jmp 0x43b574
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.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 8]
jge 0x43b3c7
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x43b542
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 8]
jle 0x43b53c
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov esi, eax
mov eax, dword [ebp - 0xb0]
call fcn.00551894
and eax, 0x7f
inc eax
push eax
mov eax, dword [0x6724d8]
mov eax, dword [eax]
pop edx
mov ecx, edx
cdq
idiv ecx
sub esi, eax
cmp esi, dword [ebp - 8]
jle 0x43b51d
mov byte [edi + 0x1c], 1
mov eax, dword [ebp - 0xb0]
call fcn.00551894
test al, al
je 0x43b4af
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.00548764
mov esi, eax
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.00548764
sub esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [0x672428]
test byte [eax + 0xd], 4
je 0x43b4a4
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 8]
jl 0x43b4a8
xor eax, eax
jmp 0x43b4aa
mov al, 1
mov byte [edi + 0x4f], al
jmp 0x43b4b4
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [0x6723a0]
cmp byte [eax], 0
jne 0x43b51d
mov eax, dword [0x672428]
cmp byte [eax + 0x200], 2
je 0x43b51d
cmp byte [edi + 0x4f], 0
jne 0x43b51d
mov eax, dword [ebp - 0xb0]
call fcn.00551854
test al, al
je 0x43b51d
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.00600e04
test al, al
je 0x43b51d
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
sub edx, dword [ebp - 0x38]
mov eax, ebx
call fcn.00566144
mov edx, dword [0x6724a8]
mov edx, dword [edx]
add edx, edx
sub eax, edx
cmp eax, dword [ebp - 8]
jge 0x43b51d
mov byte [edi + 0x74], 1
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov dword [ebp - 0x34], eax
mov byte [edi + 0x4d], 0
jmp 0x43b542
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.00565f68
sub dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x43b56b
mov eax, dword [ebp - 0xb0]
call fcn.0054b864
cmp eax, dword [ebp - 0xc]
jge 0x43b56f
xor eax, eax
jmp 0x43b571
mov al, 1
mov byte [edi + 0x4c], al
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x2c]
test eax, eax
jl 0x43bca3
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
je 0x43b5ad
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 0x28]
add eax, dword [ebp - 0x28]
cmp eax, dword [edi + 0xc]
je 0x43b5dd
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
jne 0x43bc97
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 0x34]
jl 0x43bc97
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
je 0x43b607
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.005c514c
mov byte [edi + 0x1d], al
jmp 0x43b736
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 0x43b64a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 0x34]
jle 0x43b64a
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 0x43b6d5
cmp byte [edi + 0x4d], 0
je 0x43b6d5
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c513c
test al, al
je 0x43b6d5
cmp byte [ebx + 0x46f], 0
jne 0x43b6d5
mov eax, dword [ebx + 0x2f8]
call fcn.00548140
dec eax
test eax, eax
jl 0x43b6d5
inc eax
mov dword [ebp - 0xb8], eax
xor esi, esi
mov edx, esi
mov eax, dword [ebx + 0x2f8]
call fcn.00548170
mov edx, dword [eax]
mov ecx, dword [ebp - 0xb0]
mov ecx, dword [ecx + 8]
cmp edx, dword [ecx + 0x18]
jne 0x43b6c6
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 0x43b6cc
mov byte [edi + 0x1d], 1
jmp 0x43b6d5
inc esi
dec dword [ebp - 0xb8]
jne 0x43b692
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 0x43b72a
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov esi, eax
sub esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
dec edx
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
mov edx, dword [ebp - 0x34]
sub edx, eax
cmp esi, edx
jle 0x43b72a
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 0x43b75e
mov eax, dword [ebp - 0x28]
dec eax
add dword [edi + 0x28], eax
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xa8]
mov edx, dword [edx + 0x1c]
mov eax, dword [edx + eax*4]
mov edx, dword [edi + 0x28]
call fcn.00552428
mov edx, eax
mov eax, dword [0x672730]
mov eax, dword [eax]
call fcn.006570e4
test al, al
je 0x43b78e
mov dword [edi + 0x28], 0x80000000
lea ecx, [ebp - 0x1d0]
lea edx, [edi + 8]
mov eax, ebx
call fcn.005c45a8
push edi
lea esi, [ebp - 0x1d0]
add edi, 0x34
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop edi
cmp byte [edi + 0x4c], 0
je 0x43b7cd
cmp byte [edi + 0x4d], 0
je 0x43b7cd
cmp dword [edi + 0x44], 0
jle 0x43b7cd
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x44]
cmp eax, dword [edi + 0xc]
jg 0x43b7d1
xor eax, eax
jmp 0x43b7d3
mov al, 1
mov byte [edi + 0x1e], al
cmp byte [edi + 0x4c], 0
je 0x43b82a
cmp byte [edi + 0x4d], 0
je 0x43b82a
mov eax, dword [ebp - 4]
test byte [eax + 0x2ce], 0x80
jne 0x43b813
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
sub edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xb0]
call fcn.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
cmp eax, dword [ebp - 0x34]
jge 0x43b82a
mov edx, dword [edi + 0x58]
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax + 8]
call fcn.00552428
cmp ax, 0xa
je 0x43b82e
xor eax, eax
jmp 0x43b830
mov al, 1
mov byte [edi + 0x1f], al
mov byte [edi + 0x4e], 0
cmp byte [edi + 0x1f], 0
je 0x43bb7d
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c7c18
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.00565be8
mov ecx, dword [0x672514]
lea edx, [edi + 0x54]
mov eax, ebx
call fcn.005c8438
mov eax, ebx
call fcn.00565c80
dec dword [edi + 0x58]
lea edx, [ebp - 0x1a4]
mov eax, dword [edi + 0x50]
call fcn.00561c90
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [esi + 0x30]
mov eax, ebx
call fcn.00565fe0
push eax
lea eax, [ebp - 0x1b4]
push eax
lea edx, [ebp - 0x1a4]
mov eax, dword [edi + 0x50]
call fcn.00561c90
mov ecx, dword [ebp - 0x1a4]
mov edx, dword [esi + 0x2c]
mov eax, ebx
call fcn.00565ffc
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x268]
mov eax, dword [ebp - 0xb0]
movsx eax, word [eax + 0x12]
call fcn.00633cd8
push eax
mov eax, dword [ebp - 0xb0]
call fcn.0054b734
call fcn.0062c1c0
pop edx
add edx, eax
push edx
lea edx, [ebp - 0x1a4]
mov eax, dword [edi + 0x50]
call fcn.00561c90
mov edx, dword [ebp - 0x1a0]
mov eax, dword [esi + 0x30]
call fcn.0062c1d8
pop edx
sub edx, eax
mov eax, ebx
call fcn.00566144
push eax
mov eax, dword [0x672514]
mov edx, dword [eax + 0x50]
shl edx, 2
lea edx, [edx + edx*4]
mov eax, ebx
call fcn.00565f84
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.00548764
mov edx, eax
mov eax, ebx
call fcn.00566144
pop edx
pop ecx
call fcn.00656220
push esi
push edi
lea esi, [ebp - 0x1b4]
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], 0x80
jne 0x43bb27
cmp byte [edi + 0x1d], 0
je 0x43bb27
mov eax, ebx
call fcn.005c744c
test al, al
je 0x43bb27
cmp byte [esi + 0x3c], 0
jne 0x43bb27
mov eax, dword [edi + 0x50]
call fcn.00561aa0
test al, al
jne 0x43bb27
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [0x6724c4]
mov eax, dword [eax]
sar eax, 1
jns 0x43b9bd
adc eax, 0
mov dword [ebp - 0x3c], eax
mov esi, 1
mov eax, esi
mov edx, eax
sub dl, 1
je 0x43b9d8
sub dl, 3
je 0x43b9d8
sub dl, 2
jne 0x43b9e3
mov edx, dword [edi + 0x64]
mov dword [ebp - 0xe8], edx
jmp 0x43ba1d
mov edx, eax
sub dl, 3
je 0x43b9f4
sub dl, 2
je 0x43b9f4
sub dl, 3
jne 0x43ba07
mov edx, dword [edi + 0x6c]
mov ecx, dword [0x6724c4]
sub edx, dword [ecx]
mov dword [ebp - 0xe8], edx
jmp 0x43ba1d
mov edx, dword [edi + 0x64]
add edx, dword [edi + 0x6c]
sar edx, 1
jns 0x43ba14
adc edx, 0
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0xe8], edx
mov edx, eax
dec edx
sub dl, 3
jae 0x43ba30
mov eax, dword [edi + 0x68]
mov dword [ebp - 0xe4], eax
jmp 0x43ba5f
add al, 0xfa
sub al, 3
jae 0x43ba49
mov eax, dword [edi + 0x70]
mov edx, dword [0x6724c4]
sub eax, dword [edx]
mov dword [ebp - 0xe4], eax
jmp 0x43ba5f
mov eax, dword [edi + 0x68]
add eax, dword [edi + 0x70]
sar eax, 1
jns 0x43ba56
adc eax, 0
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x3c]
sub dword [ebp - 0xe8], eax
mov eax, dword [0x6724c4]
mov eax, dword [eax]
add eax, eax
mov edx, eax
add edx, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], edx
mov edx, dword [ebp - 0x3c]
sub dword [ebp - 0xe4], edx
mov edx, dword [0x6724c4]
add eax, dword [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.006561ec
push dword [ebp - 0x1a0]
push dword [ebp - 0x1a4]
lea eax, [ebp - 0xe8]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43bb1d
mov eax, dword [ebp - 0xe8]
add eax, dword [ebp - 0xe0]
sar eax, 1
jns 0x43bada
adc eax, 0
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0xe4]
add eax, dword [ebp - 0xdc]
sar eax, 1
jns 0x43baf7
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 0x43bb12
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x30]
jg 0x43bb1d
mov eax, esi
mov byte [edi + 0x4e], al
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
inc esi
cmp esi, 9
jne 0x43b9c5
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.00565f68
mov edx, eax
lea ecx, [ebp - 0x1a4]
mov eax, dword [esi + 0x6c]
call fcn.006561ec
lea edx, [ebp - 0x1a4]
lea ecx, [ebp - 0xc0]
mov eax, esi
call fcn.00559088
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 0x43bca3
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 0x124]
jge 0x43bbbf
mov eax, dword [edi + 8]
mov edx, dword [ebx + 0xa8]
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 0x43bbba
mov eax, dword [edi + 0x18]
cmp byte [eax + 0x3c], 0
je 0x43bbbf
xor eax, eax
mov dword [edi + 0x18], eax
cmp byte [edi + 0x4d], 0
je 0x43bca3
push ebp
push 0x43bd1c
lea eax, [edi + 0x54]
mov cl, 0xff
xor edx, edx
call fcn.004399d0
pop ecx
mov dword [edi + 0xcc], eax
push ebp
push 0x43bd28
lea eax, [edi + 0x54]
mov cl, 0x58
xor edx, edx
call fcn.004399d0
pop ecx
mov dword [edi + 0xd0], eax
push ebp
push 0x43bd28
lea eax, [edi + 0x54]
mov cl, 0xff
mov dl, 2
call fcn.004399d0
pop ecx
mov dword [edi + 0xc8], eax
cmp dword [edi + 0x28], 0
jge 0x43bc1f
lea esi, [edi + 0x54]
jmp 0x43bc22
lea esi, [edi + 0x24]
push ebp
push 0x43bd28
mov eax, esi
mov cl, 0xff
mov dl, 3
call fcn.004399d0
pop ecx
mov dword [edi + 0xc0], eax
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0056442c
dec eax
sub al, 2
jae 0x43bc61
push ebp
push 0x43bd28
mov eax, esi
mov cl, 0xff
mov dl, 4
call fcn.004399d0
pop ecx
mov dword [edi + 0xc4], eax
cmp dword [edi + 0xd4], 0
je 0x43bca3
mov eax, dword [edi + 0xd4]
call fcn.00561cd8
test al, al
je 0x43bca3
cmp byte [ebp - 0x41], 0
jne 0x43bca3
mov eax, 0x12
call fcn.0062be94
test al, al
jne 0x43bca3
xor eax, eax
mov dword [edi + 0xd4], eax
jmp 0x43bca3
inc dword [ebp - 0x28]
dec dword [ebp - 0x58]
jne 0x43b590
call fcn.0054b958
cmp dword [edi + 0xd4], 0
je 0x43bcd0
mov eax, dword [edi + 0xd4]
test byte [eax + 9], 1
je 0x43bcd0
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.005631e4
test al, al
je 0x43bcff
cmp dword [edi + 8], 0
jl 0x43bd03
cmp dword [edi + 0x10], 0
jl 0x43bd03
cmp byte [edi + 0x4c], 0
je 0x43bd03
lea edx, [ebx + 0x3c8]
lea eax, [edi + 8]
call fcn.00544320
test al, al
je 0x43bd03
xor eax, eax
jmp 0x43bd05
mov al, 1
mov byte [edi + 0x80], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8