Function at 0x5523e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x240
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0x84
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x258]
mov dword [esp + 0x18], ebx
stosw word es:[edi], ax
mov cx, word [esi + 0xc]
mov edx, dword [esi + 8]
stosb byte es:[edi], al
mov ax, word [esi + 0x14]
xor ebp, ebp
push eax
mov ax, word [esi + 6]
push ecx
mov cx, word [esi + 4]
push edx
mov dx, word [esi + 2]
push eax
mov al, byte [esi]
push ecx
push edx
push eax
mov dword [esp + 0x2c], ebx
call fcn.00552040
add esp, 0x1c
mov dword [esp + 0x14], eax
test eax, eax
jne 0x55246b
push 0x64
call fcn.00555100
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240
ret
cmp byte [esi], 0xc9
jb 0x55248f
mov eax, dword [0x5c0ed8]
test eax, eax
je 0x552489
push 0x10
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00555290
add esp, 0xc
lea edi, [esp + 0x1c]
jmp 0x5524a1
mov edx, dword [esp + 0x254]
push edx
call fcn.00551d80
add esp, 4
mov edi, eax
test edi, edi
jne 0x5524ac
push 0x65
jmp 0x55264c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.005520b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5524db
push 0x66
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 2
jmp 0x55267f
mov edx, dword [esp + 0x18]
lea eax, [ebx + 1]
and edx, 0xffff
dec edx
push edx
push eax
push edi
call fcn.00555160
add esp, 0xc
test eax, eax
je 0x55250f
push 0x6c
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 9
jmp 0x55267f
mov ecx, dword [esp + 0x25c]
mov eax, dword [esp + 0x254]
and ecx, 0xffff
lea edx, [esp + 0x3c]
push ecx
push 0x211
push edx
push ebx
push eax
call fcn.00551f50
add esp, 0x14
test eax, eax
je 0x552553
push 0x67
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 3
jmp 0x55267f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x3d]
and ecx, 0xffff
dec ecx
push ecx
push edx
push edi
call fcn.005551e0
add esp, 0xc
test eax, eax
je 0x552588
push 0x6d
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 0xa
jmp 0x55267f
lea eax, [esp + 0x3c]
push 0x211
push eax
call fcn.005521c0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x5525b7
push 0x68
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 4
jmp 0x55267f
lea ecx, [ebx + 0x1fd]
lea edx, [esp + 0x3c]
push ecx
push 0x1fd
push edx
call fcn.00556150
mov eax, dword [esp + 0x20]
push ebp
push eax
call fcn.00552170
add esp, 0x14
test eax, eax
je 0x5525f6
push 0x69
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 5
jmp 0x55267f
push ebp
call fcn.00552290
add esp, 4
cmp eax, 1
jne 0x552624
push ebp
call fcn.005522b0
push eax
call fcn.00552770
push 0x6a
call fcn.00555100
add esp, 0xc
mov dword [esp + 0x10], 6
jmp 0x55267f
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x55267f
mov edx, dword [ebp + 4]
mov ax, word [edx + 4]
xor edx, edx
mov dx, word [esi + 0x14]
mov word [esi + 0x16], ax
and eax, 0xffff
mov esi, eax
sub esi, edx
cmp esi, 8
jle 0x55265e
push 0x74
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 8
jmp 0x55267f
push eax
push ecx
push ebp
call fcn.005522c0
add esp, 0xc
test eax, eax
je 0x55267f
push 0x6b
call fcn.00555100
add esp, 4
mov dword [esp + 0x10], 7
push ebx
call fcn.00556430
mov eax, dword [esp + 0x18]
push eax
call fcn.00552090
push ebp
call fcn.00552300
mov esi, dword [esp + 0x1c]
add esp, 0xc
test esi, esi
jne 0x5526a9
push esi
call fcn.00555100
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240
ret