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

Disassembly:
mov eax, dword [esp + 0x3c]
sub esp, 0x838
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0xc66a4a
mov dword [eax], 0
cmp dword [esp + 0x864], 0
mov esi, dword [esp + 0x84c]
je 0xc66cbe
mov eax, dword [esp + 0x858]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x100b004c]
mov ebx, dword [0x100b0048]
push 0
lea ecx, [esp + 0x24]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x274]
mov edi, eax
push edx
push edi
call ebx
mov eax, dword [esp + 0x2a4]
push 0
push 0
push eax
push edi
call dword [0x100b0110]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0xf8
lea edx, [esp + 0x3ac]
push edx
push edi
call ebx
push edi
call dword [0x100b01e4]
mov edi, dword [esp + 0x3f0]
mov ecx, dword [0x100cccb0]
xor edx, edx
mov eax, edi
div ecx
mov ebx, dword [esp + 0x3d4]
mov dword [esp + 0x1c], ebx
test edx, edx
jne 0xc66af1
mov dword [esp + 0x14], edi
jmp 0xc66afb
add eax, 1
imul eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0xbc]
push eax
push 0x18
lea ecx, [esp + 0xc8]
push ecx
push 0
push esi
call dword [0x100ccd88]
mov ecx, dword [esp + 0xc4]
mov edi, dword [0x100b0050]
lea edx, [esp + 0x38]
push edx
push 0x1d8
lea eax, [esp + 0x4a0]
push eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x4a0]
lea edx, [esp + 0x38]
push edx
push pe_nt_image_headers32
lea eax, [esp + 0x138]
push eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x4a0]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x170]
push 0xf8
lea eax, [esp + 0x178]
push eax
add edx, ecx
push edx
push esi
call edi
mov cx, word [esp + 0x3ea]
mov edi, dword [0x100b0128]
or word [esp + 0x1ce], 0x100
xor eax, eax
mov dword [esp + 0x258], eax
mov dword [esp + 0x25c], eax
mov ax, word [esp + 0x3e8]
lea edx, [esp + 0x10]
push edx
mov word [esp + 0x1be], cx
mov ecx, dword [esp + 0x170]
push 4
mov word [esp + 0x1c0], ax
mov eax, dword [esp + 0x4a8]
push 0xf8
add ecx, eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x4a0]
lea edx, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x170]
push 0xf8
lea eax, [esp + 0x178]
push eax
add edx, ecx
push edx
push esi
call dword [0x100b0124]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x4a0]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x170]
push ecx
push 0xf8
add eax, edx
push eax
push esi
call edi
mov edi, dword [esp + 0x1c0]
mov eax, edi
mov ecx, dword [0x100cccb0]
xor edx, edx
div ecx
test edx, edx
jne 0xc66c44
mov eax, edi
jmp 0xc66c4a
add eax, 1
imul eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4a0]
xor edi, edi
add ecx, ebx
cmp ecx, edx
mov dword [esp + 0x18], edi
jbe 0xc66c98
add eax, edx
cmp ebx, eax
jae 0xc66c98
cmp ebx, edx
jae 0xc66c83
cmp edx, ecx
ja 0xc66c83
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], edx
cmp eax, ecx
jae 0xc66cac
mov dword [esp + edi*4 + 0x40], eax
mov dword [esp + edi*4 + 0x4c], ecx
add edi, 1
mov dword [esp + 0x18], edi
jmp 0xc66cac
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ecx
xor eax, eax
test edi, edi
mov dword [esp + 0x14], eax
jg 0xc66e14
mov dword [esp + 0x20], ebx
mov edx, dword [0x100ccdc8]
push 0
push 0
push 0
push 4
push edx
call dword [0x100b0204]
push 0
push 1
push 0
push 0
mov ebx, eax
push 0
push ebx
push esi
call fcn.00c83530
add esp, 0x1c
push ebx
mov edi, eax
call dword [0x100b0200]
test edi, edi
je 0xc66fe0
push 0x100b1b44
push edi
push esi
call fcn.00c82ee0
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0xc66fe0
lea eax, [esp + 0x60]
push 0x48
push eax
call fcn.00c7af10
mov ecx, dword [esp + 0x85c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x870]
add esp, 8
push 2
push 1
push 0
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x74]
push ecx
mov dword [esp + 0x90], edx
mov edx, dword [0x100ccdc8]
push esi
push edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x9c], eax
call dword [0x100b0218]
push eax
call dword [0x100b01f4]
test eax, eax
je 0xc66fe0
mov ecx, dword [esp + 0x880]
mov eax, dword [esp + 0x87c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [0x100ccb10]
mov dword [esp + 0xa0], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [0x100b00c8]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x858]
test eax, eax
mov dword [esp + 0x64], edx
je 0xc66e84
push 4
push 0x101000
push eax
call edi
mov ebx, dword [0x100b0120]
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call ebx
lea edx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x858]
push edx
push eax
call edi
mov edx, dword [esp + 0x85c]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call dword [0x100b0124]
mov eax, dword [esp + 0x10]
jmp 0xc66e8c
mov eax, dword [esp + 0x14]
mov edi, dword [esp + eax*4 + 0x40]
mov ebx, dword [esp + eax*4 + 0x4c]
push 1
push 0x2000
sub ebx, edi
push ebx
push edi
push esi
call dword [0x100b0120]
test eax, eax
je 0xc66e60
push pe_nt_image_headers32
push 0x1000
push ebx
push edi
push esi
call dword [0x100b0120]
test eax, eax
je 0xc66e60
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0xc66e10
mov ebx, dword [esp + 0x1c]
jmp 0xc66cba
mov eax, dword [esp + 0x884]
test eax, eax
je 0xc66fe0
pop edi
pop esi
pop ebp
mov dword [eax], 0xffffffff
xor eax, eax
pop ebx
add esp, 0x838
ret 0x3c
mov ebx, dword [0x100b0120]
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x85c]
test eax, eax
je 0xc66ee1
push 4
push 0x101000
push eax
call edi
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call ebx
lea edx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x85c]
push edx
push eax
call edi
mov edx, dword [esp + 0x860]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call dword [0x100b0124]
mov eax, dword [esp + 0x10]
jmp 0xc66ee3
xor eax, eax
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x860]
test eax, eax
je 0xc66f38
push 4
push 0x101000
push eax
call edi
lea ecx, [eax + eax + 2]
push ecx
push 0
push esi
call ebx
lea edx, [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x860]
push edx
push eax
call edi
mov edx, dword [esp + 0x864]
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call dword [0x100b0124]
mov eax, dword [esp + 0x10]
jmp 0xc66f3a
xor eax, eax
mov dword [esp + 0x7c], eax
xor eax, eax
push 0x200
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0xff
call fcn.00c7afa0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov word [eax], 0
mov eax, dword [0x100ccabc]
add esp, 8
test eax, eax
je 0xc66f86
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.00c83f00
add esp, 8
cmp dword [esp + 0x28], 0
je 0xc66fef
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x10], eax
je 0xc66fef
push 4
push 0x101000
push eax
call edi
lea edx, [eax + eax + 2]
push edx
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
push esi
call dword [0x100b0124]
test eax, eax
jne 0xc66ff7
lea ecx, [esp + 0x24]
call fcn.00c60810
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x838
ret 0x3c
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov edi, dword [0x100b0218]
push 2
push 1
push 0
lea eax, [esp + 0x54]
push eax
push esi
mov dword [esp + 0xa0], edx
call edi
push eax
call edi
push eax
call dword [0x100b01f4]
test eax, eax
jne 0xc67044
mov eax, dword [esp + 0x24]
test eax, eax
je 0xc66fe0
push eax
call fcn.00c7b000
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x838
ret 0x3c
mov ecx, dword [esp + 0x48]
push 0
push 0
push 0
push 0
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x4c], 0xffffffff
call dword [0x100b011c]
push 2
push 1
push 0
lea edx, [esp + 0x68]
push edx
push esi
push eax
mov dword [esp + 0x38], eax
call edi
push eax
call dword [0x100b01f4]
test eax, eax
je 0xc66fd7
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0xb4]
push ecx
push 0x18
lea edx, [esp + 0xe0]
push edx
push 0
push esi
mov dword [esp + 0xa4], eax
call dword [0x100ccd88]
mov edx, dword [esp + 0xdc]
mov edi, dword [0x100b0050]
lea eax, [esp + 0x14]
push eax
push 0x1d8
lea ecx, [esp + 0x678]
push ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x678]
lea eax, [esp + 0x14]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0xf8]
push ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x678]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x130]
push 0xf8
lea ecx, [esp + 0x2b0]
push ecx
add eax, edx
push eax
push esi
call edi
mov ecx, dword [esp + 0x390]
mov edx, dword [esp + 0x394]
mov edi, dword [0x100b0128]
xor eax, eax
mov dword [esp + 0x390], eax
mov dword [esp + 0x394], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x130]
push 4
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x680]
push 0xf8
add edx, ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x678]
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 0x130]
push 0xf8
lea ecx, [esp + 0x2b0]
push ecx
add eax, edx
push eax
push esi
call dword [0x100b0124]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x678]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x130]
push edx
push 0xf8
add ecx, eax
push ecx
push esi
call edi
push 4
push 0x101000
push 0x48
push 0
push esi
call ebx
lea edx, [esp + 0x30]
push edx
mov ebx, eax
push 0x48
lea eax, [esp + 0x68]
push eax
push ebx
push esi
call dword [0x100b0124]
test eax, eax
je 0xc66fd7
push esi
call fcn.00c82770
mov edi, eax
add esp, 4
test edi, edi
je 0xc66fd7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x874]
lea ecx, [esp + 0x3c]
push ecx
push 0
push ebx
push edx
push eax
push 0
push esi
call dword [0x100b00a8]
test eax, eax
mov dword [esp + 0x1c], eax
je 0xc66fd7
mov eax, dword [esp + 0x870]
test eax, eax
je 0xc6722c
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [0x100cca70]
test ecx, ecx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], esi
je 0xc67264
mov eax, dword [ecx + 0x69c]
push 0
push 0
push 1
add ecx, 0x69c
lea edx, [esp + 0x60]
push edx
mov edx, dword [eax + 0x24]
push 2
call edx
call eax
jmp 0xc67275
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x5c]
push eax
push 2
call dword [0x100b0068]
test eax, eax
jne 0xc66fd7
mov ecx, dword [0x100ccb10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
mov ecx, dword [0x100cca70]
mov edx, dword [ecx + 0x2ac]
mov eax, dword [edx + 0x24]
add ecx, 0x2ac
push ebx
call eax
call eax
push 8
mov ecx, ebp
call fcn.00c668c0
test eax, eax
je 0xc673c9
push 0xffffffffffffffff
lea ecx, [esp + 0x3b]
lea esi, [ebp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0xb4], esi
call fcn.00c64650
test al, al
je 0xc672d8
add dword [esi + 0x10], 1
mov al, 1
test al, al
mov ebx, dword [ebp + 0x20]
je 0xc6731e
add dword [esi + 0x10], 0xffffffff
jne 0xc6731e
push 0
lea edx, [esi + 8]
push edx
mov dword [esi + 0x10], 0
call dword [0x100b00bc]
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jle 0xc6731e
push esi
call dword [0x100b0070]
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + 0x14]
push 0
push 1
push edx
call dword [0x100b00b8]
push ebx
push 1
push edi
mov ecx, ebp
call fcn.00c60f20
push 3
mov ecx, ebp
call fcn.00c668c0
push eax
push 3
push edi
mov ecx, ebp
call fcn.00c60f20
push 4
mov ecx, ebp
call fcn.00c668c0
push eax
push 4
push edi
mov ecx, ebp
call fcn.00c60f20
push 5
mov ecx, ebp
call fcn.00c668c0
push eax
push 5
push edi
mov ecx, ebp
call fcn.00c60f20
push 6
mov ecx, ebp
call fcn.00c668c0
push eax
push 6
push edi
mov ecx, ebp
call fcn.00c60f20
push 7
mov ecx, ebp
call fcn.00c668c0
push eax
push 7
push edi
mov ecx, ebp
call fcn.00c60f20
push 8
mov ecx, ebp
call fcn.00c668c0
push eax
push 8
push edi
mov ecx, ebp
call fcn.00c60f20
push 9
mov ecx, ebp
call fcn.00c668c0
push eax
push 9
push edi
mov ecx, ebp
call fcn.00c60f20
push 0xb
mov ecx, ebp
call fcn.00c668c0
push eax
push 0xb
push edi
mov ecx, ebp
call fcn.00c60f20
cmp dword [esp + 0x878], 0
mov esi, dword [esp + 0x1c]
je 0xc673de
push esi
call dword [0x100b0060]
mov eax, dword [esp + 0x86c]
test eax, eax
je 0xc67406
lea ecx, [esp + 0x24]
mov dword [eax], esi
call fcn.00c60810
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x838
ret 0x3c
mov ecx, dword [0x100cca70]
mov eax, dword [ecx + 0x2ac]
mov edx, dword [eax + 0x24]
add ecx, 0x2ac
push esi
call edx
call eax
lea ecx, [esp + 0x24]
call fcn.00c60810
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x838
ret 0x3c