Function at 0x5b0a80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
test esi, esi
je 0x5b0b88
lea edx, [esi - 1]
mov eax, esi
and eax, 3
xor ecx, ecx
cmp edx, 3
jb 0x5b0b33
mov edx, esi
and edx, 0xfffffffc
xor ecx, ecx
nop
nop
nop
movzx esi, word [ebp + ecx*2]
add word [esp + esi*2 + 0x30], 1
movzx esi, word [ebp + ecx*2 + 2]
add word [esp + esi*2 + 0x30], 1
movzx esi, word [ebp + ecx*2 + 4]
add word [esp + esi*2 + 0x30], 1
movzx esi, word [ebp + ecx*2 + 6]
add word [esp + esi*2 + 0x30], 1
add ecx, 4
cmp edx, ecx
jne 0x5b0b00
test eax, eax
je 0x5b0b61
lea ecx, [ecx*2]
add ecx, ebp
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [ecx + edx*2]
add word [esp + esi*2 + 0x30], 1
add edx, 1
cmp eax, edx
jne 0x5b0b50
movzx esi, word [esp + 0x4e]
mov eax, dword [edi]
mov edi, 0xf
test si, si
jne 0x5b0c53
cmp word [esp + 0x4c], 0
je 0x5b0b92
mov edi, 0xe
jmp 0x5b0c51
mov eax, dword [edi]
cmp word [esp + 0x4c], 0
jne 0x5b0b7e
cmp word [esp + 0x4a], 0
je 0x5b0ba4
mov edi, 0xd
jmp 0x5b0c51
cmp word [esp + 0x48], 0
je 0x5b0bb6
mov edi, 0xc
jmp 0x5b0c51
cmp word [esp + 0x46], 0
je 0x5b0bc8
mov edi, 0xb
jmp 0x5b0c51
cmp word [esp + 0x44], 0
je 0x5b0bd7
mov edi, 0xa
jmp 0x5b0c51
cmp word [esp + 0x42], 0
je 0x5b0be6
mov edi, 9
jmp 0x5b0c51
cmp word [esp + 0x40], 0
je 0x5b0bf5
mov edi, 8
jmp 0x5b0c51
cmp word [esp + 0x3e], 0
je 0x5b0c04
mov edi, 7
jmp 0x5b0c51
cmp word [esp + 0x3c], 0
je 0x5b0c13
mov edi, 6
jmp 0x5b0c51
cmp word [esp + 0x3a], 0
je 0x5b0c22
mov edi, 5
jmp 0x5b0c51
cmp word [esp + 0x38], 0
je 0x5b0c31
mov edi, 4
jmp 0x5b0c51
cmp word [esp + 0x36], 0
je 0x5b0c40
mov edi, 3
jmp 0x5b0c51
cmp word [esp + 0x34], 0
je 0x5b1289
mov edi, 2
xor esi, esi
mov ebx, edi
cmp eax, edi
ja 0x5b0c5b
mov ebx, eax
mov edx, 1
mov cl, 1
cmp word [esp + edx*2 + 0x30], 0
jne 0x5b0c73
add edx, 1
cmp edi, edx
jne 0x5b0c60
mov edx, edi
mov eax, edx
cmp ebx, edx
jb 0x5b0c7b
mov eax, ebx
mov dword [esp + 0x1c], eax
movzx eax, word [esp + 0x32]
mov dword [esp], 0xffffffff
cmp eax, 2
ja 0x5b120e
mov dword [esp + 4], esi
movzx esi, word [esp + 0x34]
mov dword [esp + 8], esi
lea esi, [esi + eax*2]
mov ebx, 4
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x36]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x14], esi
add ebx, ebx
movzx esi, word [esp + 0x38]
mov dword [esp + 0x10], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x3a]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x18], esi
add ebx, ebx
movzx esi, word [esp + 0x3c]
mov dword [esp + 0x2c], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x3e]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x58], esi
add ebx, ebx
movzx esi, word [esp + 0x40]
mov dword [esp + 0x68], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x42]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x54], esi
add ebx, ebx
movzx esi, word [esp + 0x44]
mov dword [esp + 0x28], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x46]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x64], esi
add ebx, ebx
movzx esi, word [esp + 0x48]
mov dword [esp + 0x24], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 0x4a]
sub ebx, esi
js 0x5b120e
mov dword [esp + 0x20], esi
add ebx, ebx
movzx esi, word [esp + 0x4c]
mov dword [esp + 0xc], esi
sub ebx, esi
js 0x5b120e
add ebx, ebx
movzx esi, word [esp + 4]
sub ebx, esi
js 0x5b120e
cmp dword [esp + 0xa0], 0
sete byte [esp + 4]
test ebx, ebx
je 0x5b0dbf
or byte [esp + 4], cl
jne 0x5b120e
mov ecx, dword [esp + 8]
add ecx, eax
mov word [esp + 0x6e], 0
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x14]
add eax, ecx
mov word [esp + 0x72], cx
mov ecx, dword [esp + 0x10]
add ecx, eax
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x18]
add eax, ecx
mov word [esp + 0x76], cx
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov word [esp + 0x78], ax
mov eax, dword [esp + 0x58]
add eax, ecx
mov word [esp + 0x7a], cx
mov ecx, dword [esp + 0x68]
add ecx, eax
mov word [esp + 0x7c], ax
mov eax, dword [esp + 0x54]
add eax, ecx
mov word [esp + 0x7e], cx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov word [esp + 0x80], ax
mov eax, dword [esp + 0x64]
add eax, ecx
mov word [esp + 0x82], cx
mov ecx, dword [esp + 0x24]
add ecx, eax
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x20]
add eax, ecx
mov word [esp + 0x86], cx
mov ecx, dword [esp + 0xc]
add ecx, eax
mov word [esp + 0x88], ax
mov word [esp + 0x8a], cx
mov ebx, dword [esp + 0xa8]
test ebx, ebx
je 0x5b0ea8
xor eax, eax
cmp ebx, 1
jne 0x5b121c
test bl, 1
je 0x5b0ea8
movzx ecx, word [ebp + eax*2]
test ecx, ecx
je 0x5b0ea8
movzx esi, word [esp + ecx*2 + 0x6c]
lea ebx, [esi + 1]
mov word [esp + ecx*2 + 0x6c], bx
mov ecx, dword [esp + 0xb4]
mov word [ecx + esi*2], ax
xor esi, esi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x5b0ef4
cmp eax, 1
jne 0x5b0f15
mov dword [esp], 1
cmp dword [esp + 0x1c], 9
ja 0x5b120e
mov al, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], 0x101
mov dword [esp + 0x24], 0x608662
mov dword [esp + 0x20], 0x608624
mov dword [esp + 0x5c], 0
jmp 0x5b0f5d
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x5b0f55
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x6086e0
mov dword [esp + 0x20], 0x6086a0
cmp eax, 2
sete al
mov dword [esp + 0x5c], eax
jne 0x5b0f55
mov dword [esp], 1
mov dword [esp + 0x50], 0
cmp dword [esp + 0x1c], 9
ja 0x5b120e
jmp 0x5b0f5d
mov dword [esp + 0x50], 0
mov eax, 1
mov ecx, dword [esp + 0x1c]
shl eax, cl
mov dword [esp + 0x60], eax
add eax, 0xffffffff
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xac]
mov eax, dword [eax]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov ebx, 1
shl ebx, cl
mov dword [esp + 0x58], ebx
mov dword [esp + 0xc], eax
add eax, 2
mov dword [esp + 0x68], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10], eax
mov eax, edx
sub eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0xb4]
movzx eax, word [eax + esi*2]
mov dword [esp + 4], eax
movzx ecx, ax
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x2c], esi
jae 0x5b0fe6
mov dword [esp + 8], 0
jmp 0x5b1015
mov eax, ebx
cmp ebx, ecx
jbe 0x5b0ffc
mov al, 0x60
mov dword [esp + 8], eax
mov dword [esp + 4], 0
jmp 0x5b1015
sub ecx, eax
mov eax, dword [esp + 0x24]
mov al, byte [eax + ecx*2]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + ecx*2]
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, 0xffffffff
shl esi, cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
shr eax, cl
mov dword [esp + 0x14], esi
lea ecx, [esi + esi]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x68]
lea esi, [ecx + eax*2]
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov ecx, dword [esp + 8]
mov byte [esi + ebx*4 - 2], cl
mov ecx, dword [esp]
mov byte [esi + ebx*4 - 1], cl
mov ecx, dword [esp + 4]
mov word [esi + ebx*4], cx
add eax, dword [esp + 0x14]
mov ebx, eax
jne 0x5b1040
mov ecx, edx
add cl, 0xff
mov esi, 1
shl esi, cl
mov ecx, dword [esp + 0x10]
nop
mov eax, esi
shr esi, 1
test eax, ecx
jne 0x5b1070
mov dword [esp + 4], 0
mov ecx, eax
sub ecx, 1
mov ebx, dword [esp]
jb 0x5b1094
and ecx, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 4], ecx
add word [esp + edx*2 + 0x30], 0xffff
mov esi, dword [esp + 0x2c]
je 0x5b10a6
mov ecx, dword [esp + 4]
jmp 0x5b10c3
cmp edx, edi
mov ecx, dword [esp + 4]
je 0x5b11d3
mov eax, dword [esp + 0xb4]
movzx eax, word [eax + esi*2 + 2]
movzx edx, word [ebp + eax*2]
add esi, 1
mov ebx, ecx
and ebx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
cmp ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
je 0x5b0fb2
mov dword [esp + 0x10], ecx
cmp edx, eax
jbe 0x5b0fb2
mov ecx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5b10f6
mov ecx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x14], eax
sub ecx, eax
mov eax, 1
mov dword [esp + 8], ecx
shl eax, cl
cmp edx, edi
mov dword [esp + 0x2c], esi
jae 0x5b1146
mov ecx, edi
sub ecx, dword [esp + 0x14]
mov dword [esp + 8], ecx
mov ecx, edx
movzx esi, word [esp + ecx*2 + 0x30]
sub eax, esi
jle 0x5b1137
add eax, eax
add ecx, 1
cmp ecx, edi
jb 0x5b111f
mov ecx, dword [esp + 8]
jmp 0x5b113b
sub ecx, dword [esp + 0x14]
mov eax, 1
mov dword [esp + 8], ecx
shl eax, cl
mov ecx, dword [esp + 0x60]
add ecx, eax
cmp ecx, 0x354
seta al
mov dword [esp + 0x60], ecx
cmp ecx, 0x250
seta cl
mov dword [esp], 1
test byte [esp + 0x50], al
jne 0x5b120e
and cl, byte [esp + 0x5c]
jne 0x5b120e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + eax*4]
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0xac]
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov byte [eax + ebx*4], cl
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov byte [eax + ebx*4 + 1], cl
mov eax, dword [esi]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
sub ecx, eax
shr ecx, 2
mov word [eax + ebx*4 + 2], cx
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0xc]
jmp 0x5b0f94
test ecx, ecx
je 0x5b11ea
mov eax, dword [esp + 0xc]
mov byte [eax + ecx*4], 0x40
mov byte [eax + ecx*4 + 1], bl
mov word [eax + ecx*4 + 2], 0
mov ecx, dword [esp + 0x60]
shl ecx, 2
mov eax, dword [esp + 0xac]
add dword [eax], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov dword [esp], 0
mov eax, dword [esp]
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, ebx
and eax, 0xfffffffe
mov dword [esp], eax
xor eax, eax
jmp 0x5b1234
add eax, 2
cmp dword [esp], eax
je 0x5b0e82
movzx esi, word [ebp + eax*2]
test esi, esi
je 0x5b125c
movzx ebx, word [esp + esi*2 + 0x6c]
lea ecx, [ebx + 1]
mov word [esp + esi*2 + 0x6c], cx
mov ecx, dword [esp + 0xb4]
mov word [ecx + ebx*2], ax
mov ebx, dword [esp + 0xa8]
movzx esi, word [ebp + eax*2 + 2]
test esi, esi
je 0x5b1228
movzx ecx, word [esp + esi*2 + 0x6c]
lea ebx, [ecx + 1]
mov word [esp + esi*2 + 0x6c], bx
lea esi, [eax + 1]
mov ebx, dword [esp + 0xb4]
mov word [ebx + ecx*2], si
mov ebx, dword [esp + 0xa8]
jmp 0x5b1228
cmp word [esp + 0x32], 0
je 0x5b12ab
xor ebx, ebx
test eax, eax
setne bl
mov edi, 1
xor ecx, ecx
xor esi, esi
mov edx, 1
jmp 0x5b0c73
mov edx, dword [esp + 0xac]
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov eax, dword [esp + 0xb0]
mov dword [eax], 1
jmp 0x5b1207