Function at 0x429430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1494
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x23a8]
mov esi, dword [eax]
mov dword [ebp - 0x50], eax
cmp esi, eax
je 0x4294c6
lea ecx, [ebp + 0xc]
call fcn.00402630
nop
mov ebx, dword [esi + 8]
mov dword [ebp - 0x4c], ebx
lea edx, [ebx + 0x100]
mov ecx, eax
mov edi, edi
mov di, word [ecx]
cmp di, word [edx]
jne 0x4294b6
test di, di
je 0x4294b2
mov di, word [ecx + 2]
cmp di, word [edx + 2]
jne 0x4294b6
add ecx, 4
add edx, 4
test di, di
jne 0x429490
xor ecx, ecx
jmp 0x4294bb
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x4294ea
mov esi, dword [esi]
cmp esi, dword [ebp - 0x50]
jne 0x429480
push 0
push 0
push 0x4b42a0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 0x20], 8
jb 0x42978c
mov eax, dword [ebp + 0xc]
push eax
jmp 0x429783
mov edi, dword [sym.imp.MSVCR100.dll__wtoi]
lea esi, [ebx + 0x180]
push esi
call edi
add esp, 4
cmp eax, 2
je 0x429692
push esi
call edi
add esp, 4
cmp eax, 1
je 0x429692
lea esi, [ebx + 0x3200]
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429520
sub eax, edx
sar eax, 1
jne 0x42954b
push 0
push 0
push 0x4b1fd8
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp + 0x20], 8
jmp 0x42977d
xor edx, edx
mov ebx, 7
mov eax, esi
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x429565
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004027c0
push 1
push 0xffffffffffffffff
push 0x4adfcc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00408640
cmp eax, 0xffffffff
jne 0x4295d5
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x4295b1
mov eax, dword [ebp - 0x2c]
push eax
call edi
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp + 0x20], esi
jb 0x42978c
mov edx, dword [ebp + 0xc]
push edx
call edi
jmp 0x429789
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00408400
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004085c0
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x34], edi
jb 0x42960c
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x429617
lea eax, [ebp - 0x2c]
push 5
push eax
push 0x4ab248
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xe958
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x42964a
mov ecx, eax
call fcn.004035d0
mov esi, eax
jmp 0x42964c
xor esi, esi
mov edx, dword [ebp - 0x4c]
push 0xe958
push edx
push esi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x54]
add esp, 0xc
mov ecx, 1
mov ebx, esi
mov dword [esi + 0xd8a4], 0
call fcn.00429e90
cmp dword [ebp - 0x18], edi
jb 0x42977a
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
jmp 0x42977a
mov eax, 0xe958
call fcn.00497d20
mov edi, esp
mov ecx, 0x3a56
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x2c]
call fcn.004349f0
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x2c]
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jae 0x4296c2
mov edi, esi
push 0xc
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x429703
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x429705
test edi, edi
je 0x429705
push 0x8007000e
call fcn.00497660
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x4c], esi
test esi, esi
jne 0x42971a
push 0x8007000e
call fcn.00497660
push 0xffffffffffffffff
mov byte [ebp - 4], 3
mov ecx, dword [esi]
push 1
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00423b90
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x429763
mov eax, dword [esi]
test eax, eax
je 0x429748
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x429759
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x18], ebx
jb 0x429775
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 8
cmp dword [ebp + 0x20], edi
jb 0x42978c
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret 0x20