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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
push esi
or esi, 0xffffffff
push edi
mov edi, ecx
cmp dword [ebx + 0xc], edx
ja 0x5b19d6
mov al, dl
cmp dword [ebx + 8], esi
jb 0x5b19d8
mov al, 1
mov byte [ebp + 0xb], al
cmp dword [ebx + 0x14], edx
ja 0x5b19e7
mov cl, dl
cmp dword [ebx + 0x10], esi
jb 0x5b19e9
mov cl, 1
mov byte [ebp - 1], cl
cmp dword [ebx + 0x4c], edx
ja 0x5b19f6
cmp dword [ebx + 0x48], esi
jb 0x5b19f8
mov dl, 1
mov byte [ebp - 2], dl
test cl, cl
jne 0x5b1a0a
test al, al
jne 0x5b1a0a
mov byte [ebp - 6], al
test dl, dl
je 0x5b1a0e
mov byte [ebp - 6], 1
push 0x2014b50
mov ecx, edi
call fcn.005b1766
movzx eax, byte [ebx + 0x40]
mov ecx, edi
push eax
call fcn.005b17be
movzx eax, byte [ebx + 0x41]
mov ecx, edi
push eax
call fcn.005b17be
push dword [ebp - 6]
mov ecx, edi
push ebx
call fcn.005b1c1f
push dword [ebx + 0x1c]
mov ecx, edi
call fcn.005b1766
cmp byte [ebp - 1], 0
mov eax, esi
jne 0x5b1a52
mov eax, dword [ebx + 0x10]
push eax
mov ecx, edi
call fcn.005b1766
cmp byte [ebp + 0xb], 0
mov eax, esi
jne 0x5b1a65
mov eax, dword [ebx + 8]
push eax
mov ecx, edi
call fcn.005b1766
movzx eax, word [ebx + 0x28]
mov ecx, edi
push eax
call fcn.005b1745
mov al, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
movzx eax, al
add cx, ax
mov al, byte [ebp + 0xb]
movzx eax, al
add cx, ax
movzx eax, cx
lea ecx, [ebx + 0x50]
shl ax, 3
mov dword [ebp - 0xc], eax
call fcn.005b16c6
movzx ecx, ax
mov eax, dword [ebp - 0xc]
add eax, 4
add eax, ecx
cmp byte [ebp - 6], 0
movzx eax, ax
cmovne ecx, eax
xor eax, eax
cmp byte [ebx + 0x88], al
push 0x24
pop edx
cmovne eax, edx
add cx, ax
movzx eax, cx
mov ecx, edi
push eax
call fcn.005b1745
movzx eax, word [ebx + 0x64]
mov ecx, edi
push eax
mov dword [ebp - 0x10], eax
call fcn.005b1745
push 0
mov ecx, edi
call fcn.005b1745
movzx eax, word [ebx + 0x42]
mov ecx, edi
push eax
call fcn.005b1745
push dword [ebx + 0x44]
mov ecx, edi
call fcn.005b1766
cmp byte [ebp - 2], 0
jne 0x5b1b09
mov esi, dword [ebx + 0x48]
push esi
mov ecx, edi
call fcn.005b1766
mov esi, dword [ebx + 0x28]
mov ecx, edi
push esi
push dword [ebx + 0x24]
call fcn.005a03a9
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
cmp byte [ebp - 6], 0
je 0x5b1b78
push 1
mov ecx, edi
call fcn.005b1745
push dword [ebp - 0xc]
mov ecx, edi
call fcn.005b1745
cmp byte [ebp + 0xb], 0
je 0x5b1b52
push dword [ebx + 0xc]
mov ecx, edi
push dword [ebx + 8]
call fcn.005b178b
cmp byte [ebp - 1], 0
je 0x5b1b65
push dword [ebx + 0x14]
mov ecx, edi
push dword [ebx + 0x10]
call fcn.005b178b
cmp byte [ebp - 2], 0
je 0x5b1b78
push dword [ebx + 0x4c]
mov ecx, edi
push dword [ebx + 0x48]
call fcn.005b178b
cmp byte [ebx + 0x88], 0
je 0x5b1bf0
push 0xa
mov ecx, edi
call fcn.005b1745
push 0x20
mov ecx, edi
call fcn.005b1745
push 0
mov ecx, edi
call fcn.005b1766
push 1
mov ecx, edi
call fcn.005b1745
push 0x18
mov ecx, edi
call fcn.005b1745
push dword [ebx + 0x70]
mov ecx, edi
call fcn.005b1766
push dword [ebx + 0x74]
mov ecx, edi
call fcn.005b1766
push dword [ebx + 0x78]
mov ecx, edi
call fcn.005b1766
push dword [ebx + 0x7c]
mov ecx, edi
call fcn.005b1766
push dword [ebx + 0x80]
mov ecx, edi
call fcn.005b1766
push dword [ebx + 0x84]
mov ecx, edi
call fcn.005b1766
lea eax, [ebx + 0x50]
mov ecx, edi
push eax
call fcn.005b1cf2
mov eax, dword [ebp - 0x10]
test ax, ax
je 0x5b1c18
movzx esi, ax
mov ecx, edi
push esi
push dword [ebx + 0x60]
call fcn.005a03a9
add dword [edi + 0x38], esi
adc dword [edi + 0x3c], 0
pop edi
pop esi
pop ebx
leave
ret 4