Function at 0x20007a60
Capabilities:
Enumerate pe sections
Get system information on windows
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x20031f9b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x20043b94]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
cmp dword [0x2005cba4], 0
mov eax, dword [esp + 0x5c]
mov dword [eax], 0
jne 0x20007ab3
mov eax, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov ecx, dword [esp + 0x58]
cmp ecx, 0x40
jb 0x20007d4d
mov eax, dword [esp + 0x54]
cmp word [eax], 0x5a4d
jne 0x20007d4d
mov ebx, dword [eax + 0x3c]
lea edx, [ebx + 0xf8]
cmp ecx, edx
jb 0x20007d4d
add ebx, eax
cmp dword [ebx], 0x4550
mov dword [esp + 0x1c], ebx
jne 0x20007d4d
cmp word [ebx + 0x18], 0x10b
jne 0x20007d4d
cmp word [ebx + 6], 0
je 0x20007d4d
cmp ecx, dword [ebx + 0x54]
jb 0x20007d4d
cmp word [ebx + 4], 0x14c
je 0x20007b33
mov eax, 0xa
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [ebx + 0x38]
test al, 1
mov dword [esp + 0x18], eax
jne 0x20007d4d
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebx + 0x14]
movzx edx, word [ebx + 6]
lea eax, [ecx + ebx + 0x18]
xor ecx, ecx
test edx, edx
jbe 0x20007b84
add eax, 0xc
mov edi, edx
mov edx, dword [eax]
mov esi, dword [eax + 4]
add esi, edx
cmp ecx, esi
ja 0x20007b71
mov ecx, esi
mov esi, dword [eax - 4]
add edx, esi
cmp ecx, edx
ja 0x20007b7c
mov ecx, edx
add eax, 0x28
sub edi, 1
jne 0x20007b64
mov edx, dword [esp + 0x18]
mov esi, dword [ebx + 0x50]
lea eax, [edx - 1]
not eax
lea edi, [esi + edx - 1]
lea ecx, [ecx + edx - 1]
and edi, eax
and ecx, eax
cmp edi, ecx
jne 0x20007d4d
push 4
push 0x3000
push edi
xor esi, esi
push esi
call dword [0x2005cb8c]
mov ebp, eax
cmp ebp, esi
jne 0x20007bea
push 4
push 0x3000
push edi
push esi
call dword [0x2005cb8c]
mov ebp, eax
cmp ebp, esi
jne 0x20007bea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x68
call fcn.2000e0eb
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, esi
mov dword [esp + 0x4c], esi
je 0x20007c11
mov edx, dword [esp + 0x24]
push edi
push edx
push ebx
push ebp
mov esi, eax
call fcn.20007de0
mov esi, eax
push 0x2005cf1c
mov dword [esp + 0x50], 0xffffffff
call fcn.20004c00
push ebp
mov eax, 0x20058dd8
call fcn.20008f90
push 0x2005cf24
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
push eax
call fcn.20008010
mov edi, eax
test edi, edi
jne 0x20007cfa
mov ecx, dword [esp + 0x1c]
mov eax, ebp
sub eax, dword [ecx + 0x34]
je 0x20007c6f
push eax
push esi
call fcn.200080e0
mov edi, eax
test edi, edi
jne 0x20007cfa
push esi
call fcn.20008a80
mov edi, eax
test edi, edi
jne 0x20007cfa
push esi
call fcn.20008180
mov edi, eax
test edi, edi
jne 0x20007cfa
mov eax, dword [esi]
lea edx, [esi + 0x54]
push edx
push eax
call fcn.20008290
mov edi, eax
add esp, 8
test edi, edi
jne 0x20007cfa
push esi
call fcn.200086a0
mov edi, eax
test edi, edi
jne 0x20007cfa
mov eax, esi
call fcn.20008a30
mov edi, eax
test edi, edi
jne 0x20007cfa
mov edi, esi
call fcn.20008850
cmp dword [esi + 0x30], 0
je 0x20007cc9
mov edi, 0xb
jmp 0x20007cfa
cmp dword [esi + 0x18], 0
jne 0x20007cd6
mov edi, 0xb
jmp 0x20007cfa
mov eax, dword [esi + 0x10]
test eax, eax
je 0x20007cf1
mov ecx, dword [esi]
push 0
push 1
push ecx
call eax
test eax, eax
jne 0x20007cf1
mov edi, 0x45a
jmp 0x20007cfa
mov dword [esi + 0x14], 1
xor edi, edi
call fcn.20008a60
call fcn.20008ea0
test edi, edi
je 0x20007d31
test esi, esi
je 0x20007d1b
push esi
call fcn.20008890
push esi
call fcn.2000e116
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov edx, dword [esp + 0x5c]
mov dword [edx], ebp
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, 0xb
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret