Function at 0xabad85c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [0xabad3c4]
mov eax, 0x1c
call fcn.0aba5ee8
mov dword [ebp - 8], eax
mov edx, 0x1c
mov eax, dword [ebp - 8]
call fcn.0aba6e94
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0x19770605
mov edi, dword [ebp + 8]
mov esi, edi
cmp word [esi], 0x5a4d
je 0xabad8b3
mov edx, dword [0xabad3c4]
mov eax, dword [ebp - 8]
call fcn.0aba5efc
jmp 0xabada6b
mov eax, dword [esi + 0x3c]
lea ebx, [edi + eax]
cmp dword [ebx], 0x4550
je 0xabad8d4
mov edx, dword [0xabad3c4]
mov eax, dword [ebp - 8]
call fcn.0aba5efc
jmp 0xabada6b
cmp word [ebx + 4], 0x14c
je 0xabad8ef
mov edx, dword [0xabad3c4]
mov eax, dword [ebp - 8]
call fcn.0aba5efc
jmp 0xabada6b
push 0x40
push 0x3000
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x34]
push eax
call dword [0xabd4fe8]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0xabad92c
push 0x40
push 0x2000
mov eax, dword [ebx + 0x50]
push eax
push 0
call dword [0xabd4fe8]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0xabad948
mov edx, dword [0xabad3c4]
mov eax, dword [ebp - 8]
call fcn.0aba5efc
jmp 0xabada6b
push 0x40
push 0x1000
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call dword [0xabd4fe8]
push 0x40
push 0x1000
mov eax, dword [ebx + 0x54]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call dword [0xabd4fe8]
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
lea eax, [edx + eax]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebx + 0x54]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.0aba6e74
mov eax, dword [esi + 0x3c]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
lea eax, [edx + eax]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 8]
mov ecx, eax
mov edx, ebx
mov eax, edi
call fcn.0abad47c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
sub eax, dword [ebx + 0x34]
test eax, eax
je 0xabad9d7
mov edx, dword [ebp - 8]
xchg edx, eax
call fcn.0abad6c0
mov eax, dword [ebp - 8]
call fcn.0abad520
mov eax, dword [ebp - 8]
call fcn.0abad760
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
test eax, eax
je 0xabada65
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
lea ebx, [edx + eax]
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0xabada53
xor eax, eax
push ebp
push 0xabada47
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call ebx
test eax, eax
jne 0xabada3d
lea eax, [ebp - 8]
push eax
call fcn.0abadbbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xabada6b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0xabada5e
lea eax, [ebp - 8]
push eax
call fcn.0abadbbc
jmp 0xabada6b
mov eax, dword [ebp - 8]
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4