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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x666f40
sub esp, 0x84
mov eax, dword [esp + 0x88]
cmp byte [eax + 0x49], 0xff
je 0x6667af
lea eax, [0x8c13a0]
mov dword [esp], eax
call fcn.0046a5a0
mov eax, dword [esp + 8]
lea ecx, [0x682060]
cmp dword [esp + 4], ecx
je 0x666741
lea eax, [0x69f1e0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov edx, dword [eax + 0x2c]
mov ecx, dword [esp + 0xac]
cmp ecx, edx
jg 0x66675e
ja 0x666f3a
mov dword [eax + 0x28], ecx
jmp 0x6667a8
lea eax, [0x68db80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xac]
mov edi, dword [esp + 0x78]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x666798
mov dword [edi + 0x24], eax
jmp 0x6667a6
lea edx, [edi + 0x24]
mov ecx, edi
mov edi, edx
call fcn.00463080
mov edi, ecx
mov eax, edi
mov edx, dword [eax + 0x28]
xor ecx, ecx
jmp 0x6667e0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x84
ret
mov dword [ebp + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jge 0x6667f3
mov ebx, dword [eax + 0x28]
mov ebp, dword [eax + 0x24]
cmp ecx, ebx
jb 0x6667d7
jmp 0x666f31
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x66684b
nop
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x66681f
mov ecx, dword [esp + 0x90]
mov dword [eax + 0x18], ecx
jmp 0x666832
lea edi, [eax + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x90]
call fcn.00463080
mov eax, ecx
mov byte [eax + 0x1c], 0
mov dword [eax + 0x20], 0
lea ecx, [eax + 0x14]
lea edx, [0x73af48]
jmp 0x6668cb
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x66688e
nop
mov edx, dword [esp + 0x98]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 8], edx
mov edx, dword [0x8e84e0]
test edx, edx
jne 0x666879
mov dword [eax], ecx
jmp 0x666884
mov edi, eax
mov eax, ecx
call fcn.00463080
mov eax, edi
lea edx, [0x73af24]
mov ecx, eax
jmp 0x6668cb
nop
mov ecx, dword [esp + 0xa4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x8e84e0]
test ecx, ecx
jne 0x6668af
mov ecx, dword [esp + 0xa0]
mov dword [eax + 0xc], ecx
jmp 0x6668c2
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xa0]
call fcn.00463080
mov eax, ecx
lea ecx, [eax + 0xc]
lea edx, [0x73af6c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x20], edx
mov eax, dword [edx + 0x20]
mov dword [esp], ecx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], ecx
cmp eax, 0xffffffff
jne 0x666904
mov edx, 0xffffffff
xor ebx, ebx
jmp 0x666937
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0xa8]
lea esi, [ebp + ecx]
mov dword [esp + 4], esi
call edx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0xa8]
test ebp, ebp
jne 0x666953
mov esi, eax
mov edi, 0xffffffff
jmp 0x666988
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], ebp
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x34]
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edi
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + 0xc]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx]
cmp edi, esi
jbe 0x666f28
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea edi, [esi + esi*8]
test ebp, ebp
je 0x6669b9
xor ebx, ebx
jmp 0x6669f2
mov ecx, dword [ebx + edi*4 + 8]
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov dword [esp], eax
mov byte [esp + 8], cl
call fcn.00665670
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x3c]
test bl, bl
je 0x666a34
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x666a01
xor ebx, ebx
jmp 0x666a36
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x3c]
jmp 0x666a36
xor ebx, ebx
test bl, bl
jne 0x666a47
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
jmp 0x666b08
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x18]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], edx
call ecx
movzx eax, byte [esp + 8]
test al, al
je 0x666b2d
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov esi, dword [esp + 0xa8]
add ecx, esi
mov dword [esp + 0x58], ecx
mov dword [esp + 4], ecx
call ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x20]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
lea edi, [esi + eax]
mov dword [esp + 4], edi
call ebx
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [edx + 0x14]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
call ebx
mov eax, dword [esp + 0x88]
mov esi, dword [eax + 0x3c]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov edx, eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
jmp 0x666c60
xor eax, eax
test al, al
je 0x666c09
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xb4]
lea ebx, [edx + ecx]
mov dword [esp + 0x58], ebx
mov ebp, dword [eax + 0x24]
mov esi, dword [esp + 0xb8]
cmp esi, ebx
jb 0x666b63
mov edi, dword [esp + 0xb0]
jmp 0x666bb1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x80], ebp
lea eax, [0x68db80]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.0044b870
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x80]
mov edi, eax
mov esi, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], esi
mov dword [esp + 0x80], edi
lea eax, [edi + edx*4]
mov dword [esp], eax
mov dword [esp + 4], ebp
shl ecx, 2
mov dword [esp + 8], ecx
call fcn.00463a10
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00666600
mov eax, dword [esp + 0x80]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc4], eax
add esp, 0x84
ret
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00666600
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x84
ret
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov ecx, edi
mov eax, dword [esp + 0x5c]
mov edi, ebx
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x34], ebx
mov edx, dword [edx + 0xc]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
cmp esi, edx
jae 0x666f1f
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ecx
lea edx, [esi + esi*8]
lea esi, [ebx + edx*4]
mov dword [esp + 0x7c], esi
mov esi, dword [ebx + edx*4 + 4]
mov dword [esp + 0x50], esi
lea esi, [ebx + edx*4]
movzx esi, byte [esi]
xchg esi, eax
cmp al, 5
xchg esi, eax
ja 0x666d87
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
xchg esi, eax
cmp al, 2
xchg esi, eax
ja 0x666d32
xchg esi, eax
cmp al, 1
xchg esi, eax
jbe 0x666cf5
mov edx, dword [ebx + edx*4 + 8]
mov ebx, dword [esp + 0x78]
mov esi, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x24]
cmp edx, esi
jge 0x666cd4
jae 0x666f16
mov dword [ebx + edx*4], ebp
mov esi, dword [esp + 0x50]
mov ebx, edi
mov edi, ecx
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
jmp 0x666c3d
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00667540
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
jmp 0x666c3d
xchg esi, eax
cmp al, 3
xchg esi, eax
jne 0x666e95
mov ecx, dword [ebx + edx*4 + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
mov byte [esp + 8], cl
call fcn.00665670
movzx eax, byte [esp + 0xc]
test al, al
je 0x666e8e
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
jmp 0x666c3d
xchg esi, eax
cmp al, 7
xchg esi, eax
ja 0x666de2
xchg esi, eax
cmp al, 6
xchg esi, eax
jne 0x666db6
mov esi, dword [esp + 0x50]
mov ebx, edi
mov edi, ecx
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
jmp 0x666c3d
lea eax, [ebx + edx*4]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.0065fc60
cmp dword [esp + 8], 0xffffffff
je 0x666ecf
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x58]
jmp 0x666e2d
xchg esi, eax
cmp al, 8
xchg esi, eax
jne 0x666e06
mov esi, dword [ebx + edx*4 + 0x10]
mov edx, dword [ebx + edx*4 + 0xc]
test esi, esi
jbe 0x666f03
mov ebx, dword [esp + 0x30]
cmp dword [edx], ebx
je 0x666e2d
jmp 0x666ed6
xchg esi, eax
cmp al, 9
xchg esi, eax
jne 0x666e13
mov ebx, dword [esp + 0x30]
jmp 0x666e2d
xchg esi, eax
cmp al, 0xa
xchg esi, eax
jne 0x666eeb
mov edx, dword [esp + 0x30]
cmp edx, 0xa
je 0x666ee4
mov ebx, edx
test ecx, ecx
je 0x666edd
lea edx, [ebp + ecx]
mov ebp, dword [esp + 0x34]
cmp ebp, 0xffffffff
jne 0x666e4a
mov eax, ebp
mov ecx, dword [esp + 0x28]
jmp 0x666e81
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, dword [esp + 0x28]
lea esi, [edx + ebp]
mov dword [esp + 4], esi
call ecx
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x44]
mov ebp, ebx
mov ecx, eax
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x28]
jmp 0x666c3d
xor eax, eax
jmp 0x666b2f
xchg esi, eax
cmp al, 4
xchg esi, eax
jne 0x666ec8
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x28]
mov esi, dword [edx + 0x24]
test ebx, ebx
je 0x666ebe
mov dword [esi], 0
mov ecx, dword [edx + 0x28]
mov ebx, dword [edx + 0x24]
cmp ecx, 1
jbe 0x666f0c
mov dword [ebx + 4], ebp
mov eax, 1
jmp 0x666b2f
xor eax, eax
jmp 0x666b2f
xor eax, eax
jmp 0x666b2f
xor eax, eax
jmp 0x666b2f
xor eax, eax
jmp 0x666b2f
xor eax, eax
jmp 0x666b2f
lea eax, [0x68e4c0]
mov dword [esp], eax
lea eax, [0x7390a0]
mov dword [esp + 4], eax
call fcn.00436f70
xor eax, eax
mov ecx, eax
call fcn.00463100
mov eax, 1
call fcn.00463100
mov eax, edx
mov ecx, esi
call fcn.00463110
mov eax, esi
mov ecx, edx
call fcn.00463100
mov eax, esi
mov ecx, edi
call fcn.00463100
mov eax, ecx
mov ecx, ebx
call fcn.00463100
call fcn.00463140
nop
call fcn.00461c70
jmp fcn.006666e0