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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ebx
jne 0x5bffb9
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret 0x18
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [ecx + eax*4]
mov cl, byte [edx + ebp]
test cl, cl
je 0x5c00ed
mov eax, dword [esi + ebp*4 + 0xc]
cmp eax, 0xffffffff
jne 0x5bfffd
cmp ebp, 0xa
jne 0x5bffeb
cmp dword [esi + 0x6c], edi
je 0x5c00e6
jmp 0x5bfffd
cmp ebp, 0xb
jne 0x5c00e6
cmp dword [esi + 0x70], edi
je 0x5c00e6
cmp cl, 2
jne 0x5c0010
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x13], 1
inc ecx
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x30]
cmp edx, edi
je case.0x5c0028.6
lea ecx, [ebp - 4]
cmp ecx, 0xb
ja case.0x5c0028.6
jmp dword [ecx*4 + 0x5c0210]
cmp eax, edi
jle case.0x5c0028.6
mov eax, dword [esp + 0x34]
lea ebp, [eax + ebx*4]
mov ecx, dword [esi + 0x68]
xor bl, bl
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x30]
push edx
call fcn.005ebae0
test eax, eax
je 0x5c006d
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x5c005f
mov dword [ebp], eax
mov ecx, dword [esp + 0x14]
mov bl, 1
inc ecx
add ebp, 4
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, dword [esi + eax*4 + 0xc]
jl 0x5c003e
test bl, bl
je 0x5c0143
mov ebx, dword [esp + 0x14]
xor edi, edi
mov ebp, eax
jmp case.0x5c0028.6
push eax
mov ecx, edx
call fcn.005ebae0
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x5c0143
jmp case.0x5c0028.6
movsx ecx, word [edx + 0x48]
cmp ecx, eax
jle 0x5c0143
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x18], eax
jmp case.0x5c0028.6
movsx ecx, word [edx + 0x48]
cmp ecx, eax
jle 0x5c0143
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x28], eax
jmp case.0x5c0028.6
mov ecx, dword [edx + 0x34]
cmp eax, dword [ecx + 8]
jge 0x5c0143
jmp case.0x5c0028.6
mov edx, dword [edx + 0x34]
cmp eax, dword [edx + 0xc]
jge 0x5c0143
jmp case.0x5c0028.6
cmp cl, 2
jne 0x5c0143
jmp case.0x5c0028.6
cmp ebp, 0xa
mov dword [esi + ebp*4 + 0xc], 0xffffffff
jne 0x5c010f
mov eax, dword [esi + 0x6c]
cmp eax, edi
je case.0x5c0028.6
push eax
call fcn.005fabe7
add esp, 4
mov dword [esi + 0x6c], edi
jmp case.0x5c0028.6
cmp ebp, 0xb
jne case.0x5c0028.6
mov eax, dword [esi + 0x70]
cmp eax, edi
je case.0x5c0028.6
push eax
call fcn.005fabe7
add esp, 4
mov dword [esi + 0x70], edi
inc ebp
cmp ebp, 0x17
mov dword [esp + 0x1c], ebp
jl 0x5bffbf
mov al, byte [esp + 0x13]
test al, al
je 0x5c014f
cmp dword [esp + 0x20], edi
jne 0x5c014f
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1c
ret 0x18
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x5c015d
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
cmp ecx, edi
je 0x5c016b
mov dword [ecx], edx
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x5c0179
mov ebp, dword [esp + 0x28]
mov dword [eax], ebp
mov eax, dword [esi + 4]
mov ebp, dword [esi]
mov eax, dword [ebp + eax*4]
cmp byte [eax + 4], 0
je 0x5c01fa
cmp ebx, edi
jne 0x5c01fa
mov ebp, dword [esp + 0x34]
cmp ebp, edi
je 0x5c01fa
cmp ecx, edi
je 0x5c01fa
cmp edx, edi
je 0x5c01fa
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x58]
push ebp
push ecx
mov ecx, dword [esi + 0x54]
push eax
mov eax, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x5c]
push ecx
mov ecx, dword [esi + 0x24]
push 2
push eax
push ecx
mov ecx, dword [edx + 0x78]
call fcn.0049b050
mov ecx, dword [esi + 0x58]
mov ebx, eax
mov eax, dword [esi + 0x60]
lea edx, [ebp + ebx*4]
push edx
mov edx, dword [esi + 0x54]
push eax
mov eax, dword [esi + 0x50]
push ecx
mov ecx, dword [esi + 0x4c]
push edx
mov edx, dword [esi + 0x5c]
push eax
mov eax, dword [esi + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push 2
push edx
mov ecx, dword [ecx + 0x7c]
push eax
call fcn.0049b050
add ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x5c0204
mov dword [eax], ebx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret 0x18