Function at 0x444070
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 0x4440e2
mov esi, dword [ebx]
test esi, esi
je 0x4440e2
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ecx]
test edi, edi
jle 0x4440cf
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x4440c5
push eax
call fcn.00541560
add esp, 4
mov dword [esi], 0
add esi, 0x10
sub edi, 1
jne 0x4440b0
mov esi, dword [ebx]
test esi, esi
je 0x4440e2
push esi
call fcn.00541560
add esp, 4
mov dword [ebx], 0
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4440ef
mov dword [eax], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4440fc
mov dword [eax], 0
call fcn.0053b9e0
cmp dword [ebp + 8], eax
jne 0x444110
cmp dword [ebp + 0xc], 0
je 0x444237
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.00443910
add esp, 0x1c
mov dword [ebp - 4], eax
push esi
test eax, eax
jne 0x44416c
push str.z_CreateFile_failed__s:__m
push 0x550003
call fcn.00424230
add esp, 0xc
jmp 0x444211
call fcn.00423b60
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.0053b400
add esp, 4
test eax, eax
je 0x4441ba
push esi
push str.NtCreateSection_failed___s_:__m
push 0x550003
call fcn.00424230
add esp, 0xc
jmp 0x444211
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.0053b400
add esp, 4
test eax, eax
je 0x444202
push esi
push str.NtMapViewOfSection_failed___s_:__m
push 0x550003
call fcn.00424230
add esp, 0xc
jmp 0x444211
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.004438e0
lea eax, [ebp - 4]
push eax
call fcn.004438e0
add esp, 8
test edi, edi
jne 0x4444d9
mov dword [ebp - 0x18], 1
jmp 0x44423a
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.00444630
add esp, 0x14
test eax, eax
jne 0x4444a4
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 0x4442a1
cmp dword [ecx + 0x74], 0
jbe 0x4444a4
add ecx, 0x78
jmp 0x4442c2
mov eax, 0x20b
cmp dx, ax
jne 0x4444a4
cmp dword [ecx + 0x84], 0
jbe 0x4444a4
add ecx, 0x88
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x4444a4
push dword [ecx]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00444500
mov edi, dword [ebp + 8]
add esp, 0xc
test edi, edi
je 0x4444a4
mov ebx, dword [ebp - 0x4c]
mov eax, edi
mov esi, dword [ebp - 0x48]
sub eax, ebx
cmp eax, esi
ja 0x4444a4
push dword [edi + 0x20]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00444500
mov eax, dword [ebp - 0xc]
add esp, 0xc
test eax, eax
je 0x4444a4
sub eax, ebx
cmp eax, esi
ja 0x4444a4
push dword [edi + 0x1c]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00444500
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
je 0x4444a4
sub eax, ebx
cmp eax, esi
ja 0x4444a4
push dword [edi + 0x24]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00444500
mov ecx, dword [ebp - 4]
add esp, 0xc
test ecx, ecx
je 0x4444a4
mov eax, ecx
sub eax, ebx
cmp eax, esi
ja 0x4444a4
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4444a4
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x4443a3
shl eax, 4
push 1
push eax
call fcn.00541555
mov ecx, dword [ebp - 4]
mov edx, eax
mov eax, dword [edi + 0x14]
add esp, 8
mov dword [ebp - 8], edx
jmp 0x4443a5
xor edx, edx
xor esi, esi
test eax, eax
je 0x44446b
mov dword [ebp + 8], edx
cmp esi, dword [edi + 0x18]
jae 0x444468
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.00444500
mov ebx, dword [ebp - 0x30]
add esp, 0xc
test ebx, ebx
je 0x4444a4
mov eax, ebx
sub eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
ja 0x4444a4
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x444406
push ebx
push eax
call fcn.00421740
add esp, 8
test eax, eax
jne 0x444455
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 0x444434
mov eax, dword [eax + 4]
add eax, edx
cmp ecx, eax
jae 0x444434
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
jmp 0x44443c
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x20], 0
jne 0x444497
mov edx, dword [ebp + 8]
push ebx
push edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
call fcn.004218d0
add esp, 8
add dword [ebp + 8], 0x10
inc esi
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 4]
cmp esi, eax
jb 0x4443b2
mov ebx, dword [ebp + 0x18]
cmp dword [ebp + 0x20], 0
jne 0x4444a4
test ebx, ebx
je 0x444493
mov esi, dword [ebp - 8]
push 0x444590
push 0x10
push eax
push esi
call fcn.00547b90
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 0x4444a7
mov edx, dword [ebp + 0x24]
mov dword [edx], ecx
or ecx, eax
je 0x4444a4
xor ebx, ebx
jmp 0x4444a7
or ebx, 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x4444cc
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 0x4444dc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
or ebx, 0xffffffff
cmp dword [ebp + 0x18], 0
je 0x4444f2
mov eax, dword [ebp - 8]
test eax, eax
je 0x4444f2
push eax
call fcn.00541560
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret