Function at 0x5030f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x705200]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 5]
push 1
push eax
push edi
mov esi, ecx
mov byte [ebp - 5], 0x50
call fcn.005028a0
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 0x4b
push eax
push edi
call fcn.005028a0
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 1
push eax
push edi
call fcn.005028a0
push 1
lea eax, [ebp - 5]
mov byte [ebp - 5], 2
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 1]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 2]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 3]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 4]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 5]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 6]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 7]
mov byte [ebp - 5], al
push 1
lea eax, [ebp - 5]
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 8]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 8]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0xa]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0xb]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0xc]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0xe]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0xf]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x10]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x10]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x12]
mov byte [ebp - 5], al
push 1
lea eax, [ebp - 5]
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x13]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x14]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x14]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x16]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x17]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x18]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x18]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x20]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x20]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x24]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x24]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x28]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x29]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x2a]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x2b]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x30]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x30]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x32]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x33]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x34]
add esp, 0x48
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
mov eax, dword [esi + 0x34]
shr eax, 8
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x36]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
movzx eax, byte [esi + 0x37]
mov byte [ebp - 5], al
lea eax, [ebp - 5]
push 1
push eax
push edi
call fcn.005028a0
push dword [esi + 0x18]
lea eax, [esi + 0x148]
push eax
push edi
call fcn.005028a0
add esp, 0x3c
cmp eax, dword [esi + 0x18]
jne 0x503507
mov eax, dword [esi + 0x20]
test eax, eax
je 0x5034bf
push eax
push dword [esi + 0x140]
push edi
call fcn.005028a0
add esp, 0xc
cmp eax, dword [esi + 0x20]
jne 0x503507
mov eax, dword [esi + 0x24]
test eax, eax
je 0x5034f5
push eax
push dword [esi + 0x144]
push edi
call fcn.005028a0
add esp, 0xc
xor edx, edx
cmp eax, dword [esi + 0x24]
mov ecx, 0xa
cmove ecx, edx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e475
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e475
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.0041e475
mov esp, ebp
pop ebp
ret