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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x44], ecx
mov eax, dword [esi]
add eax, 0x58
mov dword [ebp - 0x4c], eax
cmp dword [eax], ecx
jle 0x6704d3
push ebx
push edi
mov eax, dword [eax + 8]
xor edi, edi
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x30], ecx
mov eax, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
lea edx, [eax*4]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x48], edx
mov eax, dword [edx + eax]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x34]
mov eax, dword [edx + eax]
xor edx, edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
test ebx, ebx
je 0x6704b0
nop word [eax + eax]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], eax
mov ecx, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
call dword [eax + 4]
add eax, 0xffffffdc
cmp eax, 0xb
ja case.0x66fd98.37
jmp dword [eax*4 + 0x670600]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf8]
mov ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ecx]
call dword [eax + 0x22c]
shl eax, 3
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
call fcn.0063e720
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ecx + 0x54]
test edx, edx
je 0x66fdea
and eax, 0xfffffff9
mov dword [ebp - 0x1c], edx
or eax, 1
mov dword [ebp - 0x24], eax
jmp 0x66ff23
and eax, 0xfffffffa
or eax, 2
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0x1c], eax
jmp 0x66ff23
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd8]
mov ecx, eax
push 1
mov dword [ebp - 4], ecx
mov eax, dword [ecx]
call dword [eax + 0x224]
mov edx, dword [ebp - 4]
shl eax, 3
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax]
call fcn.0063e720
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x44]
mov dword [ebp - 0xc], edx
mov eax, dword [edx + 4]
cmp eax, dword [0x9f7dcc]
mov eax, dword [ebp - 0x10]
je 0x66fe5a
and eax, 0xfffffff9
mov dword [ebp - 0x1c], edx
or eax, 1
mov dword [ebp - 0x24], eax
jmp 0x66ffe0
mov edx, dword [ebp - 4]
and eax, 0xfffffffa
or eax, 2
mov dword [ebp - 0x24], eax
mov edx, dword [edx + 0x48]
mov dword [ebp - 0x1c], edx
jmp 0x66ffdd
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x22c]
shl eax, 3
mov ecx, ebx
or eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
call dword [eax + 0xe0]
mov ecx, eax
call fcn.0063f7a0
mov dword [ebp - 0x1c], eax
jmp 0x66ff23
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe4]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x224]
shl eax, 3
mov ecx, ebx
or eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
call dword [eax + 0xe4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], edx
jmp 0x66ffe3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
mov esi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x22c]
shl eax, 3
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
call fcn.0063e720
push dword [esi + 0x48]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 0x40]
push dword [esi + 0x44]
push dword [eax]
call fcn.00676030
mov esi, dword [ebp - 8]
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 4]
call fcn.00674430
mov dword [ebp - 0x38], eax
test eax, eax
je case.0x66fd98.37
mov esi, dword [eax + 0xc]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x38]
cmp esi, dword [eax + 8]
je 0x66ff58
mov esi, dword [ebp - 0x38]
mov ecx, ebx
mov eax, dword [ebx]
mov esi, dword [esi + 0xc]
call dword [eax + 0x38]
mov dword [eax + 8], esi
mov esi, dword [ebp - 8]
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x23c]
call eax
test al, al
je 0x67033d
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x40]
push dword [eax + 0x64]
call fcn.004d7f00
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x28]
push dword [eax + 0x64]
call fcn.004d8100
jmp 0x670499
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
mov esi, eax
push 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x224]
shl eax, 3
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
call fcn.0063e720
push dword [esi + 0x50]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
mov eax, dword [esi + 0x40]
push dword [esi + 0x4c]
push dword [eax]
call fcn.00676030
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
and eax, 7
mov dword [ebp - 4], 0
cmp eax, 3
mov dword [ebp - 0x14], eax
cmove edx, dword [ebp - 4]
mov dword [ebp - 4], edx
test eax, eax
je 0x67002f
dec eax
cmp eax, 3
jbe 0x670064
push str.unreachable_code
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x994760
push 0x72cc90
push eax
mov dword [ebp - 0x54], 0x114
mov dword [ebp - 0x50], 0
call fcn.00704ee0
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp - 0x10]
and eax, 0xffffc007
mov dword [ebp - 0x7c], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x80], eax
add ecx, 0x20
mov eax, dword [ebp - 4]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x74], 0
call fcn.00674430
test eax, eax
je 0x670076
mov ecx, dword [eax + 0xc]
jmp 0x670078
push ecx
call fcn.00674290
add esp, 4
test al, al
je 0x67002f
mov ecx, dword [ebp - 0x2c]
jmp 0x670031
xor ecx, ecx
test ecx, ecx
jne 0x670165
cmp dword [ebp - 0x14], 1
jne 0x6700a7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov al, byte [eax + 0x30]
test al, 4
je 0x6700a7
test al, 2
je 0x67018e
cmp byte [0x9fb110], cl
je 0x67018e
mov eax, dword [esi + 8]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 4], ecx
mov eax, dword [ecx]
and eax, 7
cmp eax, 3
jne 0x6700cc
mov dword [ebp - 0xc], 0
jmp 0x6700db
mov edx, dword [ecx + 8]
mov dword [ebp - 0xc], edx
test eax, eax
je 0x670120
cmp eax, 4
ja 0x6700f2
push dword [ecx + 4]
call fcn.00674290
mov ecx, dword [ebp - 4]
add esp, 4
test al, al
je 0x670120
mov edx, dword [ecx + 4]
jmp 0x670122
push str.unreachable_code
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 0x994760
push 0x72cc90
push eax
mov dword [ebp - 0x60], 0x114
mov dword [ebp - 0x5c], 0
call fcn.00704ee0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor edx, edx
mov eax, dword [ecx]
mov ecx, dword [esi + 8]
and eax, 0xffffc007
mov dword [ebp - 0x90], eax
add ecx, 0x20
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x84], 0
call fcn.00674430
test eax, eax
je 0x670163
mov ecx, dword [eax + 0xc]
jmp 0x670165
xor ecx, ecx
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 0x54]
jge 0x67018e
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 4], eax
test eax, eax
je 0x67018e
mov ecx, dword [ebp - 0x40]
push eax
call fcn.004d7f00
push dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
call fcn.004d8100
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test eax, eax
je 0x6701b7
mov eax, dword [eax + 0x50]
cmp eax, 0x47
je 0x6701b7
cmp eax, 0x58
je 0x6701b7
cmp eax, 0x57
je 0x6701b7
cmp eax, 0x59
jne 0x670499
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ecx + 4]
call fcn.00674430
mov dword [ebp - 0x14], eax
test eax, eax
je 0x670499
mov edx, dword [eax + 0xc]
mov ecx, edx
test ecx, ecx
jns 0x6701dd
add ecx, 0x1f
sar ecx, 5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
lea ecx, [eax + ecx*4]
and edx, 0x8000001f
jns 0x6701f6
dec edx
or edx, 0xffffffe0
inc edx
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
test edi, edi
jne 0x67028d
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 0x18c]
push 0x10
call fcn.004d0f20
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x670230
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push dword [eax]
call fcn.00505ab0
mov edi, eax
jmp 0x670232
xor edi, edi
mov eax, dword [esi + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 8]
cmp dword [eax], ecx
jle 0x67028d
mov ebx, dword [edi]
inc ebx
cmp ebx, dword [edi + 4]
jle 0x67026f
push ebx
call fcn.00705050
mov ecx, dword [edi + 0xc]
add esp, 4
mov esi, eax
push esi
push dword [edi + 4]
push dword [edi + 8]
call fcn.00625de0
mov ecx, dword [ebp - 4]
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, dword [edi + 8]
inc ecx
mov dword [edi], ebx
mov dword [ebp - 4], ecx
mov dword [eax + ebx*4 - 4], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
cmp ecx, dword [eax]
jl 0x670241
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test eax, eax
mov ecx, ebx
mov eax, dword [ebx]
je 0x6702bb
call dword [eax + 0xd4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x44]
mov ecx, dword [ecx + 0xc]
mov edx, dword [eax]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], edx
jmp 0x670499
call dword [eax + 0xd8]
test eax, eax
je 0x6702db
mov eax, dword [eax + 0x40]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], edx
jmp 0x670499
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe4]
test eax, eax
je 0x6702ff
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], edx
jmp 0x670499
push str.unreachable_code
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x994760
push 0x72cc90
push eax
mov dword [ebp - 0x6c], 0x464
mov dword [ebp - 0x68], 0
call fcn.00704ee0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [edi + 8]
xor edx, edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + ecx*4], edx
jmp 0x670499
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x38]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x670499
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xf4]
mov esi, eax
test esi, esi
je 0x6704d8
mov ebx, dword [esi + 0x30]
test ebx, ebx
je 0x670496
nop
cmp dword [ebx + 0x10], 0
jne 0x67048b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xf8]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x67048b
mov eax, dword [ebp - 8]
push esi
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
call fcn.00674290
add esp, 4
test al, al
je 0x6703de
mov eax, dword [esi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, esi
call dword [eax + 0x26c]
cmp dword [eax], 0
jne 0x6703c5
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0066fa90
mov eax, dword [esi]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, esi
call dword [eax + 0x26c]
mov al, byte [eax]
not al
and al, 1
je 0x6703f5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x6703f5
mov eax, dword [eax + 4]
test byte [eax + 0x30], 4
jne 0x67048b
mov eax, dword [ebp - 8]
mov ecx, esi
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov dword [ebp - 4], eax
mov eax, dword [esi]
call dword [eax + 0x14]
test eax, eax
jle 0x67043f
mov eax, dword [esi + 0x44]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x5b]
cmp ecx, 0xffffffff
jne 0x67041d
or ecx, ecx
jmp 0x670420
shl ecx, 2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], ecx
jne 0x670442
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov ecx, edx
test ecx, ecx
jns 0x67044e
add ecx, 0x1f
sar ecx, 5
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 8]
lea ecx, [eax + ecx*4]
and edx, 0x8000001f
jns 0x670467
dec edx
or edx, 0xffffffe0
inc edx
mov eax, dword [ecx]
bts eax, edx
mov dword [ecx], eax
test edi, edi
jne 0x67047c
mov ecx, dword [ebp - 8]
call fcn.00672380
mov edi, eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], edx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x670370
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x30]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
test ebx, ebx
jne 0x66fd70
mov edx, dword [ebp - 0x34]
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + eax], edx
mov eax, dword [esi + 0x64]
mov dword [ecx + eax], edi
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x44], ecx
cmp ecx, dword [eax]
jl 0x66fd26
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0xf8]
test eax, eax
jne 0x670505
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test eax, eax
jne 0x670505
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xe0]
test eax, eax
je 0x670496
mov ecx, dword [ebx + 8]
mov eax, ecx
cdq
and edx, 0x1f
mov dword [ebp - 4], ecx
lea esi, [edx + eax]
mov eax, ecx
sar esi, 5
and eax, 0x8000001f
jns 0x670525
dec eax
or eax, 0xffffffe0
inc eax
mov ecx, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov edx, 1
shl edx, cl
mov eax, dword [eax + 8]
test dword [eax + esi*4], edx
je 0x670570
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 4]
mov esi, dword [eax + ecx*4]
mov eax, dword [ebp - 8]
push esi
push ebx
mov ecx, dword [eax]
call fcn.00628aa0
push esi
mov ecx, ebx
call fcn.0063efa0
lea ecx, [ebp - 0x30]
call fcn.0063eb70
mov esi, dword [ebp - 8]
mov byte [esi + 0xa0], 1
jmp 0x670499
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
test dword [eax + esi*4], edx
jne 0x6705cd
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x6705c2
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + 0x18c]
push 0x10
call fcn.004d0f20
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x6705ba
mov eax, dword [ebx + 8]
mov edx, 5
mov eax, dword [eax + 8]
mov eax, dword [eax]
cmp eax, 5
cmovg eax, edx
push eax
call fcn.00505ab0
jmp 0x6705bc
xor eax, eax
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00505ee0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov esi, dword [ebp - 8]
test edi, edi
jne 0x6705ef
mov ecx, esi
call fcn.00672380
mov edi, eax
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 4]
mov dword [eax + ecx*4], ebx
jmp 0x670499