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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x30]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], esi
call fcn.00c37890
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x70]
cmp eax, edx
jb 0xc35fba
lea ecx, [esp + 0x4c]
call fcn.00c37880
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
mov ecx, dword [esp + 0x78]
xor edi, edi
cmp ecx, edi
je 0xc35fa5
add ecx, eax
cmp ecx, edx
jae 0xc35fd0
mov dword [esp + 0x70], ecx
jmp 0xc35fd6
mov dword [esp + 0x70], edx
mov ecx, edx
mov ebx, eax
mov edx, ecx
shr edx, 0xe
push edi
shr ebx, 0xe
sub esp, 8
cmp ebx, edx
mov dword [esp + 0x84], edx
jne 0xc36080
sub ecx, eax
mov esi, eax
mov eax, esp
mov ebp, ecx
lea ecx, [esp + 0x38]
and esi, 0x3fff
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00c2dba0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x30]
push edx
push ebx
call fcn.00c35d10
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00cb3320
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
push ebp
add eax, esi
push eax
push ecx
call fcn.00c30f30
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.00c6ccf0
lea ecx, [esp + 0x2c]
call fcn.00c35460
lea ecx, [esp + 0x4c]
call fcn.00c37880
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc
and eax, 0x3fff
mov ebp, eax
mov eax, esp
mov esi, 0x4000
lea ecx, [esp + 0x28]
sub esi, ebp
mov dword [eax], edi
mov dword [eax + 4], edi
call fcn.00c2dba0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.00c35d10
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00cb3320
mov eax, dword [esp + 0x3c]
add eax, ebp
mov ebp, dword [esp + 0x74]
push esi
push eax
push ebp
call fcn.00c30f30
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.00c6ccf0
add ebp, esi
cmp dword [esp + 0x14], edi
mov dword [esp + 0x74], esi
jne 0xc36103
cmp dword [esp + 0x18], edi
je 0xc36122
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
add ecx, 0x10
call fcn.00c35b20
lea ecx, [esp + 0x3c]
call fcn.00c35460
mov eax, dword [esp + 0x78]
add ebx, 1
cmp ebx, eax
jae 0xc36215
sub eax, ebx
mov ebx, eax
shl eax, 0xe
add eax, esi
mov dword [esp + 0x74], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x10
call fcn.00c35b20
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00c35310
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00cb3320
cmp dword [esp + 0x24], edi
mov esi, dword [esp + 0x1c]
jne 0xc36180
cmp dword [esp + 0x28], edi
je 0xc36187
push esi
call dword [0x100b0088]
lea ecx, [esp + 0x3c]
call fcn.00c35310
mov eax, dword [esp + 0x44]
cmp eax, edi
mov ecx, dword [esp + 0x48]
jne 0xc361a0
cmp ecx, edi
je 0xc361a7
push ecx
push eax
call fcn.00c29110
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
push ecx
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00cb3320
mov eax, dword [esp + 0x2c]
push 0x4000
push eax
push ebp
call fcn.00c30f30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
add esp, 0xc
cmp eax, edi
jne 0xc361f3
cmp ecx, edi
je 0xc361fa
push ecx
push eax
call fcn.00c29110
add ebp, 0x4000
sub ebx, 1
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], edi
jne 0xc3613e
mov eax, dword [esp + 0x70]
and eax, 0x3fff
mov ebx, eax
je 0xc362d6
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x40]
push edx
add ecx, 0x10
call fcn.00c35b20
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.00c35310
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00cb3320
cmp dword [esp + 0x24], edi
mov esi, dword [esp + 0x1c]
jne 0xc36268
cmp dword [esp + 0x28], edi
je 0xc3626f
push esi
call dword [0x100b0088]
lea ecx, [esp + 0x3c]
call fcn.00c35310
mov eax, dword [esp + 0x44]
cmp eax, edi
mov ecx, dword [esp + 0x48]
jne 0xc36288
cmp ecx, edi
je 0xc3628f
push ecx
push eax
call fcn.00c29110
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push edx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00cb3320
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
push ebp
call fcn.00c30f30
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
add esp, 0xc
cmp eax, edi
jne 0xc362cb
cmp ecx, edi
je 0xc362d2
push ecx
push eax
call fcn.00c29110
add dword [esp + 0x74], ebx
lea ecx, [esp + 0x1c]
call fcn.00c35310
mov eax, dword [esp + 0x24]
cmp eax, edi
mov ecx, dword [esp + 0x28]
jne 0xc362ef
cmp ecx, edi
je 0xc362f6
push ecx
push eax
call fcn.00c29110
lea ecx, [esp + 0x4c]
call fcn.00c37880
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc