Function at 0x4ba040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x4ba048
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ba8f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c1f18]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0044bd10
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ba826
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x451448]
call fcn.00451b04
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x58
mov edx, 0x4ba910
call fcn.00403e6c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4ba7e9
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.004522a4
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b9f64
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4b752c]
call fcn.004b75e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x360], eax
mov eax, dword [0x4c1d5c]
mov eax, dword [eax]
call fcn.0044d8c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov dl, 1
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
xor edx, edx
call fcn.004b6b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov dl, 1
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov edx, dword [eax]
call dword [edx + 0x80]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x2c]
call fcn.004b7404
mov eax, dword [ebp - 0x1c]
mov edx, 0x4ba934
call fcn.004041a8
je 0x4ba1da
mov eax, dword [ebp - 4]
call fcn.004ba024
mov eax, dword [ebp - 0xc]
call fcn.00409c94
mov eax, dword [0x4c1f18]
mov eax, dword [eax]
xor edx, edx
call fcn.0044bd10
mov eax, dword [0x4c1bc0]
mov eax, dword [eax]
mov cx, word [0x4ba940]
mov edx, 0x4ba94c
call fcn.004b83b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 0x14]
call fcn.00403030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba864
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
call fcn.004b7210
mov ebx, eax
dec ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
fild dword [eax + 0x204]
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x20]
fdivp st(1)
call fcn.00402b34
mov edi, eax
mov esi, ebx
test esi, esi
jl 0x4ba739
inc esi
xor ebx, ebx
mov eax, edi
imul ebx
mov edx, dword [ebp - 4]
mov dword [edx + 0x384], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004b7218
lea edx, [ebp - 0x24]
call fcn.004b6fdc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.00409e18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov edx, ebx
call fcn.004b7768
test ebx, ebx
jne 0x4ba3f6
mov eax, dword [0x4c1aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.004646f8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004045bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4c1aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
call fcn.004753c0
mov eax, dword [0x4c1aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov edx, 0x4ba95c
call fcn.004653bc
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
add eax, 0x368
call fcn.00403e6c
mov eax, dword [0x4c1aa0]
mov eax, dword [eax]
mov eax, dword [eax + 0x54]
mov edx, 0x4ba970
call fcn.004653bc
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
add eax, 0x36c
call fcn.00403e6c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0042f584
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00409504
mov eax, dword [ebp - 0x3c]
push eax
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.00409504
mov edx, dword [ebp - 0x44]
pop eax
call fcn.004041a8
jne 0x4ba38b
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.0042f584
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409504
mov eax, dword [ebp - 0x48]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
call fcn.00409504
mov edx, dword [ebp - 0x50]
pop eax
call fcn.004041a8
je 0x4ba3f6
mov eax, dword [0x4c1f18]
mov eax, dword [eax]
xor edx, edx
call fcn.0044bd10
mov eax, dword [0x4c1bc0]
mov eax, dword [eax]
mov cx, word [0x4ba940]
mov edx, 0x4ba984
call fcn.004b83b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 0x14]
call fcn.00403030
mov eax, dword [ebp - 4]
call fcn.004ba024
mov eax, dword [ebp - 4]
call fcn.004baa28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba864
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004b7218
cmp word [eax + 0xc], 0
jne 0x4ba60f
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.00409e50
mov eax, dword [ebp - 0x54]
mov edx, 0x4ba994
call fcn.004041a8
jne 0x4ba49a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, dword [ebp - 0x10]
call fcn.004041a8
je 0x4ba731
mov edx, dword [ebp - 8]
mov eax, 0x4ba9a4
call fcn.00404384
test eax, eax
jle 0x4ba467
mov ecx, 0x4ba9a4
mov dl, 7
mov eax, dword [ebp - 4]
call fcn.004bc36c
jmp 0x4ba476
mov ecx, 0x4ba9b0
mov dl, 7
mov eax, dword [ebp - 4]
call fcn.004bc36c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x58]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.004bcae4
jmp 0x4ba731
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 8]
call fcn.00409e50
mov eax, dword [ebp - 0x5c]
mov edx, 0x4ba9bc
call fcn.004041a8
jne 0x4ba512
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, dword [ebp - 0x10]
call fcn.004041a8
je 0x4ba731
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bcb98
mov edx, dword [ebp - 4]
mov byte [edx + 0x35a], al
mov ecx, 0x4ba9b0
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004bc36c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.004bcae4
jmp 0x4ba731
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.00409e50
mov eax, dword [ebp - 0x64]
mov edx, 0x4ba9cc
call fcn.004041a8
jne 0x4ba576
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x380]
mov edx, dword [ebp - 0x10]
call fcn.004041a8
je 0x4ba731
mov ecx, 0x4ba9b0
mov dl, 9
mov eax, dword [ebp - 4]
call fcn.004bc36c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.004bcae4
jmp 0x4ba731
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.00409e50
mov eax, dword [ebp - 0x6c]
mov edx, 0x4ba9dc
call fcn.004041a8
jne 0x4ba731
mov eax, dword [ebp - 4]
add eax, 0x380
push eax
mov ecx, 0xe
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004042a0
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x380]
mov eax, dword [ebp - 4]
call fcn.004bcc38
test al, al
je 0x4ba5f9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x370]
lea eax, [ebp - 0x70]
mov ecx, dword [ebp - 8]
call fcn.004040e4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.004bcf08
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x380]
mov eax, dword [ebp - 4]
call fcn.004bdc44
jmp 0x4ba731
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x380]
call fcn.00403eb0
jmp 0x4ba731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004b7218
cmp word [eax + 0xc], 1
jne 0x4ba6ec
mov eax, dword [ebp - 4]
add eax, 0x380
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004b7218
lea edx, [ebp - 0x74]
call fcn.004b6fdc
mov eax, dword [ebp - 0x74]
mov ecx, 0xe
mov edx, 1
call fcn.004042a0
mov eax, dword [ebp - 4]
push dword [eax + 0x364]
push 0x4ba9ec
mov eax, dword [ebp - 4]
push dword [eax + 0x380]
lea eax, [ebp - 0x78]
mov edx, 3
call fcn.00404158
mov eax, dword [ebp - 0x78]
call fcn.0049e4d8
test al, al
jne 0x4ba6bf
mov eax, dword [ebp - 4]
push dword [eax + 0x364]
push 0x4ba9ec
mov eax, dword [ebp - 4]
push dword [eax + 0x380]
lea eax, [ebp - 0x7c]
mov edx, 3
call fcn.00404158
mov eax, dword [ebp - 0x7c]
call fcn.00409f0c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bd330
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x384]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov dl, byte [eax + 0x208]
mov eax, dword [ebp - 4]
call fcn.004bc2e0
jmp 0x4ba731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov eax, dword [eax + 0x30]
mov edx, ebx
call fcn.004b7218
cmp word [eax + 0xc], 2
jne 0x4ba731
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bab4c
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x384]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
mov dl, byte [eax + 0x208]
mov eax, dword [ebp - 4]
call fcn.004bc2e0
inc ebx
dec esi
jne 0x4ba219
mov eax, dword [ebp - 4]
call fcn.004ba024
mov eax, dword [ebp - 4]
call fcn.004baa28
push 1
push 0
mov eax, dword [ebp - 4]
push dword [eax + 0x374]
push 0x4baa04
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.0042f584
push dword [ebp - 0x84]
push 0x4baa04
mov eax, dword [0x4c1f2c]
push dword [eax]
lea eax, [ebp - 0x80]
mov edx, 5
call fcn.00404158
mov eax, dword [ebp - 0x80]
call fcn.0040425c
push eax
lea edx, [ebp - 0x8c]
xor eax, eax
call fcn.00402abc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00409d50
lea eax, [ebp - 0x88]
mov edx, 0x4baa10
call fcn.004040a0
mov eax, dword [ebp - 0x88]
call fcn.0040425c
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0043565c
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [ebp - 4]
call fcn.0044a228
mov eax, dword [ebp - 0x14]
call fcn.00403030
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x350]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34c]
xor edx, edx
call fcn.0042f49c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x80]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba856
mov eax, dword [0x4c1f18]
mov eax, dword [eax]
xor edx, edx
call fcn.0044bd10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba900
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.00403e3c
lea eax, [ebp - 0x84]
call fcn.00403e18
lea eax, [ebp - 0x80]
mov edx, 0xd
call fcn.00403e3c
lea eax, [ebp - 0x4c]
call fcn.00403e18
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403e3c
lea eax, [ebp - 0x40]
call fcn.00403e18
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00403e3c
lea eax, [ebp - 0x2c]
call fcn.00404448
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403e3c
lea eax, [ebp - 0x1c]
call fcn.00403e18
lea eax, [ebp - 0x18]
call fcn.00403e18
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403e3c
ret