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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d457
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
lea ecx, [eax + 0x90]
mov dword [esp + 0x74], ecx
mov dword [esp], ecx
call fcn.00473600
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x66d442
mov ecx, dword [eax + 0x34]
cmp dword [eax + 0x10], ecx
jl 0x66d3fa
movzx edx, byte [eax + 0x88]
test dl, dl
je 0x66cdb2
mov ebx, eax
jmp 0x66d0b7
movzx edx, byte [esp + 0x84]
test dl, dl
je 0x66cf41
test ecx, ecx
jne 0x66ce01
movzx ebx, byte [eax + 0x19]
test bl, bl
je 0x66cdd2
test dl, dl
jmp 0x66ce03
mov byte [eax + 0x88], 1
mov byte [eax + 0x8a], 1
mov byte [eax + 0x89], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
test dl, dl
je 0x66cf41
test ecx, ecx
je 0x66cf41
mov edx, dword [eax + 0x38]
mov ebx, dword [eax + 0x30]
mov ebp, dword [eax + 0x3c]
mov esi, dword [eax + 0x44]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], esi
call fcn.0066e270
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov ebp, dword [0x9eca70]
test ebp, ebp
je 0x66ce71
call fcn.00468460
mov dword [edi], edx
mov ebp, dword [ebx + 0x3c]
mov dword [edi + 4], ebp
mov dword [ebx + 0x3c], edx
mov ebp, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov ebp, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x60], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66cebb
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [ebx + 0x64]
mov dword [edi + 4], eax
mov dword [ebx + 0x64], ecx
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x66ced7
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov ebp, edx
sar edx, 0x1f
add eax, ebp
mov dword [ebx + 0x70], eax
adc ecx, edx
mov dword [ebx + 0x74], ecx
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x34]
mov ebp, edx
sar edx, 0x1f
add ebp, eax
mov dword [ebx + 0x78], ebp
adc edx, ecx
mov dword [ebx + 0x7c], edx
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x34], 0
mov byte [ebx + 0x88], 1
mov byte [ebx + 0x8a], 1
mov byte [ebx + 0x89], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
lea eax, [0x6dfa00]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x58]
mov ecx, dword [ecx + 0x2c]
mov ebx, dword [eax + 0x80]
mov ebp, dword [eax + 0x84]
mov esi, dword [esp + 4]
mov dword [esp + 0x78], esi
mov dword [esp], edx
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x66cf92
mov ecx, dword [ecx]
jmp 0x66cf94
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0xc]
lea edi, [esp + 0x4c]
mov ebx, eax
xor eax, eax
call fcn.004686fb
mov ecx, dword [ebx + 0x80]
mov ebp, dword [ebx + 0x84]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edx
movzx ecx, byte [ebx + 0x18]
mov byte [esp + 0x59], cl
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x5c], ecx
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.00468bde
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xe
call fcn.00670aa0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x66d3e0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xa0]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x40], ebp
mov byte [eax + 0x88], 1
mov dword [esp], ecx
call fcn.00473600
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x80]
mov dword [ebx + 0x60], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66d094
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [ebx + 0x64]
mov dword [edi + 4], eax
mov dword [ebx + 0x64], ecx
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x66d3ce
mov eax, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
mov ebp, edx
sar edx, 0x1f
add eax, ebp
mov dword [ebx + 0x70], eax
adc ecx, edx
mov dword [ebx + 0x74], ecx
movzx eax, byte [ebx + 0x89]
test al, al
je 0x66d0c6
xor eax, eax
jmp 0x66d0ce
movzx eax, byte [esp + 0x84]
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x38]
mov ebp, dword [ebx + 0x30]
test ecx, ecx
jne 0x66d20f
test al, al
je 0x66d1f7
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
nop
mov dword [eax + 0x54], 0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x5c], 0
mov byte [eax + 0x7c], 0
mov ecx, dword [0x9eca70]
test ecx, ecx
je 0x66d134
mov ecx, dword [eax + 0x38]
call fcn.00468450
mov dword [edi], ecx
mov dword [esp + 0x68], eax
mov dword [eax + 0x38], 0
mov byte [eax + 0x7c], 1
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00651cf0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xa0]
mov dword [esp], ecx
call fcn.00473600
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov ecx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
mov edi, dword [ebx + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x60], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x66d1cf
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [edx + 0x64]
mov dword [edi + 4], eax
mov dword [edx + 0x64], ecx
mov eax, dword [edx + 0x70]
mov ecx, dword [edx + 0x74]
mov ebx, dword [esp + 0x68]
mov ebx, dword [ebx + 0x5c]
mov ebp, ebx
sar ebx, 0x1f
add ebp, eax
mov dword [edx + 0x70], ebp
adc ebx, ecx
mov dword [edx + 0x74], ebx
mov byte [edx + 0x89], 1
mov ebx, edx
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov byte [esp + 0x37], al
mov esi, dword [ebx + 0x50]
mov edi, dword [ebx + 0x48]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], esi
mov esi, dword [0x9eca70]
test esi, esi
je 0x66d257
mov dword [esp + 0x44], eax
mov esi, edi
call fcn.00468460
mov dword [edi], esi
mov eax, dword [ebx + 0x30]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x44]
mov edi, esi
mov dword [ebx + 0x30], edi
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], edx
mov ecx, dword [0x9eca70]
test ecx, ecx
je 0x66d277
call fcn.00468460
mov dword [edi], ebp
mov ecx, dword [ebx + 0x3c]
mov dword [edi + 4], ecx
mov dword [ebx + 0x3c], ebp
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x4c], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [0x9eca70]
test eax, eax
jne 0x66d294
mov eax, dword [esp + 0x70]
jmp 0x66d2a5
call fcn.00468460
mov eax, dword [esp + 0x70]
mov dword [edi], eax
mov ecx, dword [ebx + 0x48]
mov dword [edi + 4], ecx
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
mov edx, dword [ebx + 0x40]
mov ebp, edx
sar edx, 0x1f
lea esi, [ebx + 0x28]
mov dword [esp + 0x60], esi
add ebp, eax
mov dword [ebx + 0x78], ebp
adc edx, ecx
mov dword [ebx + 0x7c], edx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00473480
lea eax, [0x6ffc60]
mov dword [esp], eax
call fcn.0040c5b0
mov eax, dword [esp + 4]
lea ecx, [0x66d4c0]
mov dword [eax], ecx
movzx ecx, byte [esp + 0x37]
mov byte [eax + 4], cl
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x66d314
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x80]
jmp 0x66d329
call fcn.00468460
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov edx, dword [esp + 0x80]
mov dword [edi + 4], edx
mov dword [esp + 0x6c], eax
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [edx + 0x3c]
mov dword [esp + 0x70], ecx
mov ebx, dword [edx + 0x40]
mov dword [esp + 0x48], ebx
mov edx, dword [edx + 0x44]
mov dword [esp + 0x44], edx
lea ebp, [0x6f8540]
mov dword [esp], ebp
call fcn.0040c5b0
mov eax, dword [esp + 4]
lea ecx, [0x66d470]
mov dword [eax], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x66d372
mov ecx, dword [esp + 0x6c]
jmp 0x66d37d
call fcn.00468450
mov ecx, dword [esp + 0x6c]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x9eca70]
test ecx, ecx
jne 0x66d39e
mov ecx, dword [esp + 0x70]
jmp 0x66d3a9
call fcn.00468450
mov ecx, dword [esp + 0x70]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp], eax
call fcn.00444470
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x7c
ret
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
lea eax, [0x73d22b]
mov dword [esp], eax
mov dword [esp + 4], 0x19
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004c3fd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
add esp, 0x7c
ret
mov eax, dword [eax + 0x64]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x7c
ret
call fcn.00467050
jmp fcn.0066cd50