Function at 0x403a50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x411cab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x41ac08]
push ebx
push ebp
push esi
push edi
mov ecx, 0x41ac08
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [0x41ac08]
xor ebx, ebx
mov ecx, 0x41ac08
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x13], bl
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push 8
mov byte [esp + 0x60], 1
call fcn.00409809
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x5c], 2
je 0x403ac4
mov ecx, eax
call fcn.004092a0
jmp 0x403ac6
xor eax, eax
mov ebp, dword [esp + 0x64]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
push 0x416af0
push 0x67
push ebp
mov byte [esp + 0x6c], 1
mov dword [0x416b5c], eax
call esi
push 0x64
push 0x416a88
push 0x6d
push ebp
call esi
push ebp
call fcn.004039c0
mov esi, dword [esp + 0x6c]
add esp, 4
cmp esi, ebx
jne 0x403b07
xor eax, eax
jmp 0x403b19
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b10
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004013e0
cmp esi, ebx
jne 0x403b2c
xor eax, eax
jmp 0x403b3a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403b31
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.004013e0
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
cmp eax, ebx
jl 0x403d47
push 0x41335c
push edi
call fcn.0040a0b5
add esp, 8
cmp eax, ebx
je 0x403d47
sub eax, edi
cmp eax, 0xffffffff
je 0x403d47
mov eax, dword [0x41ac08]
mov ecx, 0x41ac08
mov dword [esp + 0x1c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x413334
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 3
call fcn.00401dd0
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x60], 4
call fcn.00402ab0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x68]
push 0x413285
push edi
call fcn.00409c3e
add esp, 8
test eax, eax
je 0x403cbd
lea eax, [esp + 0x1c]
push eax
push 0x413334
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401dd0
mov eax, dword [eax]
lea ecx, [eax - 0x10]
lea esi, [edi - 0x10]
cmp ecx, esi
mov byte [esp + 0x5c], 5
je 0x403c67
mov edx, dword [esi + 0xc]
test edx, edx
lea edi, [esi + 0xc]
jge 0x403c3d
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x70]
call fcn.004013e0
mov edi, dword [esp + 0x68]
jmp 0x403c67
push ecx
call fcn.00401270
add esp, 4
mov ebp, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x403c5c
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
lea edi, [ebp + 0x10]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
jne 0x403ca6
push edi
lea eax, [esp + 0x1c]
push 0x413358
push eax
mov byte [esp + 0x1f], 1
call fcn.00402a90
add esp, 0xc
push 0x413285
push edi
inc ebx
call fcn.00409c3e
add esp, 8
test eax, eax
jne 0x403bf6
lea eax, [edi - 0x10]
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403cdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x14]
push ebp
call fcn.00401850
add esp, 4
test eax, eax
je 0x403eef
push 0x6d
push ebp
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [esp + 0x68], eax
mov eax, dword [0x416074]
test eax, eax
jne 0x403d11
mov dword [0x416074], 1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov al, byte [esp + 0x13]
test al, al
je 0x403d5c
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401270
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00403650
add esp, 4
jmp 0x403d8d
cmp byte [esi], 0
je 0x403ce0
push esi
call fcn.0040a43c
add esp, 4
mov dword [0x416074], eax
jmp 0x403ce0
mov eax, dword [0x416074]
mov ecx, dword [0x416a80]
imul eax, eax, 0x3e8
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push eax
push 1
push ecx
call esi
mov edx, dword [0x416a80]
push 0
push 0x2710
push 2
push edx
call esi
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x403df8
mov edi, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x403dc0
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call edi
test eax, eax
jne 0x403de3
lea ecx, [esp + 0x38]
push ecx
call ebp
lea edx, [esp + 0x38]
push edx
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x403dc0
mov edi, dword [esp + 0x14]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [esp + 0x40], 0x29a
jne 0x403eef
mov al, byte [esp + 0x13]
test al, al
jne 0x403eef
mov eax, dword [0x416b58]
xor ebx, ebx
cmp eax, ebx
mov esi, 0x708
je 0x403e2b
mov esi, dword [eax + 8]
mov edx, dword [0x41ac08]
mov ecx, 0x41ac08
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x68], eax
mov word [esp + 0x28], 0x16
mov dword [esp + 0x30], esi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 7
call fcn.004022a0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x60], 0xa
call fcn.00404730
mov esi, dword [esp + 0x24]
add esp, 4
cmp esi, ebx
je 0x403e95
cmp dword [esi + 4], ebx
jne 0x403e90
mov edx, dword [esi]
push edx
call fcn.0040fc90
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
jmp 0x403e97
xor eax, eax
push ebx
push ebx
push eax
mov eax, dword [esp + 0x74]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp esi, ebx
je 0x403eb2
mov ecx, esi
call fcn.00401ae0
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x60], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, ebx
jge 0x403ecc
push eax
call fcn.0040fb40
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403eef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret