Function at 0x5585c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
push ebx
push esi
mov eax, edx
mov esi, ecx
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], esi
cmp eax, dword [ebp + 8]
jae 0x558acf
mov edx, dword [esi]
movzx eax, byte [eax]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
cmp word [edx], 1
je 0x558752
mov ebx, dword [edx + 4]
movzx ecx, word [edx + 2]
xor edx, edx
mov eax, dword [esi + 0x48]
div ecx
mov edx, dword [esp + 0x1c]
mov edi, eax
mov dword [esi + 0x48], edi
movzx ecx, byte [ebx]
cmp ecx, edx
jne 0x55865e
movzx ecx, byte [ebx + 1]
imul ecx, edi
mov dword [esi + 0x48], ecx
cmp ecx, 0x1000000
jae 0x55864f
shl ecx, 8
mov dword [esi + 0x48], ecx
mov ecx, esi
call fcn.00558b30
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x55864f
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.00557630
jmp 0x558abd
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], 0
movzx edi, byte [ebx + 1]
movzx ecx, word [eax]
dec ecx
mov al, byte [ebx + 7]
add ebx, 6
mov byte [esp + 0x13], al
movzx eax, byte [ebx]
cmp eax, edx
je 0x5586fd
movzx eax, byte [esp + 0x13]
add edi, eax
sub ecx, 1
jne 0x558671
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx + 2]
mov ecx, dword [esi + 0x48]
sub edx, edi
mov eax, ecx
imul eax, edi
lea edi, [esp + 0x30]
add dword [esi + 0x50], eax
mov eax, dword [esi + 8]
adc dword [esi + 0x54], 0
imul ecx, edx
mov dword [esi + 0x48], ecx
mov ecx, 0x40
movzx eax, byte [eax]
add eax, 0xc0
shr eax, 5
and eax, 8
mov dword [esi + 0x1c], eax
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
movzx eax, byte [ebx]
mov byte [esp + eax + 0x30], 0
nop
movzx ecx, byte [edx]
movzx eax, byte [edx + 6]
add edx, 0xc
mov byte [esp + ecx + 0x30], 0
mov byte [esp + eax + 0x30], 0
cmp edx, ebx
jb 0x5586e0
jmp 0x558880
mov edx, dword [esi + 0x48]
mov eax, edx
movzx ecx, byte [esp + 0x13]
imul eax, edi
add dword [esi + 0x50], eax
adc dword [esi + 0x54], 0
imul edx, ecx
mov dword [esi + 0x48], edx
cmp edx, 0x1000000
jae 0x558743
shl edx, 8
mov ecx, esi
mov dword [esi + 0x48], edx
call fcn.00558b30
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x558743
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov ecx, esi
mov dword [esi + 8], ebx
call fcn.005575a0
jmp 0x558abd
mov eax, dword [esi + 8]
movzx edi, byte [eax]
add edi, 0xc0
shr edi, 5
and edi, 8
mov dword [esi + 0x1c], edi
mov eax, dword [edx + 8]
movzx ebx, byte [edx + 2]
movzx eax, word [eax]
movzx edx, byte [eax + esi + 0x1a7]
lea eax, [ebx + 0xc0]
shr eax, 4
and eax, 0x10
add edx, eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 3]
mov eax, dword [esi + 0x20]
shl ecx, 6
sar eax, 0x1a
add ecx, edi
add ecx, edx
and eax, 0x20
add eax, ecx
mov ecx, dword [esi + 0x48]
add eax, dword [esi + 0x14]
movzx edx, word [esi + eax*2 + 0x97c]
lea edi, [esi + eax*2]
shr ecx, 0xe
imul ecx, edx
lea eax, [edx + 0x20]
shr eax, 7
sub edx, eax
movzx eax, dx
cmp ebx, dword [esp + 0x1c]
jne 0x55883b
sub eax, 0xffffff80
mov word [edi + 0x97c], ax
mov dword [esi + 0x48], ecx
cmp ecx, 0x1000000
jae 0x5587eb
shl ecx, 8
mov dword [esi + 0x48], ecx
mov ecx, esi
call fcn.00558b30
mov ebx, dword [esp + 0x14]
add ebx, 2
movzx edx, word [ebx + 4]
mov cl, byte [ebx + 1]
movzx eax, word [ebx + 2]
inc dword [esi + 0x20]
shl edx, 0x10
or edx, eax
mov dword [esi + 8], ebx
cmp cl, 0x80
mov dword [esi + 0x14], 1
setb al
add al, cl
mov byte [ebx + 1], al
cmp dword [esi + 0xc], 0
jne 0x55882f
cmp edx, dword [esi + 0x40]
jbe 0x55882f
mov dword [esi], edx
mov dword [esi + 4], edx
jmp 0x558abd
mov ecx, esi
call fcn.005576e0
jmp 0x558abd
mov word [edi + 0x97c], ax
lea edi, [esp + 0x30]
shr edx, 0xa
movzx eax, byte [edx + esi + 0x3a8]
add dword [esi + 0x50], ecx
mov dword [esi + 0x10], eax
adc dword [esi + 0x54], 0
sub dword [esi + 0x48], ecx
or eax, 0xffffffff
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
movzx eax, byte [ecx + 2]
mov dword [esi + 0x14], 0
mov byte [esp + eax + 0x30], 0
nop dword [eax]
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x5588ae
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x5588ae
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov ebx, dword [esi]
movzx eax, word [ebx]
mov dword [esp + 0x20], eax
inc dword [esi + 0xc]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x558abd
movzx edi, word [ebx]
mov dword [esp + 0x18], edi
cmp edi, eax
je 0x5588b7
mov dword [esi], ebx
cmp edi, 0x100
je 0x558949
sub edi, eax
movzx ecx, word [ebx + 2]
mov eax, dword [ebx + 8]
movzx eax, word [eax]
sub eax, dword [esp + 0x18]
cmp edi, eax
sbb edx, edx
imul eax, dword [esp + 0x18], 0xb
neg edx
add edx, 0xef
cmp ecx, eax
sbb eax, eax
and eax, 2
add edx, eax
movzx eax, byte [edi + esi + 0x2a7]
shl eax, 4
add edx, eax
cmp edi, dword [esp + 0x20]
sbb eax, eax
and eax, 4
add edx, eax
add edx, dword [esi + 0x1c]
movzx eax, word [esi + edx*4]
lea edi, [esi + edx*4]
mov cl, byte [edi + 2]
mov edx, eax
shr edx, cl
sub eax, edx
mov dword [esp + 0x14], edi
mov word [edi], ax
xor eax, eax
mov edi, dword [esp + 0x18]
test edx, edx
sete al
add eax, edx
mov dword [esp + 0x20], eax
jmp 0x55895b
lea eax, [esi + 0x3b8]
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 4]
xor ebx, ebx
movzx eax, byte [edx]
mov cl, byte [edx + 1]
mov dword [esp + 0x18], edx
mov byte [esp + 0x13], cl
cmp eax, dword [esp + 0x1c]
je 0x5589df
movzx ecx, byte [esp + eax + 0x30]
add edx, 6
movzx eax, byte [esp + 0x13]
and ecx, eax
add ebx, ecx
sub edi, 1
jne 0x558960
mov edi, dword [esp + 0x20]
xor edx, edx
mov eax, dword [esp + 0x14]
lea ecx, [ebx + edi]
add word [eax], cx
mov eax, dword [esi + 0x48]
div ecx
mov ecx, eax
imul ecx, ebx
add dword [esi + 0x50], ecx
adc dword [esi + 0x54], 0
imul eax, edi
mov edi, dword [esp + 0x18]
mov dword [esi + 0x48], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
movzx eax, byte [edi]
mov byte [esp + eax + 0x30], 0
movzx ecx, byte [edx]
movzx eax, byte [edx + 6]
add edx, 0xc
mov byte [esp + ecx + 0x30], 0
mov byte [esp + eax + 0x30], 0
cmp edx, edi
jb 0x5589c2
jmp 0x558880
movzx eax, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
mov ah, byte [ecx + 2]
cmp ah, 7
jae 0x558a15
mov al, byte [ecx + 3]
sub al, 1
mov byte [ecx + 3], al
jne 0x558a15
shl word [ecx], 1
mov al, 3
mov cl, ah
shl al, cl
inc ah
mov ecx, dword [esp + 0x14]
mov byte [ecx + 3], al
mov byte [ecx + 2], ah
mov ecx, edi
mov dword [esi + 8], edx
and edi, 1
shr ecx, 1
mov eax, edi
mov dword [esp + 0x18], ecx
neg eax
and eax, dword [esp + 0x1c]
add eax, dword [esp + 0x20]
add ebx, eax
test ecx, ecx
je 0x558a6e
lea eax, [edi + edi*2]
mov esi, ecx
lea edi, [edx + eax*2]
nop dword [eax]
movzx eax, byte [edi + 6]
lea edi, [edi + 0xc]
movzx ecx, byte [edi - 0xc]
movzx edx, byte [esp + eax + 0x30]
movzx eax, byte [edi - 5]
movzx ecx, byte [esp + ecx + 0x30]
and edx, eax
movzx eax, byte [edi - 0xb]
and ecx, eax
add ebx, ecx
add ebx, edx
sub esi, 1
jne 0x558a40
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x48]
xor edx, edx
div ebx
mov ecx, eax
imul ecx, dword [esp + 0x28]
add dword [esi + 0x50], ecx
adc dword [esi + 0x54], 0
imul eax, dword [esp + 0x1c]
mov dword [esi + 0x48], eax
cmp eax, 0x1000000
jae 0x558ab6
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov eax, dword [esi + 0x48]
cmp eax, 0x1000000
jae 0x558ab6
shl eax, 8
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.00558b30
mov ecx, esi
call fcn.005576a0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, dword [ebp + 8]
jb 0x5585e4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4