Function at 0x444010
Capabilities:
Enumerate pe sections
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 0x18]
xorps xmm0, xmm0
push esi
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], esi
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], esi
push edi
movups xmmword [ebp - 0x4c], xmm0
test ebx, ebx
je 0x444082
mov esi, dword [ebx]
test esi, esi
je 0x444082
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ecx]
test edi, edi
jle 0x44406f
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x444065
push eax
call fcn.005414d0
add esp, 4
mov dword [esi], 0
add esi, 0x10
sub edi, 1
jne 0x444050
mov esi, dword [ebx]
test esi, esi
je 0x444082
push esi
call fcn.005414d0
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x44408f
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x44409c
mov dword [eax], 0
call fcn.0053b950
cmp dword [ebp + 8], eax
jne 0x4440b0
cmp dword [ebp + 0xc], 0
je 0x4441d7
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 0x14]
or edi, 0xffffffff
push 0
push 0
push 3
push 0
push 1
push 0x1000a1
movq qword [ebx], xmm0
push esi
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
mov dword [ebx + 8], 0
call fcn.004438b0
add esp, 0x1c
mov dword [ebp - 4], eax
push esi
test eax, eax
jne 0x44410c
push str.z_CreateFile_failed__s:__m
push 0x550003
call fcn.00424200
add esp, 0xc
jmp 0x4441b1
call fcn.00423b30
add esp, 4
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push dword [ebp - 4]
push 0x8000000
push 0x20
push eax
push 0
push 0xf001f
lea eax, [ebp + 8]
push eax
call sub.ntdll.dll_NtCreateSection
push eax
call fcn.0053b370
add esp, 4
test eax, eax
je 0x44415a
push esi
push str.NtCreateSection_failed___s_:__m
push 0x550003
call fcn.00424200
add esp, 0xc
jmp 0x4441b1
mov eax, dword [ebp - 0x20]
push 0x20
push 0
push 1
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push dword [ebp + 8]
call sub.ntdll.dll_NtMapViewOfSection
push eax
call fcn.0053b370
add esp, 4
test eax, eax
je 0x4441a2
push esi
push str.NtMapViewOfSection_failed___s_:__m
push 0x550003
call fcn.00424200
add esp, 0xc
jmp 0x4441b1
mov eax, dword [ebp - 0xc]
xor edi, edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], 1
lea eax, [ebp + 8]
push eax
call fcn.00443880
lea eax, [ebp - 4]
push eax
call fcn.00443880
add esp, 8
test edi, edi
jne 0x444479
mov dword [ebp - 0x18], 1
jmp 0x4441da
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
lea eax, [ebp - 0x40]
push eax
push ebx
call fcn.004445d0
add esp, 0x14
test eax, eax
jne 0x444444
mov ecx, dword [ebp - 0x40]
movzx eax, word [ecx + 0x18]
mov edx, eax
mov word [ebp - 0x44], ax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x3c], eax
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
mov dword [ebp - 0x38], eax
mov eax, 0x10b
cmp dx, ax
jne 0x444241
cmp dword [ecx + 0x74], 0
jbe 0x444444
add ecx, 0x78
jmp 0x444262
mov eax, 0x20b
cmp dx, ax
jne 0x444444
cmp dword [ecx + 0x84], 0
jbe 0x444444
add ecx, 0x88
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x444444
push dword [ecx]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004444a0
mov edi, dword [ebp + 8]
add esp, 0xc
test edi, edi
je 0x444444
mov ebx, dword [ebp - 0x4c]
mov eax, edi
mov esi, dword [ebp - 0x48]
sub eax, ebx
cmp eax, esi
ja 0x444444
push dword [edi + 0x20]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004444a0
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x444444
sub eax, ebx
cmp eax, esi
ja 0x444444
push dword [edi + 0x1c]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004444a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x444444
sub eax, ebx
cmp eax, esi
ja 0x444444
push dword [edi + 0x24]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004444a0
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
je 0x444444
mov eax, ecx
sub eax, ebx
cmp eax, esi
ja 0x444444
mov eax, dword [edi + 0x14]
test eax, eax
je 0x444444
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x444343
shl eax, 4
push 1
push eax
call fcn.005414c5
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, dword [edi + 0x14]
add esp, 8
mov dword [ebp - 8], edx
jmp 0x444345
xor edx, edx
xor esi, esi
test eax, eax
je 0x44440b
mov dword [ebp + 8], edx
cmp esi, dword [edi + 0x18]
jae 0x444408
movzx eax, word [ecx + esi*2]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
push dword [eax + esi*4]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004444a0
mov ebx, dword [ebp - 0x30]
add esp, 0xc
test ebx, ebx
je 0x444444
mov eax, ebx
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
ja 0x444444
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4443a6
push ebx
push eax
call fcn.00421710
add esp, 8
test eax, eax
jne 0x4443f5
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movzx eax, ax
mov ecx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
cmp ecx, edx
jb 0x4443d4
mov eax, dword [eax + 4]
add eax, edx
cmp ecx, eax
jae 0x4443d4
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
jmp 0x4443dc
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x20], 0
jne 0x444437
mov edx, dword [ebp + 8]
push ebx
push edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call fcn.004218a0
add esp, 8
add dword [ebp + 8], 0x10
inc esi
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
cmp esi, eax
jb 0x444352
mov ebx, dword [ebp + 0x18]
cmp dword [ebp + 0x20], 0
jne 0x444444
test ebx, ebx
je 0x444433
mov esi, dword [ebp - 8]
push 0x444530
push 0x10
push eax
push esi
call fcn.00547b00
mov ecx, dword [ebp + 0x1c]
add esp, 0x10
mov eax, dword [edi + 0x14]
mov dword [ecx], eax
mov dword [ebx], esi
xor ebx, ebx
jmp 0x444447
mov edx, dword [ebp + 0x24]
mov dword [edx], ecx
or ecx, eax
je 0x444444
xor ebx, ebx
jmp 0x444447
or ebx, 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x44446c
mov esi, dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.ntdll.dll_NtUnmapViewOfSection
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
test ebx, ebx
jne 0x44447c
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
cmp dword [ebp + 0x18], 0
je 0x444492
mov eax, dword [ebp - 8]
test eax, eax
je 0x444492
push eax
call fcn.005414d0
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret