Function at 0x5d59f0
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 0x5d5a29
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 0x5d5b5d
mov eax, dword [esi + ebp*4 + 0xc]
cmp eax, 0xffffffff
jne 0x5d5a6d
cmp ebp, 0xa
jne 0x5d5a5b
cmp dword [esi + 0x6c], edi
je 0x5d5b56
jmp 0x5d5a6d
cmp ebp, 0xb
jne 0x5d5b56
cmp dword [esi + 0x70], edi
je 0x5d5b56
cmp cl, 2
jne 0x5d5a80
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.0x5d5a98.6
lea ecx, [ebp - 4]
cmp ecx, 0xb
ja case.0x5d5a98.6
jmp dword [ecx*4 + 0x5d5c80]
cmp eax, edi
jle case.0x5d5a98.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.00603f70
test eax, eax
je 0x5d5add
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x5d5acf
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 0x5d5aae
test bl, bl
je 0x5d5bb3
mov ebx, dword [esp + 0x14]
xor edi, edi
mov ebp, eax
jmp case.0x5d5a98.6
push eax
mov ecx, edx
call fcn.00603f70
cmp eax, edi
mov dword [esp + 0x24], eax
je 0x5d5bb3
jmp case.0x5d5a98.6
movsx ecx, word [edx + 0x48]
cmp ecx, eax
jle 0x5d5bb3
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x18], eax
jmp case.0x5d5a98.6
movsx ecx, word [edx + 0x48]
cmp ecx, eax
jle 0x5d5bb3
mov edx, dword [edx + 0x4c]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x28], eax
jmp case.0x5d5a98.6
mov ecx, dword [edx + 0x34]
cmp eax, dword [ecx + 8]
jge 0x5d5bb3
jmp case.0x5d5a98.6
mov edx, dword [edx + 0x34]
cmp eax, dword [edx + 0xc]
jge 0x5d5bb3
jmp case.0x5d5a98.6
cmp cl, 2
jne 0x5d5bb3
jmp case.0x5d5a98.6
cmp ebp, 0xa
mov dword [esi + ebp*4 + 0xc], 0xffffffff
jne 0x5d5b7f
mov eax, dword [esi + 0x6c]
cmp eax, edi
je case.0x5d5a98.6
push eax
call fcn.00613327
add esp, 4
mov dword [esi + 0x6c], edi
jmp case.0x5d5a98.6
cmp ebp, 0xb
jne case.0x5d5a98.6
mov eax, dword [esi + 0x70]
cmp eax, edi
je case.0x5d5a98.6
push eax
call fcn.00613327
add esp, 4
mov dword [esi + 0x70], edi
inc ebp
cmp ebp, 0x17
mov dword [esp + 0x1c], ebp
jl 0x5d5a2f
mov al, byte [esp + 0x13]
test al, al
je 0x5d5bbf
cmp dword [esp + 0x20], edi
jne 0x5d5bbf
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 0x5d5bcd
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
cmp ecx, edi
je 0x5d5bdb
mov dword [ecx], edx
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x5d5be9
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 0x5d5c6a
cmp ebx, edi
jne 0x5d5c6a
mov ebp, dword [esp + 0x34]
cmp ebp, edi
je 0x5d5c6a
cmp ecx, edi
je 0x5d5c6a
cmp edx, edi
je 0x5d5c6a
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.004a15d0
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.004a15d0
add ebx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x5d5c74
mov dword [eax], ebx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret 0x18