Function at 0x71a042fe
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x71a0432f
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x71a04336
cmp ebx, dword [ebp + 8]
jae 0x71a04336
xor eax, eax
jmp 0x71a0451c
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x71a04347
xor eax, eax
inc eax
jmp 0x71a0451b
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x71a04359
cmp ecx, edx
jae 0x71a043bd
cmp dword [eax + 4], 0
je 0x71a04362
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x71a0434e
cmp dword [ebp + 8], 0
je 0x71a0437c
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x71a043bd
cmp eax, esi
jae 0x71a043bd
mov ecx, dword [0x71a05810]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x71a0439e
cmp dword [eax*4 + 0x71a05818], esi
je 0x71a043c4
inc eax
cmp eax, ecx
jl 0x71a04390
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub._Cntl.DLL_NtQueryVirtualMemory
test eax, eax
jl 0x71a04434
mov eax, dword [ebp + 8]
jmp 0x71a04436
xor eax, eax
jmp 0x71a0451b
test eax, eax
jle 0x71a0433f
xor edx, edx
mov ebx, 0x71a05858
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x71a0433f
cmp dword [eax*4 + 0x71a05818], esi
je 0x71a04413
lea eax, [ecx - 1]
test eax, eax
jl 0x71a04400
cmp dword [eax*4 + 0x71a05818], esi
je 0x71a043fc
dec eax
jns 0x71a043f0
test eax, eax
jge 0x71a04411
cmp ecx, 0x10
jge 0x71a0440c
inc ecx
mov dword [0x71a05810], ecx
lea eax, [ecx - 1]
jmp 0x71a04413
je 0x71a0442b
xor edx, edx
test eax, eax
jl 0x71a0442b
lea ecx, [edx*4 + 0x71a05818]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x71a04419
xor eax, eax
xchg dword [ebx], eax
jmp 0x71a0433f
xor eax, eax
test eax, eax
je 0x71a04519
cmp dword [ebp - 8], 0x1000000
jne 0x71a04519
test byte [ebp - 0xc], 0xcc
je 0x71a044ab
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x71a04519
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x71a04519
cmp word [eax + 0x18], 0x10b
jne 0x71a04519
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x71a04519
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x71a044ab
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x71a044ab
test byte [ecx + 0x27], 0x80
jne 0x71a043bd
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x71a05858
xchg dword [edx], ecx
test ecx, ecx
jne 0x71a0451b
mov ecx, dword [0x71a05810]
test ecx, ecx
mov edx, ecx
jle 0x71a044da
lea eax, [ecx*4 + 0x71a05814]
cmp dword [eax], esi
je 0x71a044da
dec edx
sub eax, 4
test edx, edx
jg 0x71a044ce
test edx, edx
jne 0x71a0450b
push 0xf
pop ebx
cmp ecx, ebx
jg 0x71a044e7
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x71a044ff
lea eax, [edx*4 + 0x71a05818]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x71a044ed
cmp ecx, 0x10
jge 0x71a0450b
inc ecx
mov dword [0x71a05810], ecx
xor eax, eax
mov ecx, 0x71a05858
xchg dword [ecx], eax
jmp 0x71a0433f
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret