Function at 0x48c140
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
test esi, esi
push edi
je 0x48c507
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x48c507
mov edx, dword [esi + 0x30]
mov ecx, dword [esp + 0x2c]
dec edx
cmp edx, ecx
jl 0x48c507
test ecx, ecx
jl 0x48c507
lea ecx, [ecx + ecx*2]
mov byte [esi + 0x19], 1
mov dx, word [eax + ecx*4]
mov di, word [eax + ecx*4 + 8]
add di, word [esp + 0x24]
mov bp, word [eax + ecx*4 + 4]
mov bx, word [eax + ecx*4 + 0xa]
lea eax, [eax + ecx*4]
add bx, word [esp + 0x28]
mov word [esp + 0x14], dx
mov cx, word [eax + 2]
mov dx, word [eax + 6]
mov eax, dword [esi + 0x20]
mov word [esp + 0x10], cx
movsx ecx, di
mov word [esp + 0x2c], dx
mov edx, dword [eax + 0x30020]
cmp ecx, edx
jge 0x48c238
mov cx, dx
mov edx, dword [esp + 0x14]
sub ecx, edi
add edx, ecx
mov cx, word [eax + 0x30020]
sub edi, ecx
mov dword [esp + 0x14], edx
add ebp, edi
test bp, bp
jge 0x48c1f2
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov edi, ecx
mov edx, dword [eax + 0x30024]
movsx ecx, bx
cmp ecx, edx
jge 0x48c313
mov ax, dx
mov edx, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebx
sub ebx, eax
add edx, ecx
mov ecx, dword [esp + 0x2c]
add ecx, ebx
mov dword [esp + 0x10], edx
test cx, cx
mov dword [esp + 0x2c], ecx
jge 0x48c263
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
movsx edx, bp
add edx, ecx
mov ecx, dword [eax + 0x30028]
cmp edx, ecx
jle 0x48c1f4
mov bp, cx
sub bp, di
test bp, bp
jge 0x48c1f4
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov ebx, eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov al, byte [esi + 0x18]
cmp al, 1
jne 0x48c282
mov ecx, esi
call fcn.0048cbf0
test al, al
je 0x48c507
movsx ecx, bx
movsx eax, di
movsx ebx, bp
movsx edi, word [esp + 0x10]
lea edx, [ebx + eax]
mov dword [esi + 4], eax
mov dword [esi + 0xc], edx
mov dword [esi + 8], ecx
movsx edx, word [esp + 0x2c]
mov dword [esp + 0x1c], edx
add edx, ecx
mov dword [esi + 0x10], edx
mov dword [esp + 0x18], ebx
movsx edx, word [esi + 0x2c]
imul edx, edi
movsx edi, word [esp + 0x14]
add edx, edi
mov edi, dword [esi + 0x24]
lea edx, [edi + edx*2]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x20]
movsx edi, word [edx + 0x30040]
imul edi, ecx
add edi, eax
mov eax, dword [edx + 0x3001c]
lea eax, [eax + edi*2]
xor edi, edi
cmp bp, di
mov dword [esp + 0x30], eax
je 0x48c507
cmp word [esp + 0x2c], di
je 0x48c507
movsx ecx, byte [edx + 0x30042]
dec ecx
je 0x48c42d
dec ecx
jne 0x48c503
mov dword [esp + 0x28], edi
jmp 0x48c34e
movsx edx, word [esp + 0x2c]
add edx, ecx
mov ecx, dword [eax + 0x3002c]
cmp edx, ecx
jle 0x48c265
mov ax, cx
sub ax, bx
test ax, ax
mov dword [esp + 0x2c], eax
jge 0x48c265
mov dword [esi + 8], 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
xor edi, edi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x24]
sub edi, eax
mov edx, eax
mov dword [esp + 0x14], edi
mov cx, word [edx + edi]
cmp cx, word [esi + 0x3a]
je 0x48c3d6
xor eax, eax
and ecx, 0xffff
mov ax, word [edx]
mov ebx, ecx
mov edi, eax
mov ebp, ecx
shr edi, 0xa
and edi, 0x1f
and ecx, 0x1f
shr ebx, 0xa
shl edi, 6
and ebx, 0x1f
add edi, ebx
mov ebx, eax
shr ebx, 5
mov di, word [edi*4 + 0x55786c]
and ebx, 0x1f
shr ebp, 5
shl ebx, 6
and ebp, 0x1f
and eax, 0x1f
add ebx, ebp
shl di, 5
or di, word [ebx*4 + 0x55386c]
mov ebx, dword [esp + 0x18]
shl eax, 6
add eax, ecx
shl edi, 5
or di, word [eax*4 + 0x55786c]
mov eax, dword [esp + 0x30]
mov word [edx], di
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add edx, 2
inc ecx
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
jl 0x48c35e
movsx ecx, word [esi + 0x2c]
mov edx, dword [esp + 0x24]
lea ecx, [edx + ecx*2]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x24], ecx
movsx ecx, word [edx + 0x30040]
mov edx, dword [esp + 0x1c]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x48c34c
mov byte [esi + 0x19], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov dword [esp + 0x28], edi
jmp 0x48c435
xor edi, edi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x24]
sub edi, eax
mov edx, eax
mov dword [esp + 0x14], edi
mov cx, word [edx + edi]
cmp cx, word [esi + 0x3a]
je 0x48c4ba
xor eax, eax
and ecx, 0xffff
mov ax, word [edx]
mov ebx, ecx
mov edi, eax
mov ebp, ecx
shr edi, 5
and edi, 0x3f
and ecx, 0x1f
shr ebx, 5
shl edi, 6
and ebx, 0x3f
add edi, ebx
mov ebx, eax
shr ebx, 0xb
mov di, word [edi*4 + 0x55386c]
and eax, 0x1f
shl ebx, 6
shr ebp, 0xb
add ebx, ebp
shl eax, 6
mov bx, word [ebx*4 + 0x55786c]
add eax, ecx
shl bx, 6
or di, bx
mov ebx, dword [esp + 0x18]
shl edi, 5
or di, word [eax*4 + 0x55786c]
mov eax, dword [esp + 0x30]
mov word [edx], di
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add edx, 2
inc ecx
cmp ecx, ebx
mov dword [esp + 0x2c], ecx
jl 0x48c445
movsx edx, word [esi + 0x2c]
mov ecx, dword [esp + 0x24]
lea edx, [ecx + edx*2]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x24], edx
movsx edx, word [ecx + 0x30040]
mov ecx, dword [esp + 0x28]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x30], eax
cmp ecx, edx
mov dword [esp + 0x28], ecx
jl 0x48c433
mov byte [esi + 0x19], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10