Function at 0x5102c0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0xf]
push 1
push eax
push edi
mov byte [esp + 0x1b], 0x50
call ebx
lea ecx, [esp + 0x1b]
push 1
push ecx
push edi
mov byte [esp + 0x27], 0x4b
call ebx
lea edx, [esp + 0x34]
push 1
push edx
push edi
mov byte [esp + 0x40], 1
call ebx
lea eax, [esp + 0x40]
push 1
push eax
push edi
mov byte [esp + 0x4c], 2
call ebx
mov esi, dword [esp + 0x44]
lea edx, [esp + 0x4c]
push 1
push edx
mov cl, byte [esi]
push edi
mov byte [esp + 0x58], cl
call ebx
xor eax, eax
lea ecx, [esp + 0x58]
mov al, byte [esi + 1]
push 1
push ecx
push edi
mov byte [esp + 0x64], al
call ebx
mov dl, byte [esi + 2]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
xor ecx, ecx
lea edx, [esp + 0x28]
mov cl, byte [esi + 3]
push 1
push edx
push edi
mov byte [esp + 0x34], cl
call ebx
mov al, byte [esi + 4]
lea ecx, [esp + 0x34]
push 1
push ecx
push edi
mov byte [esp + 0x40], al
call ebx
xor edx, edx
lea eax, [esp + 0x40]
mov dl, byte [esi + 5]
push 1
push eax
push edi
mov byte [esp + 0x4c], dl
call ebx
mov cl, byte [esi + 6]
lea edx, [esp + 0x4c]
push 1
mov byte [esp + 0x50], cl
push edx
push edi
call ebx
xor eax, eax
lea ecx, [esp + 0x58]
mov al, byte [esi + 7]
push 1
push ecx
push edi
mov byte [esp + 0x64], al
call ebx
mov dl, byte [esi + 8]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
mov ecx, dword [esi + 8]
lea edx, [esp + 0x28]
push 1
push edx
shr ecx, 8
push edi
mov byte [esp + 0x34], cl
call ebx
mov eax, dword [esi + 8]
lea ecx, [esp + 0x34]
push 1
push ecx
shr eax, 0x10
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 8]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 0x18
push edi
mov byte [esp + 0x4c], dl
call ebx
mov cl, byte [esi + 0xc]
lea edx, [esp + 0x4c]
push 1
push edx
push edi
mov byte [esp + 0x58], cl
call ebx
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x58]
push 1
push ecx
shr eax, 8
push edi
mov byte [esp + 0x64], al
call ebx
mov edx, dword [esi + 0xc]
add esp, 0x48
lea eax, [esp + 0x1c]
push 1
push eax
shr edx, 0x10
push edi
mov byte [esp + 0x28], dl
call ebx
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x28]
push 1
push edx
shr ecx, 0x18
push edi
mov byte [esp + 0x34], cl
call ebx
mov al, byte [esi + 0x10]
lea ecx, [esp + 0x34]
push 1
push ecx
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 8
push edi
mov byte [esp + 0x4c], dl
call ebx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x4c]
push 1
push edx
shr ecx, 0x10
push edi
mov byte [esp + 0x58], cl
call ebx
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x58]
push 1
push ecx
shr eax, 0x18
push edi
mov byte [esp + 0x64], al
call ebx
mov dl, byte [esi + 0x14]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x28]
push 1
push edx
shr ecx, 8
push edi
mov byte [esp + 0x34], cl
call ebx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x34]
push 1
push ecx
shr eax, 0x10
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 0x14]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 0x18
push edi
mov byte [esp + 0x4c], dl
call ebx
mov cl, byte [esi + 0x18]
lea edx, [esp + 0x4c]
push 1
push edx
push edi
mov byte [esp + 0x58], cl
call ebx
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x58]
push 1
push ecx
shr eax, 8
push edi
mov byte [esp + 0x64], al
call ebx
mov dl, byte [esi + 0x20]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
mov ecx, dword [esi + 0x20]
shr ecx, 8
lea edx, [esp + 0x28]
push 1
push edx
push edi
mov byte [esp + 0x34], cl
call ebx
mov al, byte [esi + 0x24]
lea ecx, [esp + 0x34]
push 1
push ecx
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 0x24]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 8
push edi
mov byte [esp + 0x4c], dl
call ebx
mov cl, byte [esi + 0x28]
lea edx, [esp + 0x4c]
push 1
push edx
push edi
mov byte [esp + 0x58], cl
call ebx
xor eax, eax
lea ecx, [esp + 0x58]
mov al, byte [esi + 0x29]
push 1
push ecx
push edi
mov byte [esp + 0x64], al
call ebx
mov dl, byte [esi + 0x2a]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
xor ecx, ecx
lea edx, [esp + 0x28]
mov cl, byte [esi + 0x2b]
push 1
push edx
push edi
mov byte [esp + 0x34], cl
call ebx
mov al, byte [esi + 0x30]
lea ecx, [esp + 0x34]
push 1
push ecx
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 0x30]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 8
push edi
mov byte [esp + 0x4c], dl
call ebx
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x4c]
push 1
push edx
shr ecx, 0x10
push edi
mov byte [esp + 0x58], cl
call ebx
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0x58]
shr eax, 0x18
push 1
mov byte [esp + 0x5c], al
push ecx
push edi
call ebx
mov dl, byte [esi + 0x34]
add esp, 0x48
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], dl
push 1
push eax
push edi
call ebx
mov ecx, dword [esi + 0x34]
lea edx, [esp + 0x28]
push 1
push edx
shr ecx, 8
push edi
mov byte [esp + 0x34], cl
call ebx
mov eax, dword [esi + 0x34]
lea ecx, [esp + 0x34]
push 1
push ecx
shr eax, 0x10
push edi
mov byte [esp + 0x40], al
call ebx
mov edx, dword [esi + 0x34]
lea eax, [esp + 0x40]
push 1
push eax
shr edx, 0x18
push edi
mov byte [esp + 0x4c], dl
call ebx
mov ecx, dword [esi + 0x18]
lea edx, [esi + 0x148]
push ecx
push edx
push edi
call ebx
mov ecx, dword [esi + 0x18]
add esp, 0x3c
cmp eax, ecx
jne 0x51068c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x510669
push eax
mov eax, dword [esi + 0x140]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x20]
add esp, 0xc
cmp eax, ecx
jne 0x51068c
mov eax, dword [esi + 0x24]
test eax, eax
je 0x510685
mov ecx, dword [esi + 0x144]
push eax
push ecx
push edi
call ebx
mov ecx, dword [esi + 0x24]
add esp, 0xc
cmp eax, ecx
jne 0x51068c
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
pop edi
pop esi
mov eax, 0xa
pop ebx
pop ecx
ret