Function at 0x44b040
Capabilities:
Enumerate pe sections
Get common file path
Read file via mapping

Disassembly:
mov eax, 0x1018
call fcn.00420c90
push ebx
push ebp
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [esp + 0x102c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebp, ebp
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebp
push 0x80
mov ecx, ebx
push 3
push ebp
and ecx, 3
push 1
lea eax, [esp + 0x3c]
push SysReAllocString
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x20], eax
je 0x44b265
push ebp
push ebp
push ebp
push 2
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebp
push ebp
push ebp
push 4
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x44b265
mov ecx, dword [eax + 0x3c]
xor esi, esi
add ecx, eax
mov dword [esp + 0x10], ebp
mov edx, dword [ecx + 0x34]
mov si, word [ecx + 0x14]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dx, word [ecx + 6]
lea edi, [esi + ecx + 0x18]
cmp edx, 1
jb 0x44b265
mov dword [esp + 0x14], edx
mov esi, str.PAGE
mov ecx, edi
mov dl, byte [ecx]
mov bl, dl
cmp dl, byte [esi]
jne 0x44b14e
test bl, bl
je 0x44b14a
mov dl, byte [ecx + 1]
mov bl, dl
cmp dl, byte [esi + 1]
jne 0x44b14e
add ecx, 2
add esi, 2
test bl, bl
jne 0x44b12a
xor ecx, ecx
jmp 0x44b153
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x44b15b
mov ebp, edi
jmp 0x44b193
mov esi, str..text
mov ecx, edi
mov dl, byte [ecx]
mov bl, dl
cmp dl, byte [esi]
jne 0x44b186
test bl, bl
je 0x44b182
mov dl, byte [ecx + 1]
mov bl, dl
cmp dl, byte [esi + 1]
jne 0x44b186
add ecx, 2
add esi, 2
test bl, bl
jne 0x44b162
xor ecx, ecx
jmp 0x44b18b
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x44b193
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x14]
add edi, 0x28
dec ecx
mov dword [esp + 0x14], ecx
jne 0x44b123
test ebp, ebp
je 0x44b265
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x44b265
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
xor esi, esi
add ecx, eax
lea edi, [edx - 0x14]
xor ebx, ebx
test edi, edi
jbe 0x44b23b
mov al, 0xf
mov dl, byte [ecx]
cmp dl, 0x3b
je 0x44b1d6
cmp dl, 0x39
jne 0x44b231
cmp byte [ecx + 2], al
jne 0x44b231
cmp byte [ecx + 3], 0x84
jne 0x44b231
mov dl, byte [ecx + 8]
cmp dl, 0x3b
je 0x44b1ee
cmp dl, 0x39
jne 0x44b231
cmp byte [ecx + 0xa], al
jne 0x44b231
cmp byte [ecx + 0xb], 0x85
jne 0x44b231
cmp byte [ecx + 0x10], 0x68
jne 0x44b231
mov dl, byte [ecx + 0x15]
cmp dl, 0x50
jbe 0x44b231
cmp dl, 0x60
jae 0x44b231
cmp byte [ecx + 0x16], 0xe8
jne 0x44b231
mov esi, dword [ecx + 0x11]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
sub esi, edx
mov edx, dword [ebp + 0x14]
cmp esi, edx
jb 0x44b22f
mov ebp, dword [ebp + 0x10]
add ebp, edx
cmp esi, ebp
jb 0x44b237
xor esi, esi
inc ebx
inc ecx
cmp ebx, edi
jb 0x44b1ca
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1018
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1018
ret 4