Function at 0x1004b758
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov ebp, dword [eax + 0x30]
push edi
mov edi, dword [eax + 4]
mov dword [esp + 0x18], ebp
lea ebx, [edi + ebp]
push ebx
call fcn.1004b5b7
movzx esi, ax
pop ecx
test si, si
jne 0x1004b79e
lea eax, [ebx + 2]
push eax
call fcn.1004b5b7
movzx eax, ax
pop ecx
mov ecx, dword [esp + 0x24]
sub eax, 6
cmp ecx, eax
jge 0x1004b80b
movzx eax, byte [ebx + ecx + 6]
jmp 0x1004b80d
cmp esi, 6
jne 0x1004b7ec
lea eax, [ebx + 6]
push eax
call fcn.1004b5b7
mov esi, dword [esp + 0x28]
movzx eax, ax
mov dword [esp + 0x24], eax
pop ecx
cmp esi, eax
jb 0x1004b80b
lea eax, [ebx + 8]
push eax
call fcn.1004b5b7
pop ecx
mov ecx, dword [esp + 0x20]
movzx eax, ax
add eax, ecx
cmp esi, eax
jae 0x1004b80b
sub esi, ecx
lea eax, [esi*2 + 0xa]
add eax, ebp
add eax, edi
push eax
call fcn.1004b5b7
pop ecx
movzx eax, ax
jmp 0x1004b80d
push 2
pop eax
cmp si, ax
jne 0x1004b815
push 0x5ef
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimstb_truetype.h
push 0x100c3000
call fcn.100a16e1
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
cmp esi, 4
jne 0x1004b986
lea eax, [ebx + 6]
push eax
call fcn.1004b5b7
shr ax, 1
movzx eax, ax
mov dword [esp + 0x14], eax
lea eax, [ebx + 8]
push eax
call fcn.1004b5b7
shr ax, 1
movzx eax, ax
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0xa]
push eax
call fcn.1004b5b7
add esp, 0xc
movzx eax, ax
cmp dword [esp + 0x24], 0xffff
lea esi, [ebp + 0xe]
mov dword [esp + 0x20], eax
jg 0x1004b80b
lea eax, [ebx + 0xc]
push eax
call fcn.1004b5b7
movzx eax, ax
shr eax, 1
lea esi, [esi + eax*2]
lea eax, [esi + edi]
push eax
call fcn.1004b5b7
movzx eax, ax
lea ebx, [ebp + 0xe]
cmp dword [esp + 0x2c], eax
pop ecx
cmovge ebx, esi
sub ebx, 2
cmp word [esp + 0x24], 0
pop ecx
je 0x1004b8d0
mov bp, word [esp + 0x14]
shr bp, 1
movzx eax, bp
lea esi, [ebx + eax*2]
lea eax, [esi + edi]
push eax
call fcn.1004b5b7
movzx eax, ax
cmp dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
cmovg ebx, esi
add eax, 0xffff
mov dword [esp + 0x24], eax
pop ecx
test ax, ax
jne 0x1004b89d
mov ebp, dword [esp + 0x18]
lea eax, [ebp + 0xe]
sub ebx, eax
mov eax, dword [esp + 0x10]
movzx esi, ax
add ebx, 2
shr ebx, 1
movzx ebx, bx
lea eax, [esi + 8]
add eax, ebx
lea eax, [eax*2]
add eax, ebp
add eax, edi
push eax
call fcn.1004b5b7
movzx eax, ax
pop ecx
mov dword [esp + 0x20], eax
cmp dword [esp + 0x24], eax
jl 0x1004b80b
lea eax, [ebp + 0xe]
lea eax, [eax + ebx*2]
add eax, edi
push eax
call fcn.1004b5b7
movzx eax, ax
pop ecx
cmp dword [esp + 0x24], eax
jg 0x1004b80b
imul esi, esi, 3
lea eax, [esi + 8]
add eax, ebx
lea eax, [eax*2]
add eax, ebp
add eax, edi
push eax
call fcn.1004b5b7
movzx eax, ax
pop ecx
test ax, ax
jne 0x1004b96f
mov ecx, dword [esp + 0x10]
movzx eax, cx
lea eax, [ebx + eax*2]
lea eax, [eax*2 + 0x10]
add eax, ebp
add eax, edi
push eax
call fcn.1004b579
add ax, word [esp + 0x28]
jmp 0x1004b7e6
sub esi, dword [esp + 0x20]
add eax, ebp
add esi, ebx
add esi, dword [esp + 0x24]
lea eax, [eax + esi*2]
add eax, 0x10
jmp 0x1004b7de
push 0xc
pop eax
cmp si, ax
je 0x1004b99d
cmp esi, 0xd
je 0x1004b99d
push 0x636
jmp 0x1004b7f9
and dword [esp + 0x20], 0
lea eax, [ebx + 0xc]
push eax
call fcn.1004b594
mov dword [esp + 0x14], eax
pop ecx
test eax, eax
jle 0x1004b80b
xor ecx, ecx
mov ebx, eax
sub ebx, ecx
sar ebx, 1
add ebx, ecx
imul eax, ebx, 0xc
mov dword [esp + 0x14], eax
add eax, 0x10
add eax, ebp
add eax, edi
push eax
call fcn.1004b594
pop ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x24], eax
jae 0x1004b9ed
mov ecx, dword [esp + 0x20]
mov eax, ebx
mov dword [esp + 0x10], eax
jmp 0x1004ba10
mov eax, dword [esp + 0x14]
add eax, 0x14
add eax, ebp
add eax, edi
push eax
call fcn.1004b594
pop ecx
cmp dword [esp + 0x24], eax
jbe 0x1004ba19
mov eax, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jl 0x1004b9ba
jmp 0x1004b80b
mov eax, dword [esp + 0x14]
add eax, 0x18
add eax, ebp
add eax, edi
push eax
call fcn.1004b594
pop ecx
push 0xc
pop ecx
cmp si, cx
jne 0x1004b80d
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x24]
jmp 0x1004b80d