Function at 0x1000be80
Capabilities:
Enumerate pe sections
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x10044440
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10059870]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10059870]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x18], eax
push 0x40
mov eax, edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], 0
call fcn.10001fc0
add esp, 4
test eax, eax
je 0x1000c06a
mov ebx, dword [ecx + 0x3c]
lea eax, [ebx + 0xf8]
push eax
mov eax, edx
call fcn.10001fc0
add esp, 4
test eax, eax
je 0x1000c06a
add ebx, ecx
cmp dword [ebx], 0x4550
jne 0x1000c06a
cmp word [ebx + 4], 0x14c
jne 0x1000c06a
mov edx, dword [ebx + 0x38]
test dl, 1
jne 0x1000c06a
movzx eax, word [ebx + 6]
test eax, eax
movzx ecx, word [ebx + 0x14]
lea esi, [ecx + ebx + 0x18]
jbe 0x1000bf78
add esi, 0xc
mov ebp, eax
mov ecx, dword [esi + 4]
test ecx, ecx
mov eax, dword [esi]
jne 0x1000bf64
add eax, edx
jmp 0x1000bf66
add eax, ecx
cmp eax, dword [esp + 0x14]
jbe 0x1000bf70
mov dword [esp + 0x14], eax
add esi, 0x28
sub ebp, 1
jne 0x1000bf57
lea edx, [esp + 0x64]
push edx
call fcn.100054f0
add esp, 4
mov eax, dword [esp + 0x68]
mov ebp, 0x10
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x8c], 0
jae 0x1000bfa3
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
lea eax, [esp + 0x48]
push eax
call fcn.10007cd0
add esp, 4
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x8c], 1
jae 0x1000bfcf
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x28]
mov eax, dword [ebx + 0x50]
mov ecx, edx
call fcn.10001fa0
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, edx
call fcn.10001fa0
cmp esi, eax
jne 0x1000c058
mov edx, dword [ebx + 0x34]
push edi
push 4
push 0x3000
push esi
push edx
call dword [esp + 0x2c]
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x1000c032
push edi
push 4
push 0x3000
push esi
push eax
call dword [esp + 0x2c]
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x1000c058
push 0x40
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x1000c071
push edi
push 0x8000
push eax
push ebp
call dword [esp + 0x30]
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.10002fd0
lea ecx, [esp + 0x64]
call fcn.10002fd0
xor eax, eax
jmp 0x1000c1b5
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov dword [esi + 4], ebp
movzx eax, word [ebx + 0x16]
shr eax, 0xd
and eax, 1
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x34], edi
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebx + 0x54]
push ecx
call fcn.10001fc0
add esp, 4
test eax, eax
je 0x1000c17e
push edi
push 4
push 0x1000
push ecx
push ebp
call edx
mov edx, dword [ebx + 0x54]
mov edi, eax
mov eax, dword [esp + 0x30]
push edx
push eax
push edi
call fcn.100290e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xb8]
add edi, ecx
push ebx
mov dword [esi], edi
push edx
mov dword [edi + 0x34], ebp
push eax
mov edi, esi
call fcn.10001fd0
add esp, 0x2c
test eax, eax
je 0x1000c17e
mov eax, dword [esi]
mov eax, dword [eax + 0x34]
sub eax, dword [ebx + 0x34]
je 0x1000c12f
push eax
mov eax, esi
call fcn.10002120
add esp, 4
mov dword [esi + 0x18], eax
jmp 0x1000c136
mov dword [esi + 0x18], 1
call fcn.100021c0
test eax, eax
je 0x1000c17e
push esi
call fcn.10006940
add esp, 4
test eax, eax
je 0x1000c17e
mov eax, esi
call fcn.100020e0
test eax, eax
je 0x1000c17e
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x1000c19a
add eax, ebp
cmp dword [esi + 0x14], 0
je 0x1000c195
push 0
push 1
push ebp
call eax
test eax, eax
jne 0x1000c18c
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call fcn.100095b0
add esp, 4
jmp 0x1000c058
mov dword [esi + 0x10], 1
jmp 0x1000c1a1
mov dword [esi + 0x38], eax
jmp 0x1000c1a1
mov dword [esi + 0x38], 0
lea ecx, [esp + 0x48]
call fcn.10002fd0
lea ecx, [esp + 0x64]
call fcn.10002fd0
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.10028c29
add esp, 0x7c
ret