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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5c0c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x190]
call eax
movzx ecx, al
test ecx, ecx
jne 0x47018d
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 9
jle 0x47018d
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x19
jge 0x47018d
mov ecx, dword [ebp - 0x104]
cmp dword [ecx + 0x48], 0
je 0x470179
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x48]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x1dc]
call eax
jmp 0x470188
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x104]
call fcn.0051fc39
jmp 0x471641
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x1b
jne 0x4701a8
mov eax, dword [ebp - 0x104]
mov byte [eax + 0xba], 1
jmp 0x471641
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x1a
jne 0x4701c3
mov edx, dword [ebp - 0x104]
mov byte [edx + 0xba], 0
jmp 0x471641
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x310], 0
je 0x4707e7
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x310]
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x310]
mov edx, dword [edx]
mov eax, dword [edx + 0x17c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4707e7
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x310]
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx + 0x310]
mov edx, dword [eax]
mov eax, dword [edx + 0x188]
call eax
movzx ecx, al
test ecx, ecx
je 0x4707e7
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 3
jne 0x470320
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x18]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
sub edx, 0x21
mov dword [ebp - 0x108], edx
cmp dword [ebp - 0x108], 7
ja case.0x47026c.4
mov eax, dword [ebp - 0x108]
jmp dword [eax*4 + 0x471654]
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x54]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x50]
call eax
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x5c]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x58]
call eax
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x60]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x64]
call eax
jmp 0x471641
jmp 0x4707e2
mov ecx, dword [ebp - 0x104]
sub ecx, 8
je 0x470339
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x10c], edx
jmp 0x470343
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10c]
jne 0x4704ca
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x1e
jne 0x4704ca
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0x18
jne 0x4704ca
mov ecx, dword [ebp - 0x104]
cmp dword [ecx + 0x324], 0
jle 0x470456
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x324]
sub eax, 1
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x324], eax
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x3c]
call eax
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x40]
call edx
push 2
mov eax, dword [ebp - 0x104]
fild dword [eax + 0x324]
mov ecx, dword [ebp - 0x104]
fidiv dword [ecx + 0x320]
sub esp, 8
fstp qword [esp]
call fcn.0045c7b0
add esp, 0xc
mov edx, dword [ebp - 0x104]
fimul dword [edx + 0x31c]
call fcn.00544a20
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jle 0x47041b
cmp dword [ebp - 0x70], 0
jne 0x470429
cmp dword [ebp - 0x78], 0
jge 0x470456
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x68]
je 0x470456
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x78]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x44]
call edx
jmp 0x471641
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x31c], 0
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x320], 0
mov edx, dword [ebp - 0x104]
mov dword [edx + 0x324], 0
mov eax, dword [ebp - 0x104]
sub eax, 8
je 0x47049f
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x110], ecx
jmp 0x4704a9
mov dword [ebp - 0x110], 0
push 0x18
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x44]
call fcn.00507d70
jmp 0x471641
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x18
jne 0x4707e2
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0xcc]
call edx
movzx eax, al
test eax, eax
jne 0x47055e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x470521
cmp dword [ebp - 0x114], 1
je 0x47053d
jmp 0x470559
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x68]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x6c]
call eax
jmp 0x471641
jmp 0x4707e2
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx + 0x310]
call fcn.00522108
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x310]
call fcn.0052215e
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x310]
call fcn.005221cb
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], 0
mov ecx, dword [ebp - 0x104]
cmp dword [ecx + 0x320], 0
jle 0x4705fa
push 2
mov edx, dword [ebp - 0x104]
fild dword [edx + 0x324]
mov eax, dword [ebp - 0x104]
fidiv dword [eax + 0x320]
sub esp, 8
fstp qword [esp]
call fcn.0045c7b0
add esp, 0xc
mov ecx, dword [ebp - 0x104]
fimul dword [ecx + 0x31c]
call fcn.00544a20
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x84]
mov dword [edx + 0x31c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
and edx, 0xffff
movzx eax, dx
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x47063c
cmp dword [ebp - 0x118], 1
je 0x4706c3
jmp 0x470747
cmp dword [ebp - 0x7c], 0
jne 0x470681
mov ecx, dword [ebp - 0x104]
sub ecx, 8
je 0x47065b
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x11c], edx
jmp 0x470665
mov dword [ebp - 0x11c], 0
push 0x18
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx + 0x44]
call fcn.00507d70
jmp 0x471641
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x31c], 0
jge 0x4706a0
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x31c], 0
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x31c]
add edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x31c], edx
jmp 0x470747
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x80]
jne 0x47070a
mov edx, dword [ebp - 0x104]
sub edx, 8
je 0x4706e4
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x120], eax
jmp 0x4706ee
mov dword [ebp - 0x120], 0
push 0x18
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x44]
call fcn.00507d70
jmp 0x471641
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x31c], 0
jle 0x470729
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x31c], 0
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x31c]
sub eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x31c], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x31c]
push eax
call fcn.00547e0a
add esp, 4
mov dword [ebp - 0x124], eax
fild dword [ebp - 0x124]
sub esp, 8
fstp qword [esp]
call fcn.00547d64
add esp, 8
fadd st(0), st(0)
call fcn.00544a20
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x320], eax
mov edx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x320]
mov dword [edx + 0x324], ecx
mov edx, dword [ebp - 0x104]
sub edx, 8
je 0x4707ba
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x128], eax
jmp 0x4707c4
mov dword [ebp - 0x128], 0
push 0x1e
push 0x18
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x44]
call fcn.00507c86
jmp 0x471641
jmp 0x4709b0
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x314], 0
je 0x4709b0
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x314]
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x314]
mov edx, dword [edx]
mov eax, dword [edx + 0x17c]
call eax
movzx ecx, al
test ecx, ecx
je 0x4709b0
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x314]
mov ecx, dword [ebp - 0x104]
mov ecx, dword [ecx + 0x314]
mov edx, dword [eax]
mov eax, dword [edx + 0x188]
call eax
movzx ecx, al
test ecx, ecx
je 0x4709b0
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 3
jne 0x470947
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x18]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
sub edx, 0x21
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 7
ja case.0x470890.4
mov eax, dword [ebp - 0x12c]
jmp dword [eax*4 + 0x471674]
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x74]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x70]
call eax
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x7c]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x78]
call eax
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x80]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x84]
call eax
jmp 0x471641
jmp 0x4709b0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x18
jne 0x4709b0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x130], 0
je 0x470978
cmp dword [ebp - 0x130], 1
je 0x470994
jmp 0x4709b0
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov edx, dword [ebp - 0x104]
mov eax, dword [edx - 8]
mov edx, dword [eax + 0x68]
call edx
jmp 0x471641
mov ecx, dword [ebp - 0x104]
sub ecx, 8
mov eax, dword [ebp - 0x104]
mov edx, dword [eax - 8]
mov eax, dword [edx + 0x6c]
call eax
jmp 0x471641
mov ecx, dword [ebp - 0x104]
cmp dword [ecx + 0x32c], 0
jne 0x4709d2
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x330], 0
je 0x471632
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xe
jne 0x470bfc
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x188]
call edx
movzx eax, al
test eax, eax
je 0x470bfc
push 0
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00474fc0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [edx + 0x10]
push ecx
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x470afe
mov eax, dword [ebp - 0x104]
mov byte [eax + 0x329], 1
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x334]
or edx, 0x40
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x334], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x338], edx
mov dword [ecx + 0x33c], eax
mov edx, dword [ebp - 0x104]
add edx, 0x58
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x104]
movzx ecx, byte [eax + 0x328]
test ecx, ecx
jne 0x470af9
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x44], 0
je 0x470af9
mov eax, dword [ebp - 0x104]
sub eax, 8
je 0x470ada
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x134], ecx
jmp 0x470ae4
mov dword [ebp - 0x134], 0
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x44]
call fcn.00507faf
jmp 0x471641
push 0
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00475230
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [edx + 0x10]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x470bfc
mov eax, dword [ebp - 0x104]
mov byte [eax + 0x329], 0
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x334]
or edx, 0x40
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x334], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x104]
mov dword [ecx + 0x338], edx
mov dword [ecx + 0x33c], eax
mov edx, dword [ebp - 0x104]
add edx, 0x58
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x104]
movzx ecx, byte [eax + 0x328]
test ecx, ecx
jne 0x470bf7
mov edx, dword [ebp - 0x104]
cmp dword [edx + 0x44], 0
je 0x470bf7
mov eax, dword [ebp - 0x104]
sub eax, 8
je 0x470bd8
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x138], ecx
jmp 0x470be2
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x44]
call fcn.00507faf
jmp 0x471641
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0xf
jne 0x470cc9
mov edx, dword [ebp - 0x104]
mov eax, dword [edx + 0x334]
and eax, 0x40
je 0x470cc9
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x334]
and edx, 0xffffffbf
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x334], edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x340
mov edx, dword [ebp - 0x104]
add edx, 0x58
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x104]
movzx eax, byte [edx + 0x328]
test eax, eax
jne 0x470cb9
mov ecx, dword [ebp - 0x104]
cmp dword [ecx + 0x44], 0
je 0x470cb9
mov edx, dword [ebp - 0x104]
sub edx, 8
je 0x470c9a
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x13c], eax
jmp 0x470ca4
mov dword [ebp - 0x13c], 0
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x44]
call fcn.00507fda
mov ecx, dword [ebp - 0x104]
call fcn.0050293a
jmp 0x471641
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa
jne 0x471572
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x334]
and edx, 0x40
je 0x471572
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x10]
sub edx, dword [ecx + 0x338]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x33c]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x338], ecx
mov dword [eax + 0x33c], edx
mov ecx, dword [ebp - 0x104]
add ecx, 0x340
mov edx, dword [ecx]
mov dword [ebp - 0xbc], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], eax
mov edx, dword [ecx + 8]
mov dword [ebp - 0xb4], edx
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x329]
test edx, edx
je 0x471176
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x32c], 0
jle 0x470ef2
cmp dword [ebp - 0xac], 0
jle 0x470dbb
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [ecx + 0x348]
sub eax, dword [edx + 0x32c]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x10], eax
jge 0x470dbb
jmp 0x471641
cmp dword [ebp - 0xac], 0
jge 0x470ddd
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x104]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x348]
jle 0x470ddd
jmp 0x471641
mov edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
mov esi, dword [ebp - 0xb4]
sub esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x104]
call eax
cmp esi, eax
jg 0x470e6e
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov esi, dword [ecx + 0x348]
sub esi, dword [edx + 0x340]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x104]
call eax
cmp esi, eax
jg 0x470e4c
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x104]
call edx
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0xb4]
sub esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
cmp esi, eax
jl 0x470eed
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov esi, dword [ecx + 0x348]
sub esi, dword [edx + 0x340]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
cmp esi, eax
jl 0x470ecb
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x10c]
call edx
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
jmp 0x471056
cmp dword [ebp - 0xac], 0
jle 0x470f14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x10]
cmp edx, dword [ecx + 0x340]
jge 0x470f14
jmp 0x471641
cmp dword [ebp - 0xac], 0
jge 0x470f42
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x340]
sub edx, dword [ecx + 0x32c]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], edx
jle 0x470f42
jmp 0x471641
mov ecx, dword [ebp - 0xbc]
add ecx, dword [ebp - 0xac]
mov dword [ebp - 0xbc], ecx
mov esi, dword [ebp - 0xb4]
sub esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x104]
call edx
cmp esi, eax
jg 0x470fd5
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov esi, dword [eax + 0x348]
sub esi, dword [ecx + 0x340]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x104]
call edx
cmp esi, eax
jg 0x470fb1
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0xb4]
sub ecx, eax
mov dword [ebp - 0xbc], ecx
mov esi, dword [ebp - 0xb4]
sub esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x10c]
call edx
cmp esi, eax
jl 0x471056
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov esi, dword [eax + 0x348]
sub esi, dword [ecx + 0x340]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x10c]
call edx
cmp esi, eax
jl 0x471032
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x10c]
call eax
mov ecx, dword [ebp - 0xb4]
sub ecx, eax
mov dword [ebp - 0xbc], ecx
push 1
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00474fc0
push eax
lea ecx, [ebp - 0xd0]
call fcn.004f992e
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x348]
sub edx, dword [ecx + 0x340]
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x80], edx
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x328]
test edx, edx
je 0x471110
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [ebp - 0x104]
add ecx, 0x58
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x104]
call fcn.0050293a
jmp 0x471171
push 1
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00474fc0
push eax
lea ecx, [ebp - 0xd0]
call fcn.004f99a2
push 0
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00474fc0
push eax
lea ecx, [ebp - 0xd0]
call fcn.004f99a2
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x44], 0
je 0x471171
lea ecx, [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x44]
call fcn.00507bfb
jmp 0x47156d
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x330], 0
jle 0x4712ee
cmp dword [ebp - 0xc0], 0
jle 0x4711b7
mov ecx, dword [ebp - 0x104]
mov edx, dword [ecx + 0x34c]
mov eax, dword [ebp - 0x104]
add edx, dword [eax + 0x330]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], edx
jge 0x4711b7
jmp 0x471641
cmp dword [ebp - 0xc0], 0
jge 0x4711d9
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x104]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x34c]
jle 0x4711d9
jmp 0x471641
mov edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0xc0]
mov dword [ebp - 0xb0], edx
mov esi, dword [ebp - 0xb0]
sub esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x114]
call eax
cmp esi, eax
jg 0x47126a
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov esi, dword [ecx + 0x34c]
sub esi, dword [edx + 0x344]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x114]
call eax
cmp esi, eax
jg 0x471248
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x114]
call edx
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
mov esi, dword [ebp - 0xb0]
sub esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x11c]
call eax
cmp esi, eax
jl 0x4712e9
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov esi, dword [ecx + 0x34c]
sub esi, dword [edx + 0x344]
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x11c]
call eax
cmp esi, eax
jl 0x4712c7
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x11c]
call edx
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xb0], eax
jmp 0x471452
cmp dword [ebp - 0xc0], 0
jle 0x471310
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x14]
cmp edx, dword [ecx + 0x344]
jge 0x471310
jmp 0x471641
cmp dword [ebp - 0xc0], 0
jge 0x47133e
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 0x344]
mov edx, dword [ebp - 0x104]
add ecx, dword [edx + 0x330]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], ecx
jle 0x47133e
jmp 0x471641
mov ecx, dword [ebp - 0xb8]
add ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], ecx
mov esi, dword [ebp - 0xb0]
sub esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x114]
call edx
cmp esi, eax
jg 0x4713d1
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov esi, dword [eax + 0x34c]
sub esi, dword [ecx + 0x344]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x114]
call edx
cmp esi, eax
jg 0x4713ad
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x114]
call eax
mov ecx, dword [ebp - 0xb0]
sub ecx, eax
mov dword [ebp - 0xb8], ecx
mov esi, dword [ebp - 0xb0]
sub esi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x11c]
call edx
cmp esi, eax
jl 0x471452
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov esi, dword [eax + 0x34c]
sub esi, dword [ecx + 0x344]
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x11c]
call edx
cmp esi, eax
jl 0x47142e
jmp 0x471641
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x104]
mov edx, dword [eax]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0xb0]
sub ecx, eax
mov dword [ebp - 0xb8], ecx
push 1
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00475230
push eax
lea ecx, [ebp - 0xe0]
call fcn.004f992e
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xb8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xb4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x104]
mov edx, dword [eax + 0x34c]
sub edx, dword [ecx + 0x344]
mov eax, dword [ebp - 0x104]
mov dword [eax + 0x84], edx
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x328]
test edx, edx
je 0x47150c
mov eax, dword [ebp - 0x104]
add eax, 0x340
mov ecx, dword [ebp - 0x104]
add ecx, 0x58
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x104]
call fcn.0050293a
jmp 0x47156d
push 1
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00475230
push eax
lea ecx, [ebp - 0xe0]
call fcn.004f99a2
push 0
lea edx, [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00475230
push eax
lea ecx, [ebp - 0xe0]
call fcn.004f99a2
mov eax, dword [ebp - 0x104]
cmp dword [eax + 0x44], 0
je 0x47156d
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0x104]
mov ecx, dword [edx + 0x44]
call fcn.00507bfb
jmp 0x471641
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x1d
jne 0x471632
mov ecx, dword [ebp - 0x104]
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
mov edx, dword [eax + 0x188]
call edx
movzx eax, al
test eax, eax
je 0x471632
push 0
lea ecx, [ebp - 0x100]
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00474fc0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [edx + 0x10]
push ecx
lea edx, [ebp - 0x100]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4715e9
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x471641
push 0
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x104]
sub ecx, 8
call fcn.00475230
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x471632
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x471641
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x104]
call fcn.0051fc39
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053ea90
mov esp, ebp
pop ebp
ret 4