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

Disassembly:
mov ecx, dword [0x99504c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x66bd0a
sub esp, 0xac
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x66b761
mov edx, dword [eax + 0x7c]
jmp 0x66b76d
lea ecx, [0x7b23f0]
lea edx, [0x994f00]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x24], ecx
mov ebx, dword [eax + 0x20]
test ebx, ebx
je 0x66b7bb
lea ebp, [0x7b1c14]
cmp ebx, ebp
je 0x66b78a
xor ebx, ebx
jmp 0x66b7c0
mov ecx, dword [eax + 0x24]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [0x994f00]
mov dword [esp + 8], ecx
call fcn.00404290
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, dword [esp + 0xb4]
jmp 0x66b7c0
mov ebx, 1
test bl, bl
je 0x66b7ca
xor ebp, ebp
xor ebx, ebx
jmp 0x66b7f4
mov ebx, dword [eax + 0x2c]
mov ebp, dword [eax + 0x30]
test ebx, ebx
xchg esi, ebx
setne bl
xchg esi, ebx
test ebp, ebp
xchg edi, ebx
setne bl
xchg edi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x66b7f4
mov ebp, 0xffffffff
mov ebx, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebp
mov eax, dword [ecx + 0x1c]
mov dword [esp], edx
lea esi, [0x6fa900]
mov dword [esp + 4], esi
lea esi, [0x994f00]
mov dword [esp + 8], esi
call eax
lea eax, [0x706ec0]
cmp dword [esp + 0xc], eax
jne 0x66b82a
mov eax, dword [esp + 0x10]
jmp 0x66b82c
xor eax, eax
mov dword [esp + 0x40], eax
lea ecx, [0x6ee120]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405010
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
lea ecx, [0x6ee120]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405010
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
lea ecx, [0x6ee120]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405010
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
lea ecx, [0x6ee120]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.00405010
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
lea ecx, [0x732300]
mov dword [esp], ecx
call fcn.0040c500
mov eax, dword [0x995310]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x66b8cd
mov eax, dword [esp + 0xb0]
jmp 0x66b8db
call fcn.00468e60
mov eax, dword [esp + 0xb0]
mov dword [edi], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], edx
mov ebx, dword [0x995310]
test ebx, ebx
jne 0x66b8f4
mov ebx, dword [esp + 0x3c]
jmp 0x66b8ff
call fcn.00468e60
mov ebx, dword [esp + 0x3c]
mov dword [edi], ebx
mov dword [ecx + 8], ebx
mov ebp, dword [0x995310]
mov esi, dword [esp + 0xb4]
mov edi, dword [esi + 0x70]
test ebp, ebp
je 0x66b921
mov ebp, edi
call fcn.00468e60
mov dword [edi], ebp
mov edi, ebp
mov dword [ecx + 0xc], edi
cmp dword [esi + 4], 4
jne 0x66b93c
mov ebp, dword [esi]
cmp dword [ebp], 0x44414548
xchg ebp, ebx
sete bl
xchg ebp, ebx
jmp 0x66b93e
xor ebp, ebp
xchg ebp, eax
mov byte [ecx + 0x65], al
xchg ebp, eax
mov ebp, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov dword [ecx + 0xb4], ebp
mov ebp, dword [0x995310]
test ebp, ebp
je 0x66b964
mov ebp, edi
call fcn.00468e60
mov dword [edi], ebp
mov edi, ebp
mov dword [ecx + 0xb8], edi
mov ebp, dword [esp + 0x20]
mov dword [ecx + 0xbc], ebp
mov ebp, dword [esp + 0x28]
mov dword [ecx + 0xc0], ebp
mov ebp, dword [0x995310]
test ebp, ebp
jne 0x66b99e
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
jmp 0x66b9c5
call fcn.00468ea0
mov ebp, dword [esp + 0x40]
mov dword [edi], ebp
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov ebx, dword [esp + 0x60]
mov dword [edi + 8], ebx
mov edx, dword [esp + 0x5c]
mov dword [edi + 0xc], edx
mov esi, dword [esp + 0x58]
mov dword [edi + 0x10], esi
mov dword [esp + 0x48], ecx
mov dword [ecx + 0x10], ebp
mov dword [ecx + 0x80], eax
mov dword [ecx + 0x74], ebx
mov dword [ecx + 0x8c], edx
mov dword [ecx + 0x84], esi
lea eax, [0x707ca0]
mov dword [esp], eax
call fcn.0040c500
mov eax, dword [esp + 4]
lea ecx, [0x66bfe0]
mov dword [eax], ecx
mov ecx, dword [0x995310]
test ecx, ecx
jne 0x66ba12
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xb4]
jmp 0x66ba27
call fcn.00468e70
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov edx, dword [esp + 0xb4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.004448d0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x66bed0]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
lea edi, [esp + 0x78]
mov ebx, eax
xor eax, eax
call fcn.004690fb
lea ecx, [0x66bd20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], ecx
mov ebp, dword [ebx + 0x8c]
mov dword [esp + 0x54], ebp
mov esi, dword [ebx + 0x74]
mov dword [esp + 0x50], esi
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0xc]
lea edi, [esp + 0x8c]
mov ebx, eax
xor eax, eax
call fcn.004690f8
mov eax, dword [esp + 0x54]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x8c], edx
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 4
mov byte [esp + 0x14], 1
call fcn.0044b120
mov eax, dword [esp + 0x18]
test eax, eax
je 0x66bc99
cmp eax, 1
je 0x66bc20
cmp eax, 2
jne 0x66bbef
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x8c]
mov dword [esp], 0
mov dword [esp + 4], ecx
call fcn.00406510
movzx eax, byte [esp + 8]
test al, al
je 0x66bbbb
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x78]
call eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebx
add esp, 0xac
ret
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x68]
call eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
add esp, 0xac
ret
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x78]
call eax
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebx
add esp, 0xac
ret
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.00667870
mov eax, dword [0x758ac4]
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
lea edx, [0x758ac4]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xac
ret
mov eax, dword [0x9674c8]
mov ecx, dword [0x9674cc]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00667870
mov eax, dword [0x9674c8]
mov ecx, dword [0x758ac4]
mov edx, dword [0x9674cc]
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
lea edx, [0x758ac4]
call ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
add esp, 0xac
ret
call fcn.00467a60
jmp fcn.0066b730