Function at 0x10043220
Capabilities:
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x2098
call fcn.100e39d0
mov eax, dword [0x10188068]
xor eax, esp
mov dword [esp + 0x2094], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [eax]
mov edi, ecx
mov dword [esp + 0x28], edi
cmp dword [eax], 0x80000003
jne 0x1004326f
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x2094]
xor ecx, esp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 0x5a44]
mov dword [esp + 0x18], 0
xor esi, esi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x100434a9
call fcn.10042db0
mov ecx, eax
xor eax, eax
cmp dword [ecx + 0x128], 1
jne 0x100432a3
cmp dword [ecx + 4], eax
cmovne eax, ecx
lea ecx, [edi + 0x5a44]
push ecx
push 0x5834
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x100434a9
push 0x5834
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x100432f2
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
jmp 0x100434af
push 1
call fcn.100434e0
mov eax, dword [edi + 4]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100433ae
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
test eax, eax
je 0x10043382
mov esi, dword [eax + 0xb4]
mov edx, dword [eax + 0xb8]
mov dword [esp + 0x1c], esi
push 0x1c
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
neg eax
sbb eax, eax
and eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x24]
je 0x100433ae
push 8
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10043365
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test al, 3
jne 0x10043365
mov esi, eax
cmp eax, ecx
ja 0x10043323
xor esi, esi
lea eax, [edi + 0x5c60]
nop dword [eax]
cmp dword [eax], 0
je 0x1004339f
inc esi
add eax, 8
cmp esi, 4
jl 0x10043370
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push 0
call fcn.100434e0
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100434b7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + esi*8 + 0x5c60], eax
jmp 0x1004337e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esp + 0x20]
mov ecx, 0xb3
mov dword [edi + 0x1c], eax
mov dword [edi + 0x10], edx
push 0x5834
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [edi + 0x14], eax
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
add edi, 0x20
mov esi, dword [edx + 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
lea eax, [esi + 8]
push eax
push edi
call fcn.100fbb50
add esp, 0xc
mov dword [esp + 0x50], 0x44
lea eax, [esp + 0x54]
push 0x40
push 0
push eax
call fcn.100fc650
add esp, 0xc
lea eax, [esp + 0x98]
add esi, 0x583c
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
push dword [esp + 0x2c]
push esi
push str.__s____smname_s
push 0xffffffffffffffff
push eax
call fcn.10043da0
add esp, 0x14
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xb8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10043498
push 0xffffffffffffffff
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x30]
call esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 1
jmp 0x10043386
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], 0
jmp 0x10043386
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], 0
test esi, esi
je 0x100434be
push esi
call edi
mov ecx, dword [esp + 0x209c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
call fcn.100e278d
mov esp, ebp
pop ebp
ret 4