Function at 0x40a420
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 1
lea eax, [ebp - 1]
push eax
push edi
mov byte [ebp - 1], 0x50
call ebx
push 1
lea ecx, [ebp - 1]
push ecx
push edi
mov byte [ebp - 1], 0x4b
call ebx
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], 1
call ebx
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], 2
call ebx
mov esi, dword [ebp + 8]
movzx ecx, byte [esi]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 1]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 2]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 3]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 4]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 5]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 6]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 7]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 8]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 9]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0xa]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0xb]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0xc]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0xd]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0xe]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0xf]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x10]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x11]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x12]
mov byte [ebp + 0xf], cl
push 1
lea edx, [ebp + 0xf]
push edx
push edi
call ebx
movzx eax, byte [esi + 0x13]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x14]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x15]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x16]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x17]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x18]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
mov eax, dword [esi + 0x18]
push 1
lea ecx, [ebp + 0xf]
push ecx
shr eax, 8
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x20]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
mov ecx, dword [esi + 0x20]
push 1
lea edx, [ebp + 0xf]
push edx
shr ecx, 8
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x24]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
mov edx, dword [esi + 0x24]
shr edx, 8
mov byte [ebp + 0xf], dl
push 1
lea eax, [ebp + 0xf]
push eax
push edi
call ebx
movzx ecx, byte [esi + 0x28]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x29]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x2a]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x2b]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x30]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x31]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x32]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x33]
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
mov byte [ebp + 0xf], al
call ebx
movzx edx, byte [esi + 0x34]
add esp, 0x48
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
movzx ecx, byte [esi + 0x35]
push 1
lea edx, [ebp + 0xf]
push edx
push edi
mov byte [ebp + 0xf], cl
call ebx
movzx eax, byte [esi + 0x36]
mov byte [ebp + 0xf], al
push 1
lea ecx, [ebp + 0xf]
push ecx
push edi
call ebx
movzx edx, byte [esi + 0x37]
push 1
lea eax, [ebp + 0xf]
push eax
push edi
mov byte [ebp + 0xf], dl
call ebx
mov ecx, dword [esi + 0x18]
push ecx
lea edx, [esi + 0x148]
push edx
push edi
call ebx
add esp, 0x3c
cmp eax, dword [esi + 0x18]
jne 0x40a771
mov eax, dword [esi + 0x20]
test eax, eax
je 0x40a74e
push eax
mov eax, dword [esi + 0x140]
push eax
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x20]
jne 0x40a771
mov eax, dword [esi + 0x24]
test eax, eax
je 0x40a768
mov ecx, dword [esi + 0x144]
push eax
push ecx
push edi
call ebx
add esp, 0xc
cmp eax, dword [esi + 0x24]
jne 0x40a771
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret