Function at 0x1005498b
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, edx
mov byte [esp + 0x13], 0x50
mov esi, ecx
lea edx, [esp + 0x13]
push 1
mov ecx, ebx
call edi
xor ebp, ebp
mov byte [esp + 0x13], 0x4b
inc ebp
lea edx, [esp + 0x13]
push ebp
mov ecx, ebx
call edi
push ebp
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call edi
push ebp
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call edi
mov al, byte [esi]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 1]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
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 + 4]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 5]
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]
mov byte [esp + 0x18], al
push ebp
mov ecx, ebx
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]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
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]
shr eax, 8
mov byte [esp + 0x18], al
push ebp
lea edx, [esp + 0x1c]
mov ecx, ebx
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]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
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 + 0x20]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x24]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x28]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x29]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x2a]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x2b]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x30]
mov byte [esp + 0x18], al
push ebp
lea edx, [esp + 0x1c]
mov ecx, ebx
call edi
mov eax, dword [esi + 0x30]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x32]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x33]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x34]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov eax, dword [esi + 0x34]
lea edx, [esp + 0x18]
shr eax, 8
mov ecx, ebx
push ebp
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x36]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
mov byte [esp + 0x1c], al
call edi
mov al, byte [esi + 0x37]
lea edx, [esp + 0x18]
push ebp
mov ecx, ebx
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 0x10054cdb
cmp dword [esi + 0x20], 0
je 0x10054cb8
push dword [esi + 0x20]
mov edx, dword [esi + 0x140]
mov ecx, ebx
call edi
cmp eax, dword [esi + 0x20]
jne 0x10054cdb
cmp dword [esi + 0x24], 0
je 0x10054cd7
push dword [esi + 0x24]
mov edx, dword [esi + 0x144]
mov ecx, ebx
call edi
sub eax, dword [esi + 0x24]
neg eax
sbb eax, eax
and eax, 0xa
jmp 0x10054cde
xor eax, eax
jmp 0x10054cde
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4