Function at 0x42e740
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bdec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x43c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x14
mov dword [esp + 0x440], eax
mov dword [esp + 0x38], esi
mov dword [esi], 0x4f4000
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x448], ebp
je 0x42e7a2
mov ecx, eax
call fcn.0042c300
jmp 0x42e7a4
xor eax, eax
cmp eax, ebp
mov dword [esi + 0xc], eax
je 0x42e7ae
inc dword [eax + 4]
mov al, byte [esp + 0x10]
lea edi, [esi + 0x14]
mov byte [esi + 0x10], 0
mov ecx, edi
mov dword [esp + 0x448], 1
mov byte [edi], al
call fcn.00423c00
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x20]
push eax
mov byte [esp + 0x450], 2
call fcn.0042c430
mov ebx, 3
push 0x154
mov byte [esp + 0x44c], bl
call sub.hge.dll_hgeCreate
push 0x30
mov dword [esi + 8], eax
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x448], 4
je 0x42e83f
push ebp
mov ecx, eax
call fcn.004736f0
jmp 0x42e841
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x44c], bl
mov dword [esi + 4], eax
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
push str.hgelog.txt
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x454], 5
call fcn.00402f70
add esp, 0xc
mov ecx, dword [eax + 0x18]
mov ebp, 0x10
cmp ecx, ebp
mov byte [esp + 0x448], 6
jb 0x42e890
mov eax, dword [eax + 4]
jmp 0x42e893
add eax, 4
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
push ebp
push ecx
call dword [edx + 0x30]
cmp dword [esp + 0x50], ebp
jb 0x42e8b1
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ade5d
add esp, 4
cmp dword [esp + 0x30], ebp
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x448], bl
jb 0x42e8e0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ade5d
add esp, 4
mov eax, dword [esi + 8]
mov edx, dword [eax]
push 0xface0ff
push 0xe
push eax
call dword [edx + 0x2c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0x428580
push 1
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push 0x428630
push 4
push eax
call dword [edx + 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0x428670
push 2
push eax
call dword [ecx + 0x24]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push 0x4287e0
push ebx
push eax
call dword [edx + 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0x65
push 6
push eax
call dword [ecx + 0x30]
call fcn.0040d4d0
mov ecx, dword [eax + ebp + 0x18]
add eax, ebp
cmp ecx, ebp
jb 0x42e950
mov ecx, dword [eax + 4]
jmp 0x42e953
lea ecx, [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ecx
push 7
push eax
call dword [edx + 0x30]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0
push 0x12
push eax
call dword [ecx + 0x20]
call fcn.0040f720
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ecx
push 0x17
push eax
call dword [edx + 0x2c]
call fcn.0040f720
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ecx
push 8
push eax
call dword [edx + 0x2c]
call fcn.0040f720
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ecx
push 9
push eax
call dword [edx + 0x2c]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0x20
push 0xa
push eax
call dword [ecx + 0x2c]
call fcn.0040f720
mov eax, dword [eax]
mov cl, byte [eax]
mov eax, dword [esi + 8]
test cl, cl
mov ecx, dword [eax]
sete dl
mov byte [esp + 0x10], dl
mov edx, dword [esp + 0x10]
push edx
push 0xb
push eax
call dword [ecx + 0x20]
call fcn.0040f720
mov eax, dword [eax]
movzx eax, byte [eax + 0xc]
push eax
mov ecx, esi
call fcn.00425c20
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
test al, al
mov byte [esi + 0x10], al
jne 0x42eb82
lea edx, [esp + 0x10]
push edx
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov edi, dword [eax]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
push 0x51ff63
push eax
mov byte [esp + 0x450], 7
call dword [ecx + 0x10]
push eax
push str.Failed_to_initialize_HGE:
push 0x51ff80
mov ecx, edi
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x448], bl
je 0x42ea7a
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
mov dword [eax], edx
mov dword [esp + 0x14], edx
jne 0x42ea7a
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x18]
push ecx
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x448], 8
jb 0x42ea9d
mov ecx, dword [eax + 4]
jmp 0x42eaa0
lea ecx, [eax + 4]
cmp dword [0x50e504], ebp
mov edi, dword [0x50e4f0]
jae 0x42eab3
mov edi, 0x50e4f0
mov eax, dword [esi + 8]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x10]
push eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.004ae68f
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebp
mov byte [esp + 0x448], bl
jb 0x42eae8
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ade5d
add esp, 4
mov edi, dword [sym.imp.user32.dll_MessageBoxA]
push 0x14
push str.Error
lea edx, [esp + 0x5c]
push edx
push 0
call edi
cmp eax, 6
jne 0x42eb66
lea eax, [esp + 0x18]
push eax
call fcn.0040d4d0
mov ecx, eax
call fcn.0041c180
cmp dword [eax + 0x18], ebp
jb 0x42eb1e
mov eax, dword [eax + 4]
jmp 0x42eb21
add eax, 4
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
cmp dword [esp + 0x30], ebp
jb 0x42eb48
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004ade5d
add esp, 4
cmp dword [0x50e520], ebp
mov eax, dword [0x50e50c]
jae 0x42eb5a
mov eax, 0x50e50c
push 0x40
push 0x4f409c
push eax
push 0
call edi
mov eax, dword [esi + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0
call fcn.0040d4d0
mov ecx, eax
call fcn.00402440
jmp 0x42ec11
push 0x20
call fcn.004ad909
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov byte [esp + 0x448], 9
je 0x42ebad
mov ecx, edi
call fcn.00401ed0
mov dword [edi], 0x4f3c8c
jmp 0x42ebaf
xor edi, edi
test edi, edi
push 0
push 0
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], edi
je 0x42ebc3
inc dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x458], 0xa
call fcn.0040d4d0
mov ecx, eax
call fcn.00401630
mov ecx, dword [eax]
mov byte [esp + 0x454], 0xc
call fcn.00406a60
mov eax, dword [esp + 0x10]
test eax, eax
mov byte [esp + 0x448], bl
je 0x42ec11
mov edi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edi
mov edx, edi
test edx, edx
mov dword [eax], edi
jne 0x42ec11
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esp + 0x440]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x434]
xor ecx, dword [esp + 0x444]
pop ebp
pop ebx
add esp, 0x43c
jmp fcn.004ae650