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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x66d9a3
sub esp, 0x70
mov eax, dword [esp + 0x78]
test eax, eax
je 0x66d1fe
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x841a1c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.004e79c0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x66d18f
lea ecx, [eax + 1]
mov edx, dword [esp + 0x78]
cmp edx, ecx
je 0x66d163
mov dword [esp + 0x5c], eax
mov dword [esp + 0x28], ecx
lea eax, [0x758440]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
je 0x66d158
mov edx, dword [esp + 0x78]
cmp edx, ecx
jb 0x66d99d
mov ebx, dword [esp + 0x74]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x66d8f5
mov ecx, dword [esp + 0x78]
xor edx, edx
jmp 0x66d22b
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
lea eax, [edx - 1]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d1ba
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d1c3
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x28]
xor edi, edi
mov edi, 0x48
mov dword [esp + 0x4c], edi
mov edi, pe_nt_image_headers32
mov dword [esp + 0x34], edi
xor edi, edi
jmp 0x66d27e
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x58]
mov dword [eax + edx*4], ebx
mov edx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x30]
mov edi, ecx
mov ecx, dword [esp + 0x30]
mov edx, esi
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
cmp ebx, esi
jle 0x66d456
mov dword [esp + 0x2c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x20], eax
mov eax, 0x24
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x60]
jmp 0x66d4c6
mov edx, dword [esp + 0x2c]
cmp edx, 0x400
jge 0x66d67d
mov ebx, dword [esp + 0x3c]
mov ebp, edi
sub edi, ebx
test ebx, ebx
jne 0x66d2e0
mov eax, 0x5d9f7391
mov ebx, edx
imul edi
sar edx, 8
sar edi, 0x1f
sub edx, edi
jmp 0x66d2ef
mov ebx, edi
shr edi, 0x1f
add ebx, edi
sar ebx, 1
mov eax, ebx
mov ebx, edx
mov edx, eax
inc ebx
test ebx, ebx
je 0x66d8df
mov eax, edx
mov esi, eax
cmp ebx, 0xffffffff
je 0x66d306
cdq
idiv ebx
jmp 0x66d308
neg eax
lea edx, [esi + eax]
xor eax, eax
jmp 0x66d84c
lea esi, [edx + edx*8]
cmp edx, 0xffffffda
je 0x66d8da
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], edx
mov edi, eax
mov eax, ebp
cmp ebx, 0xffffffff
je 0x66d334
cdq
idiv ebx
jmp 0x66d336
neg eax
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, ebp
mov ebp, edx
cmp ebx, 0xffffffff
je 0x66d34a
cdq
idiv ebx
jmp 0x66d34c
xor edx, edx
mov dword [esp + 0x3c], edx
shl esi, 2
mov edx, dword [esp + 0x44]
add edx, 0x26
mov eax, esi
mov ebx, edx
cmp ebx, 0xffffffff
je 0x66d368
cdq
idiv ebx
jmp 0x66d36a
neg eax
lea edx, [eax + edi]
cmp ebp, 0x10ffff
ja 0x66d859
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], ebp
mov ebx, dword [esp + 0x5c]
cmp ecx, ebx
jb 0x66d38f
mov eax, dword [esp + 0x68]
jmp 0x66d3c9
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x758440]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x58]
mov dword [eax + ebx*4 - 4], 0
mov esi, dword [esp + 0x3c]
lea edi, [esi + 1]
cmp ebx, edi
jb 0x66d8d1
mov dword [esp + 0x30], ecx
sub ecx, esi
lea edx, [ecx - 1]
neg edx
mov ecx, edi
shl edi, 2
sar edx, 0x1f
and edx, edi
add edx, eax
mov edi, ebx
sub ebx, esi
cmp edi, esi
jb 0x66d8c8
mov dword [esp + 0x5c], edi
dec ebx
sub edi, esi
mov ebp, dword [esp + 0x30]
sub ebp, esi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl esi, 2
sar ebp, 0x1f
and ebp, esi
add ebp, eax
cmp edi, ebx
jl 0x66d426
mov edi, ebx
cmp ebp, edx
je 0x66d24f
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call fcn.00464d50
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
jmp 0x66d24f
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.0044f260
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
mov edx, dword [esp + 0x38]
add edx, 0x24
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x74]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x2c]
cmp ebx, esi
je 0x66d7ca
jbe 0x66d8e4
movzx edx, byte [ebp + esi]
lea ebp, [edx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
ja 0x66d4f0
add edx, 0xffffffea
movzx edx, dl
mov ebp, 1
jmp 0x66d51c
lea ebp, [edx - 0x41]
xchg ebp, eax
cmp al, 0x19
xchg ebp, eax
ja 0x66d506
xchg ebp, eax
movzx edx, al
xchg ebp, eax
mov ebp, 1
jmp 0x66d51c
add edx, 0xffffff9f
cmp dl, 0x19
ja 0x66d518
movzx edx, dl
mov ebp, 1
jmp 0x66d51c
xor edx, edx
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x66d75b
mov dword [esp + 0x40], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x28], esi
mov eax, edx
mov ebp, dword [esp + 0x20]
mul ebp
sar edi, 0x1f
mov ebx, 0x7fffffff
mov esi, dword [esp + 0x58]
sub ebx, esi
mov esi, 0
sbb esi, edi
mov edi, dword [esp + 0x40]
sar edi, 0x1f
imul edi, ebp
add edx, edi
sar ebp, 0x1f
mov edi, dword [esp + 0x40]
imul edi, ebp
add edx, edi
cmp esi, edx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp eax, ebx
seta bl
cmp esi, edx
setl dl
and ebx, edi
or ebx, edx
test bl, bl
jne 0x66d6ec
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
mov esi, edx
sub edx, ebx
mov edi, dword [esp + 0x58]
add edi, eax
cmp esi, ebx
jg 0x66d5a5
mov eax, ebx
mov edx, 1
jmp 0x66d5b3
mov eax, ebx
add ebx, 0x1a
cmp esi, ebx
jl 0x66d5b3
mov edx, 0x1a
mov ebx, dword [esp + 0x28]
inc ebx
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x40]
cmp edx, ebx
jg 0x66d2b1
mov dword [esp + 0x58], edi
add edx, 0xffffffdc
neg edx
mov dword [esp + 0x48], edx
mov eax, edx
mov ebx, dword [esp + 0x20]
mul ebx
cmp eax, 0x7fffffff
xchg edi, ebx
seta bl
xchg edi, ebx
mov esi, dword [esp + 0x48]
imul ebp, esi
sar esi, 0x1f
imul ebx, esi
add edx, ebx
add edx, ebp
test edx, edx
sete dl
setg bl
and edx, edi
or ebx, edx
test bl, bl
je 0x66d49b
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d639
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d642
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d6a8
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d6b1
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d717
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d720
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d786
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d78f
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d7f5
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d7fe
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov esi, eax
mov eax, 0xea0ea0eb
mov edi, edx
imul edx
add edx, edi
sar edx, 5
lea eax, [esi + 0x24]
cmp edx, 0x1c7
jg 0x66d839
jmp 0x66d312
lea eax, [0x78c780]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x78]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x66d884
mov eax, dword [esp + 0x74]
mov dword [edi], eax
jmp 0x66d88d
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov dword [edi + 0xc], 2
lea eax, [0x7b4bf1]
mov dword [edi + 8], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x844548]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x70
ret
mov eax, esi
mov ecx, edi
call fcn.00464490
mov eax, edi
mov ecx, ebx
call fcn.00464490
call fcn.004351e0
call fcn.004351e0
mov eax, esi
mov ecx, ebx
call fcn.00464430
mov dword [eax + edi*4 - 4], ebp
mov ebp, dword [esp + 0x78]
cmp esi, ecx
jge 0x66d994
movzx ebp, byte [ebx + esi]
cmp ebp, 0x80
jge 0x66d90c
inc esi
jmp 0x66d944
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
call fcn.0045d270
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x2c]
inc edi
cmp edx, edi
jae 0x66d8ed
mov dword [esp + 0x24], ebp
mov dword [esp + 0x50], esi
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x758440]
mov dword [esp + 0x10], eax
call fcn.0044b1b0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x50]
jmp 0x66d8ed
mov ecx, edx
mov edx, edi
jmp 0x66d22b
call fcn.00464450
nop
call fcn.00462fa0
jmp fcn.0066d0b0