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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], eax
push ecx
mov esi, dword [ecx + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], eax
call fcn.00588720
movzx edi, byte [ebx + 0x2b]
add esp, 4
sub edi, 1
mov dword [ebp - 0x1c], edi
js 0x5b2c61
mov ecx, dword [ebp - 0x20]
lea eax, [edi + edi*4]
shl eax, 4
add ecx, 0x38
add ecx, eax
add ebx, 0x2fc
add ebx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
mov edx, dword [esi + 0x18]
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 4], eax
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x5b2768
mov eax, dword [ebx + 4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov al, byte [ebx + 0x19]
cmp al, 0xa0
je 0x5b27f5
mov ecx, dword [ebx + 0x1c]
movzx edx, byte [ebx + 0x1a]
mov edi, dword [ebx + 0x20]
movzx eax, al
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x5b27a7
push edx
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b27dd
mov ebx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], bl
mov ebx, dword [ebp - 0x18]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp - 8]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x5b27f5
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
lea edx, [eax + eax*4]
mov al, byte [ebx + 0x1b]
mov byte [ecx + edx*4 - 0x11], al
mov eax, dword [ebp - 4]
test dword [eax + 0x24], 0x800
je 0x5b292e
cmp dword [ebx + 0x24], 0
jle 0x5b292e
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x5b282a
mov eax, dword [ebx - 4]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x14], edx
lea edi, [edx - 1]
lea edi, [edi + edi*2]
lea edi, [eax + edi*4]
test edx, edx
jle 0x5b292e
nop dword [eax + eax]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [edi + 4]
add edx, 1
mov dword [eax + 0x60], ecx
mov ebx, dword [esi + 0x20]
jns 0x5b2868
lea edx, [ebx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b2877
mov eax, 0x68444c
jmp 0x5b2880
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
movzx eax, byte [edi + 8]
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x58], ecx
jg 0x5b28af
push 0
push edx
push ebx
push dword [ebp - 0x18]
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b28e6
mov edx, dword [ebp - 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], dl
mov edx, dword [ebp - 0x28]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [edi + 4]
sub edx, 1
mov dword [eax + 0x60], ecx
mov ebx, dword [esi + 0x20]
jns 0x5b28fe
lea edx, [ebx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b290d
mov eax, 0x68444c
jmp 0x5b2916
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
sub edi, 0xc
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
test eax, eax
jg 0x5b2850
mov ebx, dword [ebp - 8]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x5b2949
mov eax, dword [ebx - 8]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x60], eax
mov edx, dword [ebx]
test edx, edx
je 0x5b2a0d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
cmp dword [eax + 0x58], ecx
jg 0x5b2977
push 0
push edx
push 0
push 0xd
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b29aa
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [ebx]
mov dword [eax + 0x60], ecx
mov edi, dword [esi + 0x20]
test edx, edx
jns 0x5b29c0
lea edx, [edi - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b29cf
mov eax, 0x68444c
jmp 0x5b29d8
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [ebx]
sub edx, 2
mov dword [eax + 0x60], ecx
mov edi, dword [esi + 0x20]
jns 0x5b29f2
lea edx, [edi - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b2a01
mov eax, 0x68444c
jmp 0x5b2a0a
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edi
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x5b2a64
mov eax, dword [esi + 0x18]
mov edx, dword [ebx + 0x10]
mov ecx, dword [esi + 0x20]
shr edx, 1
cmp dword [eax + 0x58], ecx
jg 0x5b2a35
push 0
push edi
push edx
push 0x43
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b2a64
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx - 0x14]
test edx, edx
je 0x5b2c45
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x58], edi
jg 0x5b2a8e
push 0
push 0
push edx
push 0x41
push esi
call fcn.0056e710
add esp, 0x14
mov edi, eax
jmp 0x5b2ac1
lea eax, [edi + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x41
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
mov eax, dword [ebp - 4]
test byte [eax + 0x24], 0x40
jne 0x5b2b22
mov eax, dword [esi + 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx]
cmp dword [eax + 0x58], ecx
jg 0x5b2aec
push 0
push 0
push edx
push 0x7b
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b2b1f
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7b
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
mov eax, dword [ebp - 4]
test dword [eax + 0x24], 0x200
je 0x5b2b7e
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x20]
mov edx, dword [ebx - 0xc]
cmp dword [eax + 0x58], ecx
jg 0x5b2b4b
push 0
push 0
push edx
push 0x7b
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b2b7e
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x7b
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
cmp byte [ebx + 0x19], 0x47
mov edx, dword [ebx + 8]
mov ecx, dword [esi + 0x20]
jne 0x5b2bc9
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x5b2bab
push 0
push edx
push dword [ebp - 0x18]
push 0xe
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b2c16
mov ebx, dword [ebp - 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp - 8]
mov word [eax + ecx*4], 0xe
jmp 0x5b2bfd
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x5b2be3
push 0
push edx
push 0
push 0xd
push esi
call fcn.0056e710
add esp, 0x14
jmp 0x5b2c16
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov byte [eax + ecx*4 + 3], 0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov edx, dword [esi + 0x20]
test edi, edi
jns 0x5b2c2a
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b2c39
mov eax, 0x68444c
jmp 0x5b2c42
mov eax, dword [esi + 4]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [ebp - 0x1c]
sub ebx, 0x50
sub dword [ebp - 0xc], 0x50
dec edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 8], ebx
test edi, edi
jns 0x5b2747
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 0x18]
mov ecx, dword [edx + 0x78]
test ecx, ecx
je 0x5b2c7c
mov eax, dword [ebx + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x20]
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
dec eax
mov dword [ebp - 0x14], 0
mov dword [edx + 0x60], eax
mov edx, dword [ebp + 8]
cmp byte [edx + 0x2b], 0
jbe 0x5b2e5c
lea ebx, [edx + 0x328]
mov dword [ebp - 0xc], ebx
movzx eax, byte [ebx - 0x14]
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebx]
lea eax, [eax + eax*4]
shl eax, 4
add ecx, eax
test byte [ecx + 0x30], 0x10
mov eax, dword [ecx + 0x18]
mov dword [ebp - 8], eax
je 0x5b2ce2
mov esi, dword [ebp - 0x10]
cmp byte [esi + 0x45], 0
mov esi, dword [ebp - 0x24]
jne 0x5b2ce2
push 0
push dword [ecx + 0x28]
push dword [ebx - 0x3c]
push dword [ebx - 0x20]
push esi
call fcn.005b5800
add esp, 0x14
jmp 0x5b2e3d
test byte [eax + 0x2a], 2
jne 0x5b2d38
cmp dword [eax + 0xc], 0
jne 0x5b2d38
test byte [edx + 0x24], 0x20
jne 0x5b2d38
cmp byte [edx + 0x28], 0
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x28], eax
jne 0x5b2d18
test al, 0x40
jne 0x5b2d18
push dword [ecx + 0x38]
push 0x6e
push esi
call fcn.005a36a0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov edx, dword [ebp + 8]
and eax, 0x4300
cmp eax, 0x200
jne 0x5b2d38
mov eax, dword [ebx - 0x38]
cmp eax, dword [edx + 0x44]
je 0x5b2d38
push eax
push 0x6e
push esi
call fcn.005a36a0
add esp, 0xc
mov eax, dword [edi + 0x24]
test eax, 0x240
je 0x5b2d47
mov eax, dword [edi + 0x1c]
jmp 0x5b2d55
test eax, 0x2000
je 0x5b2e3d
mov eax, dword [ebx - 8]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x5b2e3d
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x28], 0
je 0x5b2d76
mov eax, dword [eax + 0xc]
test byte [eax + 0x2a], 0x20
je 0x5b2e3d
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x45], 0
jne 0x5b2e3d
mov edi, dword [ebx - 0x20]
mov ecx, edi
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x1c], eax
test edi, edi
jns 0x5b2d95
lea ecx, [eax - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x5b2da4
mov edx, 0x68444c
jmp 0x5b2dad
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
cmp edi, dword [ebp - 0x1c]
jge 0x5b2e3d
mov esi, dword [ebp - 0x1c]
add edx, 4
sub esi, edi
nop
mov eax, dword [edx]
cmp eax, dword [ebx - 0x3c]
jne 0x5b2e32
mov al, byte [edx - 4]
cmp al, 0x5f
jne 0x5b2e25
mov eax, dword [ebp - 8]
mov edi, dword [edx + 4]
test byte [eax + 0x2a], 0x20
je 0x5b2dea
push eax
call fcn.00599900
add esp, 4
mov eax, dword [eax + 4]
movsx edi, word [eax + edi*2]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
movzx ebx, word [eax + 0x34]
test ebx, ebx
jle 0x5b2e0d
mov eax, dword [eax + 4]
nop word [eax + eax]
cmp di, word [eax]
je 0x5b2e20
inc ecx
add eax, 2
cmp ecx, ebx
jl 0x5b2e00
or eax, 0xffffffff
mov ebx, dword [ebp - 0xc]
cwde
test eax, eax
js 0x5b2e32
mov dword [edx + 4], eax
mov eax, dword [ebx - 0x38]
jmp 0x5b2e30
movzx eax, cx
jmp 0x5b2e10
cmp al, 0x7a
jne 0x5b2e32
mov eax, dword [ebx - 0x38]
mov byte [edx - 4], 0x80
mov dword [edx], eax
add edx, 0x14
sub esi, 1
jne 0x5b2dc0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
add ebx, 0x50
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], edx
movzx eax, byte [eax + 0x2b]
cmp edx, eax
mov edx, dword [ebp + 8]
jl 0x5b2ca0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x3c]
push edx
push dword [ebp - 0x10]
mov dword [ecx + 0x1ac], eax
call fcn.005bc7d0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret