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

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x8c
test edx, edx
mov dword [esp + 0x40], ecx
movzx ecx, byte [esp + 0xb8]
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0xac]
mov byte [esp + 0x68], cl
js 0xc2ffdd
mov ecx, dword [esp + 0xc0]
xor edx, edx
lea eax, [ecx + ecx*4]
mov ecx, dword [0x1765aa4]
add eax, eax
div dword [esp + 0xbc]
mov dword [esp + 0x34], ecx
mov ecx, 1
cmp eax, 6
je 0xc2fbf2
mov edx, dword [0x1765aa0]
cmp eax, 8
mov dword [esp + 0x34], edx
je 0xc2fbf2
mov ecx, dword [0x1765aa8]
mov dword [esp + 0x34], ecx
xor ecx, ecx
cmp eax, 5
mov eax, 0
sete cl
cmove eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xc8]
lea eax, [edx + edx*4]
xor edx, edx
add eax, eax
div dword [esp + 0xc4]
cmp eax, 6
je 0xc30181
cmp eax, 8
je 0xc2fff1
cmp eax, 5
je 0xc2ff9e
cmp dword [esp + 0xc0], 1
je 0xc2fedb
cmp dword [esp + 0xc8], 1
mov dword [esp + 0x60], 0xc2f6b0
jne 0xc2feff
cmp dword [esp + 0xc4], 2
jne 0xc2feff
mov ebp, dword [esp + 0xcc]
mov eax, 0xc2f5f0
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x50], 0xc2f670
test ebp, ebp
cmovne eax, dword [esp + 0x50]
cmp dword [esp + 0xa0], ecx
mov dword [esp + 0x50], eax
je 0xc2ff1b
movzx eax, byte [esp + 0x68]
jb 0xc301e7
sub eax, 1
xor edx, edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc8]
imul eax, dword [esp + 0x30]
div dword [esp + 0xc4]
mov edi, eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 1
add ecx, 1
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 8], ecx
call dword [esp + 0x60]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0xb0]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [esp + 0x3c]
test eax, eax
mov dword [esp + 0x6c], eax
jle 0xc2fed0
mov eax, dword [esp + 0x30]
imul edi, ebx
mov ecx, dword [esp + 0x30]
imul ecx, dword [esp + 0x38]
mov dword [esp + 0x34], 0
imul eax, ebx
add eax, dword [esp + 0xb4]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x38]
add ecx, ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x2c], esi
add eax, 1
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x30]
test edx, edx
jle 0xc2fe23
mov ebp, dword [esp + 0x7c]
mov edi, 1
mov esi, dword [esp + 0x68]
jmp 0xc2fdf1
mov ecx, dword [esp + 0xc0]
add edi, 1
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
add ebp, ebx
mov dword [esp], esi
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 1
mov dword [esp + 4], 1
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 8], ecx
call dword [esp + 0x60]
add esi, dword [esp + 0x38]
cmp dword [esp + 0x30], edi
jl 0xc2fe23
mov eax, dword [esp + 0x34]
add eax, edi
cmp eax, dword [esp + 0xa0]
jl 0xc2fda1
mov eax, ebp
add edi, 1
sub eax, ebx
mov dword [esp], ebp
add ebp, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
add esi, dword [esp + 0x38]
cmp dword [esp + 0x30], edi
jge 0xc2fdf1
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0xc2fe87
mov edi, dword [esp + 0xb4]
xor esi, esi
mov ebp, dword [esp + 0xc4]
nop
lea esi, [esi]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc8]
add eax, esi
mov dword [esp + 0x10], eax
lea eax, [edi + esi]
add esi, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [esp + 0x50]
cmp esi, dword [esp + 0x2c]
jne 0xc2fe40
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x70]
add dword [esp + 0x5c], 1
add dword [esp + 0xa4], edx
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
add dword [esp + 0x68], ecx
add dword [esp + 0x34], eax
cmp dword [esp + 0x6c], edx
jne 0xc2fd86
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esp + 0xbc], 2
jne 0xc2fc30
cmp dword [esp + 0xc8], 1
mov dword [esp + 0x60], 0xc2f670
je 0xc2fc46
mov ecx, dword [esp + 0xb0]
cmp dword [esp + 0xa0], ecx
mov dword [esp + 0x50], 0xc2f6b0
jne 0xc2fc87
mov edi, dword [esp + 0xa0]
test edi, edi
jle 0xc2fed0
mov ebp, dword [esp + 0x40]
xor edi, edi
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xa4]
add ebp, 1
mov ecx, dword [esp + 0xc0]
add edi, 1
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp], ebx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], 1
call dword [esp + 0x60]
add ebx, dword [esp + 0x38]
add esi, dword [esp + 0x2c]
cmp edi, dword [esp + 0xa0]
jne 0xc2ff42
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xcc]
test eax, eax
je 0xc3020a
mov eax, dword [0x1765ab0]
mov ebp, 1
mov dword [esp + 0x6c], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 1
jmp 0xc3001f
mov edi, dword [esp + 0xa0]
sub edi, 1
imul edi, edx
add edi, eax
jmp 0xc2fb9a
mov eax, dword [0x1765ab8]
mov ebp, 4
mov dword [esp + 0x6c], 5
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 5
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 4
test ecx, ecx
je 0xc2fc22
mov ecx, dword [esp + 0xb0]
cmp dword [esp + 0xa0], ecx
je 0xc3023e
mov eax, dword [esp + 0x50]
test eax, eax
jne 0xc301b5
mov ecx, dword [esp + 0xb0]
lea eax, [ebp + ecx - 1]
mov edx, eax
sar edx, 0x1f
idiv dword [esp + 0x64]
test eax, eax
mov dword [esp + 0x54], eax
jle 0xc2fed0
mov ecx, dword [esp + 0xb4]
imul ebp, ebx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x2c], ebx
add ecx, ebx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x6c]
imul eax, ebx
imul ecx, dword [esp + 0x38]
add eax, dword [esp + 0xb4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x68], eax
lea esi, [esi]
mov edx, dword [esp + 0x4c]
xor eax, eax
mov ebp, dword [esp + 0x5c]
mov ebx, eax
mov esi, edx
nop
mov edx, dword [esp + 0x30]
add ebx, 1
mov eax, edi
mov ecx, dword [esp + 0x40]
cmp ebp, edi
cmovae eax, ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [esp + 0x34]
add ebp, dword [esp + 0x38]
add esi, dword [esp + 0x2c]
cmp ebx, dword [esp + 0x3c]
jne 0xc300c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [esp + 0x60]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0xc30160
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x48], 1
mov eax, dword [esp + 0x54]
add dword [esp + 0x5c], edx
add dword [esp + 0xa4], ecx
cmp dword [esp + 0x48], eax
jne 0xc300b0
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], edx
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
jmp 0xc30129
mov edx, dword [0x1765ab4]
mov ebp, 3
mov dword [esp + 0x6c], 5
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 5
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 3
jmp 0xc3001f
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x5c], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x40]
cmovb eax, edi
mov dword [esp + 0x5c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call dword [esp + 0x34]
jmp 0xc30047
lea edi, [eax - 1]
mov eax, dword [esp + 0xa0]
xor edx, edx
mov dword [esp + 0x3c], edi
imul eax, edi
div dword [esp + 0xb0]
mov dword [esp + 0x30], eax
jmp 0xc2fcb4
mov edx, dword [0x1765aac]
mov ebp, 1
mov dword [esp + 0x6c], 2
mov dword [esp + 0x50], 1
mov dword [esp + 0x3c], 2
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], 1
jmp 0xc3001f
mov eax, dword [esp + 0xa0]
test eax, eax
jle 0xc2fed0
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x5c]
xor edi, edi
mov dword [esp + 0x44], esi
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add edi, 1
mov dword [esp + 8], ebx
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
call dword [esp + 0x34]
add ebp, dword [esp + 0x38]
add ebx, dword [esp + 0x2c]
cmp edi, dword [esp + 0xa0]
jne 0xc30266
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret