Function at 0x10054f99
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
mov byte [esp + 0x13], 0x50
mov edi, edx
mov esi, ecx
inc ebp
lea edx, [esp + 0x13]
push ebp
mov ecx, ebx
call edi
push ebp
lea edx, [esp + 0x17]
mov byte [esp + 0x17], 0x4b
mov ecx, ebx
call edi
push ebp
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 3
mov ecx, ebx
call edi
push ebp
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 4
mov ecx, ebx
call edi
mov al, byte [esi + 2]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 3]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x2c]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x2d]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 6]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 7]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 8]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0xa]
mov byte [esp + 0x18], al
push ebp
lea edx, [esp + 0x1c]
mov ecx, ebx
call edi
mov al, byte [esi + 0xb]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0xc]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0xe]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0xf]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x10]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x12]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x13]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x14]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x16]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x17]
mov byte [esp + 0x18], al
push ebp
lea edx, [esp + 0x1c]
mov ecx, ebx
call edi
mov al, byte [esi + 0x18]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x1c]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
push dword [esi + 0x18]
lea edx, [esi + 0x148]
mov ecx, ebx
call edi
cmp eax, dword [esi + 0x18]
jne 0x100551c8
cmp dword [esi + 0x1c], 0
je 0x100551c4
push dword [esi + 0x1c]
mov edx, dword [esi + 0x13c]
mov ecx, ebx
call edi
sub eax, dword [esi + 0x1c]
neg eax
sbb eax, eax
and eax, 0xa
jmp 0x100551cb
xor eax, eax
jmp 0x100551cb
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4