Function at 0x445a68
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Get system information on windows
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
cmp dword [ebp + 8], 0
jne 0x445a81
mov eax, 1
jmp 0x44607b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], eax
push 0x40
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x445aa7
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ax, word [edx]
cmp eax, 0x5a4d
je 0x445ab1
mov eax, 2
jmp 0x44607b
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], edx
push pe_nt_image_headers32
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp eax, 1
je 0x445adc
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx], 0x4550
je 0x445ae6
mov eax, 3
jmp 0x44607b
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov ax, word [edx + 0x14]
cmp eax, 0xe0
jne 0x445b07
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov dx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x445b11
mov eax, 4
jmp 0x44607b
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
mov cx, word [eax + 6]
cmp ecx, 1
jge 0x445b29
mov eax, 5
jmp 0x44607b
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x6c]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], 0x28
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov dx, word [ecx + 6]
mov ecx, dword [ebp - 0xc]
imul ecx, edx
add eax, ecx
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x14], 0
mov word [ebp - 0x5c], 0
jmp 0x445b7e
mov ax, word [ebp - 0x5c]
add ax, 1
mov word [ebp - 0x5c], ax
mov ecx, dword [ebp - 0x5c]
and ecx, 0xffff
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov ax, word [edx + 6]
cmp ecx, eax
jae 0x445c1a
mov ecx, dword [ebp - 0x5c]
and ecx, 0xffff
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x5c]
and edx, 0xffff
imul edx, edx, 0x28
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + ecx + 0xc]
mov eax, dword [ebp - 0x18]
add ecx, dword [eax + edx + 0x10]
cmp dword [ebp - 0x54], ecx
jae 0x445bec
mov ecx, dword [ebp - 0x5c]
and ecx, 0xffff
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x5c]
and edx, 0xffff
imul edx, edx, 0x28
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + ecx + 0xc]
mov eax, dword [ebp - 0x18]
add ecx, dword [eax + edx + 0x10]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x5c]
and ecx, 0xffff
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx + 0x88]
cmp edx, dword [eax + ecx + 0xc]
jne 0x445c15
mov eax, dword [ebp - 0x5c]
and eax, 0xffff
mov dword [ebp - 0x14], eax
jmp 0x445b72
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x54]
xor edx, edx
div dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
xor edx, edx
div dword [ebp - 0x4c]
test edx, edx
je 0x445c44
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
imul eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x64]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x445c74
mov eax, 6
jmp 0x44607b
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00448800
add esp, 0xc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov word [ebp - 0x5c], 0
jmp 0x445cb1
mov dx, word [ebp - 0x5c]
add dx, 1
mov word [ebp - 0x5c], dx
mov eax, dword [ebp - 0x5c]
and eax, 0xffff
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x445d21
mov eax, dword [ebp - 0x5c]
and eax, 0xffff
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x5c]
and eax, 0xffff
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x14]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x5c]
and eax, 0xffff
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x68]
push edx
call fcn.00448800
add esp, 0xc
jmp 0x445ca5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x6c]
add eax, 0xf8
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x70]
mov dword [0x44da90], ecx
cmp dword [ebp - 0x14], 0
je 0x445d91
call fcn.00444fca
cmp eax, 1
jne 0x445d91
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx + 0xc]
add ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x18]
mov dword [eax + edx + 0xc], ecx
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx + 0x14]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx + 0x14], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x7c], ecx
cmp dword [ebp - 0x7c], 0
jne 0x445dbe
push 0x8000
push 0
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 7
jmp 0x44607b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x445ddb
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x70]
mov dword [ebp - 8], edx
jmp 0x445df6
push 0x8000
push 0
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 8
jmp 0x44607b
mov ecx, 1
test ecx, ecx
je 0x445f6c
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
jne 0x445e1a
mov eax, dword [ebp - 8]
cmp dword [eax + 0xc], 0
jne 0x445e1a
jmp 0x445f6c
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
add edx, dword [0x44da90]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x445e49
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x445e7e
push 0x10
push 0x4417f0
push 0x441810
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x8000
push 0
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 9
jmp 0x44607b
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x445e96
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x70]
mov dword [ebp - 0x84], edx
jmp 0x445ea5
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x70]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x84]
cmp dword [ecx], 0
je 0x445f5e
mov dword [ebp - 0x88], 0x80000000
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
and eax, dword [ebp - 0x88]
test eax, eax
je 0x445efc
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
jmp 0x445f20
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
add ecx, 2
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
cmp dword [ebp - 0x80], 0
jne 0x445f41
push 0x8000
push 0
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0xa
jmp 0x44607b
mov eax, dword [ebp - 0x80]
add eax, 4
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x84]
add ecx, 4
mov dword [ebp - 0x84], ecx
jmp 0x445eb1
mov edx, dword [ebp - 8]
add edx, 0x14
mov dword [ebp - 8], edx
jmp 0x445df6
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0xa0]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x44604a
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x70]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x44604a
mov ecx, dword [ebp - 0x2c]
add ecx, 8
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add eax, dword [edx + 4]
cmp dword [ebp - 0x8c], eax
jae 0x446039
mov ecx, dword [ebp - 0x8c]
xor edx, edx
mov dx, word [ecx]
and edx, 0xf000
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x3000
jne 0x446007
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax]
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov ax, word [edx]
and eax, 0xfff
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx]
mov eax, dword [ebp - 0x6c]
sub edx, dword [eax + 0x34]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x446025
cmp dword [ebp - 0x78], 0
je 0x446025
push 0x8000
push 0
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 0xa
jmp 0x44607b
mov eax, dword [ebp - 0x8c]
add eax, 2
mov dword [ebp - 0x8c], eax
jmp 0x445fa3
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
add edx, dword [ecx + 4]
mov dword [ebp - 0x2c], edx
jmp 0x445f8b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x28]
add ecx, dword [ebp - 0x70]
mov dword [0x44da78], ecx
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x10]
push edx
push 1
mov eax, dword [ebp - 0x70]
push eax
call dword [0x44da78]
mov ecx, dword [ebp + 0xc]
mov dword [0x44da88], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret