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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xb0]
cmp eax, dword [ecx + 8]
jbe 0x66ef8c
sub esp, 0x130
mov eax, 0
mov dword [esp + 0x12c], eax
mov byte [esp + 0x37], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov eax, dword [esp + 0x13c]
test eax, eax
jne 0x66e3ac
mov eax, dword [esp + 0x134]
movzx eax, byte [eax + 0x19]
test al, al
jne 0x66e2fb
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
mov edx, dword [esp + 0x144]
jmp 0x66e390
lea edi, [esp + 0xc4]
lea esi, [0x7ab6cc]
call fcn.00468bde
lea edi, [esp]
lea esi, [esp + 0xc4]
call fcn.00468bde
mov eax, dword [esp + 0x144]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x1c], eax
call fcn.00670aa0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ecx, 3
nop
mov edx, dword [esp + 0x20]
cmp eax, ecx
jae 0x66e384
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
lea eax, [0x6e4500]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [ecx + edx - 3], 1
mov word [ecx + edx - 2], 0
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], ecx
mov dword [esp + 0x158], eax
add esp, 0x130
ret
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
lea eax, [0x67a900]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x118], eax
test byte [eax], al
lea ecx, [eax + 0xb0]
mov dword [esp], ecx
lea ecx, [esp + 0x114]
mov dword [esp + 4], ecx
call fcn.004721b0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x24]
mov dword [esp], ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 4], ecx
call fcn.00405d70
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea edx, [0x66efa0]
mov dword [esp + 0x11c], edx
mov edx, dword [esp + 0x134]
mov dword [esp + 0x120], edx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
lea ebx, [esp + 0x11c]
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x37], 1
mov ebx, dword [esp + 0x13c]
cmp ebx, 0x100000
jge 0x66e4bf
cmp ebx, 0x400
xchg ebp, ebx
setg bl
xchg ebp, ebx
jmp 0x66e4c1
xor ebp, ebp
mov esi, dword [edx + 8]
test esi, esi
je 0x66e4cb
movzx ebp, byte [esi]
mov dword [esp + 0x58], eax
mov dword [esp + 0xe8], ecx
xchg ebp, eax
mov byte [esp + 0x36], al
xchg ebp, eax
mov edx, dword [eax + 0x2c]
mov dword [esp], ecx
mov esi, ebx
sar ebx, 0x1f
mov dword [esp + 0x7c], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
call edx
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x66e507
mov ecx, dword [ecx]
jmp 0x66e509
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0xb0]
mov ebx, eax
xor eax, eax
call fcn.004686fb
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0xb0], ecx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], edx
movzx edx, byte [esp + 0x36]
mov byte [esp + 0xbc], dl
movzx edx, byte [ebx + 0x18]
mov byte [esp + 0xbd], dl
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x148]
test edx, edx
jne 0x66e5d1
mov eax, dword [esp + 0x14c]
test eax, eax
jne 0x66e5c8
cmp ecx, 0x100000
jge 0x66e5bf
movzx ebp, byte [ebx + 0x1e]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x66e594
mov ebp, dword [esp + 0x144]
jmp 0x66e5df
lea eax, [0x6e4500]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
xor edx, edx
mov ebp, eax
mov eax, dword [esp + 0x13c]
jmp 0x66e5df
mov ebp, dword [esp + 0x144]
jmp 0x66e5df
mov ebp, dword [esp + 0x144]
jmp 0x66e5df
mov eax, dword [esp + 0x14c]
mov ebp, dword [esp + 0x144]
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.00468bde
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00670aa0
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x66ef64
mov eax, dword [esp + 0x20]
mov dword [esp + 0x108], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x13c]
cmp ebx, 0x20000
jle 0x66e6f1
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x134]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0xe8]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov byte [esp + 8], 0
call ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xe8]
mov ebx, dword [esp + 0x134]
mov ebp, dword [esp + 0x108]
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x74]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x40], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x138]
mov dword [esp + 0xd8], edx
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x98]
jmp 0x66ebe0
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x134]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0xe8]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov byte [esp + 8], 1
call ecx
mov eax, dword [esp + 0x134]
movzx ecx, byte [eax + 0x18]
test cl, cl
je 0x66e766
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x13c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x140]
mov dword [esp + 0xc], edx
call fcn.0064c410
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xec], eax
mov byte [eax + 0x7c], 1
mov ecx, dword [esp + 0x134]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x66e7d0
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x138]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x13c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x140]
mov dword [esp + 0x10], edi
call edx
jmp 0x66e808
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov ebp, dword [esp + 0x138]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x13c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x140]
mov dword [esp + 0x10], edi
call edx
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x48], ecx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x4c], ebx
mov ebp, dword [eax + 0x58]
mov dword [esp + 0xdc], ebp
mov esi, dword [esp + 0x13c]
cmp dword [eax + 8], esi
jne 0x66e856
mov edi, dword [0x9a42a0]
mov edx, dword [0x9a42a4]
mov ebp, dword [esp + 0x134]
cmp dword [ebp + 0x10], esi
je 0x66e8ef
mov ebp, dword [esp + 0xdc]
mov edx, dword [esp + 0x78]
mov dword [eax + 0x5c], edx
mov edi, dword [esp + 0x74]
mov dword [eax + 0x60], edi
mov edi, dword [0x9eca70]
test edi, edi
je 0x66e882
call fcn.00468460
mov edx, dword [esp + 0x108]
mov dword [edi], edx
mov ebp, dword [eax + 0x58]
mov dword [edi + 4], ebp
mov ecx, dword [esp + 0x108]
mov dword [eax + 0x58], ecx
mov edx, dword [esp + 0x134]
movzx ebx, byte [edx + 0x1a]
movzx ebp, byte [edx + 0x1b]
mov dword [esp], eax
mov edi, dword [esp + 0x138]
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov esi, dword [esp + 0x140]
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], bl
xor ebp, 1
xchg ebp, eax
mov byte [esp + 0x11], al
xchg ebp, eax
call fcn.006528f0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x134]
mov esi, dword [esp + 0x13c]
cmp dword [0x9a42a0], edi
jne 0x66e942
mov dword [esp + 0x54], edi
mov dword [esp + 0xe4], edx
mov eax, dword [0x9a42a4]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66e955
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x134]
mov edi, dword [esp + 0x54]
test edi, edi
jne 0x66eb5f
mov esi, dword [eax + 0x58]
mov edi, dword [eax + 0x5c]
mov edx, dword [eax + 0x60]
jmp 0x66e9c2
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x13c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x18], ecx
call fcn.00651e70
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x134]
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ebx
mov ecx, dword [0x9eca70]
test ecx, ecx
je 0x66e9f1
mov ecx, edi
call fcn.00468460
mov ebx, dword [esp + 0xdc]
mov dword [edi], ebx
mov ebp, dword [eax + 0x58]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x134]
mov edi, ecx
mov ecx, dword [esp + 0xdc]
mov dword [eax + 0x58], ecx
movzx eax, byte [ebp + 0x18]
test al, al
je 0x66ea35
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
call eax
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x134]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x66eaef
mov dword [esp + 0x70], edx
mov dword [esp + 0x104], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], eax
mov ecx, edi
sar edi, 0x1f
mov edx, eax
sar eax, 0x1f
mov dword [esp + 0x3c], eax
mov dword [esp + 4], edi
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
call fcn.004604b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
sete dl
test eax, eax
sete bl
and edx, ebx
test dl, dl
jne 0x66eaa2
mov edx, dword [esp + 0x78]
mov ebx, edx
sub edx, eax
mov eax, dword [esp + 0x3c]
mov ebp, eax
sbb eax, ecx
jmp 0x66eb3a
xor eax, eax
mov ecx, dword [0x9c4c90]
mov edx, dword [0x9c4c94]
mov ebx, dword [esp + 0x104]
mov dword [esp], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00671050
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x66eb1b
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], edi
mov dword [esp + 0x158], edx
mov byte [esp + 0x37], 0
mov edx, dword [esp + 0x12c]
mov eax, dword [edx]
call eax
add esp, 0x130
ret
mov eax, dword [esp + 0x24]
test eax, eax
je 0x66eb26
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004386b0
add edx, ebx
adc eax, ebp
test eax, eax
setl cl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp edx, 8
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, esi
or ecx, edi
test cl, cl
jne 0x66eb36
mov eax, edx
jmp 0x66eaa4
je 0x66eb64
mov edi, dword [edi + 4]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.004386b0
mov dword [ebx + 0x38], 0
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0x134]
mov edx, esi
mov ebx, edi
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x80], ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 0xd8], ebp
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x90]
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x108], ebp
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x66ef2f
mov dword [esp + 0x68], edi
mov edi, dword [ebx + 0x10]
cmp ebp, edi
jle 0x66ec0b
mov ebx, dword [esp + 0x44]
cmp ebx, edi
jae 0x66ec11
jmp 0x66ef5b
mov ebx, dword [esp + 0x44]
mov edi, ebp
cmp edi, ebp
ja 0x66ef52
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], edi
sub ebx, edi
mov dword [esp + 0x78], ebx
neg ebx
sar ebx, 0x1f
and ebx, edi
mov edx, dword [esp + 0x134]
movzx esi, byte [edx + 0x18]
sub ebp, edi
mov dword [esp + 0x74], ebp
mov edx, dword [esp + 0xd8]
add ebx, edx
mov dword [esp + 0x100], ebx
xchg esi, eax
test al, al
xchg esi, eax
je 0x66eca1
mov eax, dword [ecx + 0x18]
mov edx, dword [esp + 0xe8]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], edx
call fcn.0064c410
mov eax, dword [esp + 0xf0]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xd8]
mov edi, dword [esp + 0x40]
test byte [eax], al
lea ebx, [eax + 0x70]
mov dword [esp + 0xfc], ebx
lea esi, [eax + 0x64]
mov dword [esp + 0xf8], esi
nop
mov ebp, edi
mov edi, ebx
call fcn.00468bf2
mov ecx, dword [esp + 0x58]
mov esi, dword [ecx + 0x1c]
mov ebx, dword [esp + 0xe8]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x10], ebx
call esi
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x66ecfd
mov ecx, dword [esp + 0xf0]
mov byte [ecx + 0x7c], 1
jmp 0x66ed04
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x40]
cmp dword [ecx + 8], edx
je 0x66ed16
mov esi, dword [esp + 0x134]
jmp 0x66ed2e
mov ebx, dword [0x9a42a0]
mov ebp, dword [0x9a42a4]
mov esi, dword [esp + 0x134]
cmp dword [esi + 0x10], edx
je 0x66ed7e
movzx eax, byte [esi + 0x1a]
movzx ebx, byte [esi + 0x1b]
mov dword [esp], ecx
mov ebp, dword [esp + 0xd8]
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov edi, dword [esp + 0x44]
mov dword [esp + 0xc], edi
mov byte [esp + 0x10], al
xor ebx, 1
mov byte [esp + 0x11], bl
call fcn.006528f0
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x134]
cmp dword [0x9a42a0], ebx
jne 0x66edd1
mov dword [esp + 0xe0], ebp
mov dword [esp + 0x50], ebx
mov eax, dword [0x9a42a4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x66ee77
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0xf0]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0xe0]
mov esi, dword [esp + 0x134]
test ebx, ebx
jne 0x66ef41
mov edx, dword [ecx + 0x5c]
mov ebx, dword [esp + 0x64]
lea ebp, [ebx + edx]
mov edi, dword [ecx + 0x58]
mov esi, dword [esp + 0x68]
cmp esi, ebp
jae 0x66ee44
mov dword [esp + 0xf4], edi
mov dword [esp + 0x60], edx
mov eax, dword [esp + 0x108]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
lea eax, [0x6e4500]
mov dword [esp + 0x10], eax
call fcn.0044e230
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x108], ebp
mov esi, edi
mov ebp, eax
mov edi, dword [esp + 0xf4]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebp
mov eax, dword [esp + 0x108]
lea ecx, [eax + ebx]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
call fcn.00468df0
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x108]
jmp 0x66eee4
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov ecx, dword [esp + 0x108]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], ecx
call fcn.00651e70
nop
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], ecx
mov edi, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
call fcn.00468bf2
mov ecx, dword [esp + 0x60]
nop
mov ebx, dword [esp + 0xf0]
mov dword [ebx + 0x54], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x5c], 0
mov byte [ebx + 0x7c], 0
mov edx, dword [0x9eca70]
test edx, edx
je 0x66eb70
mov edx, dword [ebx + 0x38]
call fcn.00468450
mov dword [edi], edx
jmp 0x66eb70
mov ebp, ebx
mov edx, edi
mov edi, esi
mov esi, dword [esp + 0x108]
jmp 0x66e9fb
je 0x66ef46
mov ebx, dword [ebx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.004386b0
mov eax, edi
mov ecx, ebp
call fcn.00468520
mov ecx, edi
mov edx, ebx
call fcn.00468500
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x66ef6f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004386b0
nop
call fcn.00437c30
add esp, 0x130
ret
call fcn.00467050
jmp fcn.0066e270