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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
cmp dword [ebp + 0x18], 0xa
push edi
mov dword [esp + 0x10], esi
mov edi, ecx
mov dword [esp + 0x20], esi
jne 0xc5893e
lea ecx, [esp + 0x28]
call fcn.00c70320
mov ecx, dword [ebx + 8]
shr ecx, 1
push ecx
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x4c]
call fcn.00c70140
cmp dword [ebx + 4], esi
je 0xc58459
lea ecx, [esp + 0x34]
call fcn.00c70320
mov eax, dword [ebx + 4]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, edi
call fcn.00c43360
lea ecx, [esp + 0x34]
push ecx
jmp 0xc584b3
push 0x5c
lea ecx, [esp + 0x48]
call fcn.00c70240
test eax, eax
je 0xc58483
lea ecx, [esp + 0x44]
call fcn.00ca07c0
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.00c703c0
jmp 0xc584e6
lea ecx, [esp + 0x34]
call fcn.00c70320
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
mov ecx, edi
call fcn.00c43360
lea ecx, [esp + 0x34]
call fcn.00ca07c0
push eax
call fcn.00c5de30
add esp, 4
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
call fcn.00c70420
push 0x100b11d8
lea ecx, [esp + 0x2c]
call fcn.00c704e0
lea ecx, [esp + 0x44]
call fcn.00ca07c0
push eax
lea ecx, [esp + 0x2c]
call fcn.00c70470
lea ecx, [esp + 0x34]
call fcn.00c70440
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x3c]
mov dword [esp + 0x3c], ecx
lea esi, [edi + 0x9c]
push edx
mov ecx, esi
call fcn.00c3faf0
test eax, eax
je 0xc587a1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.00c30f10
add esp, 8
lea ecx, [esp + 0x14]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.00c3f9c0
test eax, eax
je 0xc5878d
lea eax, [esp + 0xc]
push 4
push eax
call fcn.00c30f10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0xc]
push edx
push 0x100bc638
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0xc58779
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x30]
push eax
call edx
cmp dword [ebx + 4], 0
je 0xc58605
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.00c30f10
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
lea edx, [ebp + 8]
push edx
mov ecx, esi
call fcn.00c3f9c0
test eax, eax
je 0xc585f7
lea eax, [esp + 0x3c]
push 4
push eax
call fcn.00c30f10
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0x3c]
push edx
push 0x100bc638
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0xc585ee
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
lea eax, [esp + 0x24]
push eax
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov esi, dword [esp + 0x30]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
lea ecx, [esp + 0x24]
call fcn.00c66940
lea ecx, [esp + 0x3c]
call fcn.00c66940
lea ecx, [esp + 0x1c]
call fcn.00c66940
jmp 0xc58765
mov eax, dword [ebx + 8]
shr eax, 1
push eax
lea eax, [ebx + 0xc]
push eax
lea ecx, [esp + 0x3c]
call fcn.00c70140
push 0x5c
lea ecx, [esp + 0x38]
call fcn.00c70240
test eax, eax
je 0xc58765
lea ecx, [esp + 0x90]
call fcn.00c6c7b0
mov esi, dword [edi + 0x48]
lea ecx, [esp + 0x90]
push ecx
push 0
push 0x40
lea ecx, [esp + 0x40]
call fcn.00ca07c0
push eax
push 0
lea ecx, [esp + 0x78]
call fcn.00c70110
mov ecx, eax
call fcn.00ca07c0
push eax
push esi
mov ecx, edi
call fcn.00c469b0
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x94]
call fcn.00c70020
mov ecx, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
mov ecx, esi
mov dword [esp + 0x24], eax
call edx
mov ecx, dword [esp + 0x24]
cmp eax, ecx
lea ecx, [esp + 0x3c]
sete byte [esp + 0x1b]
call fcn.00c66940
cmp byte [esp + 0x1b], 0
je 0xc58759
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x94]
call fcn.00c9e6e0
mov ecx, eax
call fcn.00c5d500
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.00c70180
mov eax, dword [esp + 0xc]
mov esi, dword [eax]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx]
push eax
lea ecx, [esp + 0x5c]
add esi, 0x7c
call fcn.00ca07c0
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
push eax
call edx
mov esi, eax
cmp esi, 0x80004001
je 0xc58759
lea ecx, [esp + 0x90]
call fcn.00c3cb40
lea ecx, [esp + 0x30]
call fcn.00c66940
lea ecx, [esp + 0xc]
call fcn.00c66940
lea ecx, [esp + 0x14]
call fcn.00c66940
lea ecx, [esp + 0x28]
call fcn.00c70440
test esi, esi
jne 0xc58749
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, esi
and eax, 0xefffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x90]
call fcn.00c3cb40
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0xc5877b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0xc5877b
xor esi, esi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0xc5878f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0xc5878f
xor esi, esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0xc587a3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0xc587a3
xor esi, esi
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edi + 0x9c]
mov dword [esp + 0x28], eax
call fcn.00c3faf0
test eax, eax
jne 0xc58843
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 1
call fcn.00ca07c0
push eax
lea edx, [esp + 0x80]
push edx
call fcn.00c17740
mov eax, dword [eax]
add esp, 8
push 1
push eax
mov ecx, edi
call fcn.00c53160
test eax, eax
jne 0xc58843
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 7
call fcn.00ca07c0
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00c17740
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.00c39de0
mov eax, dword [eax]
add esp, 0x10
push 1
push eax
mov ecx, edi
call fcn.00c53160
test eax, eax
jne 0xc58843
mov ecx, dword [edi + 0x40]
push 1
call fcn.00c1c8c0
test eax, eax
mov byte [esp + 0x1b], 0
je 0xc58848
mov byte [esp + 0x1b], 1
test byte [esp + 0x10], 4
je 0xc58871
mov eax, dword [esp + 0x64]
and dword [esp + 0x10], 0xfffffffb
cmp eax, esi
je 0xc58871
push eax
call fcn.00c31000
add esp, 4
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
test byte [esp + 0x10], 2
je 0xc5889a
mov eax, dword [esp + 0x4c]
and dword [esp + 0x10], 0xfffffffd
cmp eax, esi
je 0xc5889a
push eax
call fcn.00c31000
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
test byte [esp + 0x10], 1
je 0xc588b2
mov eax, dword [esp + 0x7c]
cmp eax, esi
je 0xc588b2
push eax
call fcn.00c31000
add esp, 4
cmp byte [esp + 0x1b], 0
lea ecx, [esp + 0x28]
je 0xc58939
lea edx, [esp + 0x90]
push edx
push esi
push 0x40
call fcn.00ca07c0
push eax
push esi
lea ecx, [esp + 0x78]
call fcn.00c70110
mov ecx, eax
call fcn.00ca07c0
push eax
mov ecx, edi
call fcn.00c56810
neg eax
sbb eax, eax
add eax, 1
cmp byte [ebx], 0
jne 0xc5890e
cmp eax, esi
je 0xc5890e
lea ecx, [esp + 0x28]
call fcn.00c70440
mov eax, 0xc0000035
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [esp + 0x28]
call fcn.00ca07c0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
call fcn.00c57fd0
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00c70440
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.00c70440
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
add eax, 0xfffffffc
cmp eax, 0x1a
ja 0xc590bc
movzx ecx, byte [eax + 0x10046164]
jmp dword [ecx*4 + 0x10046148]
lea ecx, [esp + 0x3c]
push 4
push ecx
call fcn.00c30f10
add esp, 8
lea edx, [esp + 0x3c]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x9c]
call fcn.00c3f9c0
test eax, eax
je 0xc590f2
mov dword [esp + 0x20], 0
mov esi, 0xc0000003
jmp 0xc590fe
mov esi, dword [esp + 0xc]
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x3c]
test eax, eax
je 0xc5910e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x20], 0
je 0xc5913d
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x100cca70]
push eax
mov eax, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push ebx
add ecx, 0x24c
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14