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

Disassembly:
mov eax, 0x1044
call fcn.00612dc0
mov eax, dword [0x68b740]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
mov ebx, dword [esp + 0x104c]
mov al, byte [ebx + 8]
test al, al
push ebp
push esi
push edi
mov ebp, ecx
jne 0x5b8fb6
cmp byte [ebx + 0xa], al
jne 0x5b8f14
movzx eax, byte [ebx + 9]
add eax, 0xfffffffe
cmp eax, 4
ja case.0x5b8ee5.3
jmp dword [eax*4 + 0x5b9324]
mov eax, dword [0x6e0afc]
jmp 0x5b907d
mov eax, dword [0x6e0b00]
jmp 0x5b907d
mov eax, dword [0x6e0b04]
jmp 0x5b907d
mov eax, dword [0x6dfe70]
jmp 0x5b907d
mov ecx, dword [ebp + 0x24]
mov edx, dword [0x8e48f4]
imul ecx, ecx, 0x8b30
lea eax, [esp + 0x1c]
push eax
lea ecx, [ecx + edx + 0x6194]
call fcn.005b8920
xor esi, esi
lea eax, [ebx + 0x13]
lea edx, [esp + 0x3c]
mov dword [esp + 0x5c], 0x12
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x5b8f50
push esi
push 1
lea eax, [esp + 0x24]
push eax
push 0x70
call fcn.00538940
mov ecx, dword [0x6e0b08]
push ecx
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0x484], 0
mov byte [esp + 0x485], 0
mov byte [esp + 0x486], 0
mov byte [esp + 0x487], 0
call dword [sym.imp.MSVCR80.dll_sprintf]
push esi
push esi
lea eax, [esp + 0x88]
push eax
push 0x1f
call fcn.00538940
add esp, 0x28
jmp case.0x5b8ee5.3
cmp al, 1
je case.0x5b8ee5.3
cmp al, 2
jne 0x5b8ff5
mov ecx, dword [ebp + 0x24]
mov edx, dword [0x8e48f4]
imul ecx, ecx, 0x8b30
mov eax, dword [ecx + edx + 0x114]
mov ecx, dword [0x12c5540]
imul eax, eax, 0x113b8
mov edx, dword [eax + ecx]
cmp edx, dword [ebx + 4]
je case.0x5b8ee5.3
jmp 0x5b91e2
cmp al, 3
jne 0x5b9012
movzx eax, byte [ebx + 9]
sub eax, 0xa
je 0x5b9078
sub eax, 1
jne case.0x5b8ee5.3
mov eax, dword [0x6e0b30]
jmp 0x5b907d
cmp al, 4
je 0x5b8ff9
cmp al, 5
je case.0x5b8ee5.3
cmp al, 6
je case.0x5b8ee5.3
cmp al, 7
jne 0x5b90be
mov ecx, dword [ebp + 0x24]
mov edx, dword [0x8e48f4]
imul ecx, ecx, 0x8b30
lea eax, [esp + 0x1c]
push eax
lea ecx, [ecx + edx + 0x6194]
call fcn.005b8920
xor eax, eax
push eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x40], al
push 1
lea eax, [esp + 0x24]
push eax
push 0x70
mov dword [esp + 0x6c], 0x15
call fcn.00538940
add esp, 0x10
jmp case.0x5b8ee5.3
mov eax, dword [0x6e0b2c]
push eax
lea ecx, [esp + 0x6c]
push ecx
mov byte [esp + 0x474], 0
mov byte [esp + 0x475], 0
mov byte [esp + 0x476], 0
mov byte [esp + 0x477], 0
call dword [sym.imp.MSVCR80.dll_sprintf]
push 0
push 0
lea edx, [esp + 0x78]
push edx
push 0x1f
call fcn.00538940
add esp, 0x18
jmp case.0x5b8ee5.3
cmp al, 8
jne 0x5b91e2
cmp byte [ebx + 0xa], 0
push 0x140
je 0x5b91a2
mov dword [ebp + 0x80], 1
movzx ecx, byte [ebx + 0xb]
mov dword [ebp + 0x84], ecx
movzx edx, byte [ebx + 0xc]
mov dword [ebp + 0x88], edx
movzx eax, byte [ebx + 0xd]
mov dword [ebp + 0x8c], eax
movzx ecx, byte [ebx + 0xe]
mov dword [ebp + 0x90], ecx
lea eax, [ebp + 0x4cc]
push 0
lea esi, [ebx + 0x13]
lea edi, [ebp + 0x94]
mov ecx, 8
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR80.dll_memset
mov eax, dword [ebp + 0x90]
add esp, 0xc
test eax, eax
jle 0x5b91d2
lea eax, [ebp + 0x4cc]
mov dword [esp + 0x14], eax
mov eax, 0xffffffcd
xor edi, edi
lea edx, [ebx + 0x3d]
sub eax, ebx
mov dword [esp + 0x10], edx
lea esi, [ebx + 0x33]
mov dword [esp + 0x18], eax
jmp 0x5b9160
movzx eax, byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call sub.MSVCR80.dll_memcpy
movzx eax, byte [esi]
add dword [esp + 0x1c], eax
add dword [esp + 0x20], 0x20
add eax, edi
mov byte [eax + ebp + 0x4cc], 0
mov eax, dword [esp + 0x24]
add esi, 1
add eax, esi
add esp, 0xc
add edi, 0x20
cmp eax, dword [ebp + 0x90]
jl 0x5b9160
jmp 0x5b91d2
xor eax, eax
push eax
lea ecx, [ebp + 0x4cc]
push ecx
mov dword [ebp + 0x80], eax
mov dword [ebp + 0x84], eax
mov dword [ebp + 0x8c], eax
mov dword [ebp + 0x90], eax
mov byte [ebp + 0x94], al
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 2
call fcn.00538940
add esp, 0x10
mov al, byte [ebx + 8]
test al, al
je 0x5b9233
cmp al, 1
je 0x5b9233
cmp al, 2
jne 0x5b921b
mov edx, dword [ebp + 0x24]
mov ecx, dword [0x8e48f4]
imul edx, edx, 0x8b30
mov edx, dword [edx + ecx + 0x114]
mov ecx, dword [0x12c5540]
imul edx, edx, 0x113b8
mov edx, dword [edx + ecx]
cmp edx, dword [ebx + 4]
je 0x5b9233
cmp al, 3
je 0x5b9233
cmp al, 4
je 0x5b9233
cmp al, 5
je 0x5b9233
cmp al, 6
je 0x5b9233
cmp al, 7
jne 0x5b9307
lea eax, [ebp + 0x3c]
lea edx, [esp + 0x1c]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x5b9240
movzx edi, byte [ebx + 0xe]
push 0xbe0
lea eax, [esp + 0x474]
push 0
push eax
mov dword [esp + 0x68], 0x123
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], edi
mov byte [esp + 0x48], cl
call sub.MSVCR80.dll_memset
add esp, 0xc
xor ebx, ebx
test edi, edi
jle 0x5b92ee
mov edx, ebx
imul edx, edx, 0x130
mov ecx, ebx
shl ecx, 5
lea eax, [ecx + ebp + 0x4cc]
mov ecx, edx
sub ecx, eax
mov dword [esp + edx + 0x4b8], 0x123
lea esi, [esp + ecx + 0x470]
nop
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x5b92b0
test ebx, ebx
jne 0x5b92dc
mov eax, dword [0x6dfe74]
lea esi, [esp + 0x558]
sub esi, eax
mov edi, edi
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
test cl, cl
jne 0x5b92d0
add ebx, 1
cmp ebx, edi
mov dword [esp + edx + 0x598], 2
jl 0x5b9285
push 0
lea edx, [esp + 0x474]
push edx
lea eax, [esp + 0x24]
push eax
push 0x6f
call fcn.00538940
add esp, 0x10
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00612c78
add esp, 0x1044
ret 4