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

Disassembly:
push 0xffffffffffffffff
push 0x1012da83
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1017a974]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1017a974]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
mov eax, dword [esp + 0x238]
mov ecx, dword [esp + 0x234]
mov dword [esp + 0x64], eax
mov edi, 0xf
xor ebp, ebp
mov eax, ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10066ee0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.100069f0
mov dword [esp + 0x22c], ebp
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x90]
call fcn.10055b10
mov byte [esp + 0x22c], 2
cmp dword [esp + 0x88], 0x10
jb 0x10066f2b
mov edx, dword [esp + 0x74]
push edx
call fcn.100d59a5
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
call fcn.10055e00
test al, al
jne 0x10066f6c
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.10055590
xor eax, eax
jmp 0x1006748d
lea ecx, [esp + 0x48]
call fcn.10055640
mov byte [esp + 0x22c], 3
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x90]
call fcn.10055ca0
lea ecx, [esp + 0x20]
call fcn.10055640
mov byte [esp + 0x22c], 4
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x1006713b
xor ebx, ebx
cmp edi, eax
jb 0x10066fcb
call fcn.100d63f7
mov ecx, dword [esp + 0x54]
add ecx, ebx
mov eax, ecx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10066ff0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.100069f0
mov byte [esp + 0x22c], 5
mov esi, dword [esp + 0x84]
mov eax, esi
cmp esi, 5
jb 0x1006701f
mov eax, 5
cmp dword [esp + 0x88], 0x10
mov ecx, dword [esp + 0x74]
jae 0x10067031
lea ecx, [esp + 0x74]
push eax
push 0x1013db70
push ecx
call fcn.1000d640
add esp, 0xc
cmp eax, ebp
jne 0x10067055
cmp esi, 5
jb 0x10067055
xor eax, eax
cmp esi, 5
setne al
cmp eax, ebp
je 0x100670ae
push 6
push str..rdata
push esi
push ebp
lea ecx, [esp + 0x80]
call fcn.10011430
test eax, eax
je 0x100670ae
mov edx, dword [esp + 0x84]
push 5
push str..data
push edx
push ebp
lea ecx, [esp + 0x80]
call fcn.10011430
test eax, eax
je 0x100670ae
mov eax, dword [esp + 0x84]
push 6
push str..idata
push eax
push ebp
lea ecx, [esp + 0x80]
call fcn.10011430
test eax, eax
jne 0x100670e0
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x100670d0
call fcn.100d63f7
mov edx, dword [esp + 0x54]
add edx, ebx
push edx
lea ecx, [esp + 0x24]
call fcn.100662d0
mov byte [esp + 0x22c], 4
cmp dword [esp + 0x88], 0x10
jb 0x100670ff
mov eax, dword [esp + 0x74]
push eax
call fcn.100d59a5
add esp, 4
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x54]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0x28
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
cmp edi, eax
jb 0x10066fcb
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], ebp
je 0x100673fd
mov dword [esp + 0x14], ebp
cmp ebp, eax
jb 0x1006716b
call fcn.100d63f7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov edi, dword [ecx + edx + 0xc]
push edi
lea ecx, [esp + 0x90]
call fcn.10053100
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov edx, ecx
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x100671b4
call fcn.100d63f7
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
sub ecx, esi
cmp dword [esi + edx + 0x10], 0
mov eax, 0x66666667
je 0x100671e9
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x100671df
call fcn.100d63f7
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + ecx + 0x10]
jmp 0x1006720a
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x10067202
call fcn.100d63f7
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + ecx + 8]
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x18], eax
test eax, eax
je 0x100673fb
push ebx
lea edx, [esp + 0x48]
push edx
push esi
push eax
lea ecx, [esp + 0x9c]
mov dword [esp + 0x54], 0
call fcn.10052740
test al, al
je 0x100673db
cmp dword [esp + 0x44], esi
jne 0x100673e9
lea eax, [esi - 4]
test eax, eax
jbe 0x1006739c
mov ecx, dword [esp + 0x18]
sub ecx, edi
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x3c], eax
jmp 0x10067284
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx + eax]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x30]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor ebp, ebp
add eax, edx
je 0x10067385
xor ebx, ebx
cmp ebp, eax
jb 0x100672bd
call fcn.100d63f7
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x8c]
add edi, ebx
call fcn.100527a0
mov esi, dword [eax + 0x34]
add esi, dword [edi + 0xc]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x100672f9
call fcn.100d63f7
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + ebx + 8]
mov ecx, dword [esp + 0x38]
add eax, esi
cmp ecx, esi
jb 0x1006730b
cmp ecx, eax
jbe 0x1006732c
mov ecx, dword [esp + 0x30]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add ebx, 0x28
cmp ebp, eax
jb 0x100672bd
jmp 0x10067385
mov esi, dword [esp + 0x64]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
test ecx, ecx
jne 0x10067343
xor eax, eax
jmp 0x1006734b
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, ecx
sar ebx, 2
cmp ebx, eax
jae 0x10067363
mov dword [edi], edx
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x10067381
cmp ecx, edi
jbe 0x1006736c
call fcn.100d63f7
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push edi
push eax
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call fcn.10055a60
mov edi, dword [esp + 0x2c]
mov eax, 1
add dword [esp + 0x1c], eax
sub dword [esp + 0x3c], eax
jne 0x10067280
mov ebp, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
add dword [esp + 0x14], 0x28
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
mov dword [esp + 0x40], ebp
cmp ebp, eax
jb 0x1006716b
jmp 0x100673fb
mov ecx, dword [esp + 0x18]
push 0x8000
push 0
push ecx
jmp 0x100673f5
mov edx, dword [esp + 0x18]
push 0x8000
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebp, ebp
mov byte [esp + 0x22c], 6
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x10067416
push eax
call fcn.100d59a5
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x22c], 3
mov eax, dword [esp + 0x20]
push eax
call fcn.100d59a5
add esp, 4
mov byte [esp + 0x22c], 8
mov eax, dword [esp + 0x54]
cmp eax, ebp
je 0x10067450
push eax
call fcn.100d59a5
add esp, 4
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x22c], 2
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100d59a5
add esp, 4
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [esp + 0x8c]
call fcn.10055590
mov eax, 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.100d5eaf
add esp, 0x21c
ret