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

Disassembly:
sub esp, 0xfc
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x110]
push ebx
mov ebx, dword [esp + 0x10c]
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov dword [esp + 0x3c], eax
xor edi, edi
mov eax, dword [esp + 0x128]
push 0x34
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x54]
push edi
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x58], edi
call fcn.10117460
or dword [esp + 0x1c], 0xffffffff
lea eax, [esp + 0x2c]
mov ebp, dword [esp + 0x13c]
add esp, 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x2c], edi
test ebx, ebx
je 0x100c5c1c
push esi
push eax
push edi
mov edi, dword [esp + 0x11c]
push 0x30
push ebx
mov ebx, dword [esp + 0x128]
push ebx
push edi
call fcn.100c186c
mov esi, eax
cmp esi, 0xfffff42f
jne 0x100c5c4a
push 0
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
push ebx
push edi
call fcn.100d6ab7
mov esi, eax
test esi, esi
js 0x100c5f0b
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x20]
push edi
call fcn.100d7247
test eax, eax
je 0x100c5c04
cmp dword [esp + 0x24], 0
jne 0x100c5bfd
push ebp
push dword [esp + 0x18]
lea eax, [esp + 0x8c]
push dword [esp + 0x40]
push dword [esp + 0x130]
push dword [esp + 0x4c]
push 0xffffffffffffffff
push eax
push ebx
push edi
call fcn.100c5ad7
mov esi, eax
jmp 0x100c5c09
mov esi, 0xfffff404
jmp 0x100c5c09
mov esi, 0xfffff42f
push dword [esp + 0x18]
push edi
call fcn.1003bdc0
test esi, esi
js 0x100c5c4a
jmp 0x100c5f0b
push edi
push edi
mov ebx, dword [esp + 0x11c]
push esi
push eax
mov eax, ebp
and eax, 0x20
push eax
push 0x30
push edi
push edi
push edi
push dword [esp + 0x140]
push edi
mov edi, dword [esp + 0x13c]
push ebx
push edi
call fcn.100c1fde
mov esi, eax
push 0x38
pop eax
mov dword [esp + 0x4c], eax
and ebp, 1
jne 0x100c5c7b
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x14]
push eax
push edi
call fcn.100a80d0
test eax, eax
jns 0x100c5c71
mov esi, eax
jmp 0x100c5f0b
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
jmp 0x100c5c80
or dword [esp + 0x50], 0xffffffff
test esi, esi
jns 0x100c5cfd
cmp esi, 0xfffff43e
je 0x100c5cab
cmp esi, 0xfffff429
je 0x100c5ca0
cmp esi, 0xfffff404
jne 0x100c5f0b
xor ebx, ebx
mov dword [esp + 0x54], ebx
jmp 0x100c5ede
push edi
call fcn.10037140
and dword [esp + 0x34], 0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
push dword [esp + 0x124]
push dword [esp + 0x28]
push ebx
push edi
call fcn.100c5f74
mov esi, eax
test esi, esi
js 0x100c5f0b
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
add eax, 0x18
mov dword [esp + 0x40], eax
mov ecx, ebx
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
imul esi, eax, 0x1c
add esi, edx
mov dword [esp + 0x2c], esi
jmp 0x100c5d19
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
mov esi, edx
mov ebx, dword [eax + 0x7c]
mov eax, dword [eax + 0x80]
imul ecx, eax, 0x18
add ecx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x54], eax
test eax, eax
je 0x100c5edc
test ebp, ebp
jne 0x100c5edc
cmp ebx, ecx
sbb ecx, ecx
neg ecx
cmp edx, esi
mov esi, dword [esp + 0x34]
sbb eax, eax
neg eax
test esi, esi
cmovne eax, ecx
test eax, eax
je 0x100c5ec2
lea ebp, [edx + 0xc]
lea edx, [ebx + 0x10]
mov dword [esp + 0x24], edx
mov ebx, 0x1000aab0
test esi, esi
je 0x100c5d93
mov ecx, dword [edx - 0xc]
test cl, 2
jne 0x100c5d68
mov ebx, dword [edx - 8]
mov eax, dword [edx]
and ecx, 1
mov dword [esp + 0x18], eax
movzx eax, byte [edx + 4]
mov word [esp + 0x14], ax
movzx eax, byte [edx + 5]
shl ecx, 0x14
add edx, 0x18
mov word [esp + 0x16], ax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
jmp 0x100c5dc8
cmp dword [ebp - 0xc], 2
je 0x100c5d9c
mov ebx, dword [ebp - 4]
mov eax, dword [ebp]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp + 4]
mov word [esp + 0x14], ax
movzx eax, byte [ebp + 5]
mov word [esp + 0x16], ax
mov eax, dword [ebp - 8]
neg eax
sbb eax, eax
and eax, 0x100000
add ebp, 0x1c
mov dword [esp + 0x1c], eax
push 0
push dword [esp + 0x14]
push edi
call fcn.1003c9c0
mov esi, eax
test esi, esi
js 0x100c5f0b
mov ecx, ebx
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100c5de5
sub ecx, edx
push esi
sar ecx, 1
push esi
lea eax, [ecx + ecx]
push eax
push ebx
push dword [esp + 0x6c]
push dword [esp + 0x24]
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x100c5f0b
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push ebx
push 4
push eax
push dword [esp + 0x74]
push dword [esp + 0x24]
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x100c5f0b
cmp dword [esp + 0x18], 0x10
jne 0x100c5e5e
push ebx
push ebx
push 4
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x78]
push dword [esp + 0x24]
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x100c5f0b
push ebx
push ebx
push 4
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x80]
push dword [esp + 0x24]
push edi
call fcn.1003cd80
mov esi, eax
test esi, esi
js 0x100c5f0b
push ebx
push ebx
push ebx
push dword [esp + 0x1c]
push edi
call fcn.1003cf90
mov esi, eax
test esi, esi
js 0x100c5f0b
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
lea eax, [edx - 0x10]
cmp eax, dword [esp + 0x30]
lea eax, [ebp - 0xc]
sbb ecx, ecx
neg ecx
cmp eax, dword [esp + 0x2c]
sbb eax, eax
neg eax
test esi, esi
cmovne eax, ecx
test eax, eax
jne 0x100c5d54
jmp 0x100c5ec4
xor ebx, ebx
push ebx
push Ordinal_2
push dword [esp + 0x18]
push edi
call fcn.1003c7d0
mov esi, eax
test esi, esi
jns 0x100c5ede
jmp 0x100c5f0b
xor ebx, ebx
mov eax, dword [esp + 0x38]
push 0x38
pop ecx
test eax, eax
je 0x100c5eeb
mov dword [eax], ecx
mov eax, dword [esp + 0x124]
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x44]
call fcn.101175c0
add esp, 0xc
mov esi, ebx
cmp dword [esp + 0x20], 0
je 0x100c5f1b
push dword [esp + 0x20]
call fcn.100c5740
cmp dword [esp + 0x28], 0
je 0x100c5f42
mov ebx, dword [esp + 0x40]
cmp dword [ebx + 0x40], 0xffffffff
je 0x100c5f39
push dword [ebx + 0x40]
push edi
call fcn.1003bdc0
or dword [ebx + 0x40], 0xffffffff
push dword [esp + 0x28]
call fcn.100c56b9
cmp dword [esp + 0x10], 0xffffffff
je 0x100c5f57
test esi, esi
jns 0x100c5f57
push dword [esp + 0x10]
push edi
call fcn.1003bdc0
mov ecx, dword [esp + 0x108]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011720d
add esp, 0xfc
ret 0x24