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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
push esi
push edi
cmp dword [ecx + 0x2c], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x28]
mov esi, dword [edi + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 0
mov byte [ecx], 1
mov dword [ebp - 8], eax
jle 0x5b5c82
nop word [eax + eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], 0
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5b5972
mov ebx, dword [edx]
mov ecx, dword [edi + 0x3c]
mov eax, dword [edi + 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, ecx
jg 0x5b5953
push 1
sub ecx, ebx
add eax, ebx
push 0
mov dword [edi + 0x3c], ecx
mov ecx, dword [ebp - 4]
push ecx
push edx
push edi
mov dword [edi + 0x40], eax
call fcn.00588e40
add esp, 0x14
jmp 0x5b5980
mov eax, dword [edi + 0x4c]
push 1
push 0
lea ecx, [eax + 1]
add eax, ebx
push ecx
push edx
push edi
mov dword [ebp - 4], ecx
mov dword [edi + 0x4c], eax
call fcn.00588e40
add esp, 0x14
jmp 0x5b5980
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
jl 0x5b59ea
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x20], ecx
mov ebx, dword [ecx + 0x74]
lea eax, [ebx + 1]
mov dword [ecx + 0x74], eax
lea eax, [ebx - 1]
test ebx, eax
jne 0x5b59bf
push 0
lea eax, [ebx*8 + 4]
push eax
push dword [ecx + 0x78]
push dword [ecx]
call fcn.00586540
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov edx, dword [ebp - 8]
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x5b59cd
mov dword [eax + ebx*4], 0xffffffff
push dword [ebp - 4]
or eax, 0xffffffff
sub eax, ebx
push 1
push eax
push dword [edx + 0xc]
mov dword [ebp - 0x20], eax
push edi
call fcn.005632a0
mov edx, dword [ebp - 8]
add esp, 0x14
mov eax, dword [edx + 4]
test byte [eax + 2], 0x20
je 0x5b5aee
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
cmp ebx, dword [ebp - 0xc]
jge 0x5b5a62
push dword [ecx]
push edi
call fcn.0058a690
mov ecx, dword [ebp - 0x1c]
add esp, 8
add ecx, 0x18
mov dword [ebp - 0x14], eax
inc ebx
mov dword [ebp - 0x1c], ecx
test eax, eax
je 0x5b5a07
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x5b5a43
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x24], ecx
je 0x5b5a43
inc dword [edi + 0x4c]
mov ecx, dword [edi + 0x4c]
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
cmp dword [eax + 0x58], edx
jg 0x5b5a6d
push 0
push 0
push ecx
push 0x57
push esi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x5b5aa6
test eax, eax
jne 0x5b5a28
mov eax, dword [edi]
mov ebx, dword [eax + 8]
jmp 0x5b5a2b
mov edi, dword [ebp - 0x10]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [ebp + 8]
mov word [eax + ecx*4], 0x57
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b5abc
push ebx
push 0xfffffffffffffffc
push eax
call fcn.0056c510
add esp, 0xc
jmp 0x5b5aee
test edx, edx
jns 0x5b5ac4
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x5b5ae3
push 0xfffffffffffffffc
push ebx
push eax
push esi
call fcn.005b6720
add esp, 0x10
jmp 0x5b5aee
test ebx, ebx
je 0x5b5aee
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfc
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 0x58], edx
jg 0x5b5b1d
push ecx
push dword [ebp - 4]
push 0
push 0x92
push esi
call fcn.0056e710
add esp, 0x14
mov edx, eax
jmp 0x5b5b55
mov edi, dword [ebp - 4]
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [ebp + 8]
mov word [eax + ecx*4], 0x92
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b5b6b
push ebx
push 0xfffffffffffffffb
push eax
call fcn.0056c510
add esp, 0xc
jmp 0x5b5b9d
test edx, edx
jns 0x5b5b73
mov edx, dword [esi + 0x20]
dec edx
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x5b5b92
push 0xfffffffffffffffb
push ebx
push eax
push esi
call fcn.005b6720
add esp, 0x10
jmp 0x5b5b9d
test ebx, ebx
je 0x5b5b9d
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfb
mov eax, dword [esi]
mov ebx, dword [ebp - 0xc]
cmp byte [eax + 0x45], 0
jne 0x5b5bb5
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4 - 0x11], bl
push ebx
push dword [ebp - 4]
push edi
call fcn.00588a70
push ebx
push dword [ebp - 4]
push edi
call fcn.00588a70
add esp, 0x18
cmp ebx, dword [edi + 0x3c]
jle 0x5b5bda
mov eax, dword [ebp - 4]
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5b5c09
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x5b5bf9
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
push edi
mov dword [edx + 0x60], eax
call fcn.00588720
add esp, 4
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
inc ebx
mov eax, dword [ebp - 8]
add eax, 0x10
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], eax
cmp ebx, dword [ecx + 0x2c]
jl 0x5b5910
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x5b5c82
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x18], ebx
cmp dword [eax + 0x58], ebx
jg 0x5b5c4f
push 0
push 0
push edx
push 0x15
push esi
call fcn.0056e710
add esp, 0x14
mov dword [ebp - 0x18], eax
jmp 0x5b5c82
lea eax, [ebx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push edi
call fcn.00588720
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [eax + 0x24], 0
mov ebx, dword [eax + 0x1c]
jle 0x5b5cbd
add ebx, 0x14
xor esi, esi
nop dword [eax]
push dword [ebx - 4]
push dword [ebx]
push edi
call fcn.00588cf0
mov eax, dword [ebp + 0xc]
lea ebx, [ebx + 0x18]
inc esi
add esp, 0xc
cmp esi, dword [eax + 0x24]
jl 0x5b5ca0
mov esi, dword [ebp - 0x28]
push edi
mov byte [eax], 0
call fcn.00588720
mov ebx, dword [ebp - 0x18]
add esp, 4
test ebx, ebx
je 0x5b5d08
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test ebx, ebx
jns 0x5b5ce4
lea ebx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b5cfb
mov eax, 0x68444c
pop edi
pop esi
pop ebx
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret