Function at 0x5317d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13b2
push 0
push 0
dec ecx
jne 0x5317d8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x531d64
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x754]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x531829
mov edx, 0x531d7c
mov eax, dword [0x8cd214]
call fcn.0052fa8c
mov byte [ebp - 9], 1
jmp 0x531d31
mov byte [ebp - 9], 0
mov edx, 0x531db4
mov eax, dword [0x8cd214]
call fcn.0052fa8c
mov ecx, 0x531dd4
mov dl, 1
mov eax, dword [0x443078]
call fcn.00443128
mov dword [ebp - 0x10], eax
mov eax, dword [0x6690a8]
mov eax, dword [eax]
push eax
mov ecx, 0x531df0
mov edx, 0x531e00
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [0x669154]
mov eax, dword [eax]
push eax
mov ecx, 0x531e14
mov edx, 0x531e00
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
call fcn.00403c94
push 0xffff
mov ecx, 0x531e24
mov dl, 1
mov eax, dword [0x41aa18]
call fcn.00420ab8
mov dword [ebp - 0x18], eax
push 0x531e40
push 0xa
mov ecx, dword [0x66b668]
mov dl, 1
mov eax, dword [0x41ac0c]
call fcn.004212dc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.00420794
mov eax, dword [ebp - 0x14]
call fcn.00403c94
mov eax, dword [ebp - 0x18]
call fcn.00403c94
push 0
mov edx, dword [0x66a0f4]
mov edx, dword [edx]
lea eax, [ebp - 0x9d5c]
mov ecx, 0x531e50
call fcn.00404e00
mov eax, dword [ebp - 0x9d5c]
call fcn.00404fb4
push eax
push 0
mov edx, dword [0x66a0f4]
mov edx, dword [edx]
lea eax, [ebp - 0x9d60]
mov ecx, 0x531e60
call fcn.00404e00
mov eax, dword [ebp - 0x9d60]
call fcn.00404fb4
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00479ec0
push eax
call sub.shell32.dll_ShellExecuteA
push 0x64
call sub.KERNEL32.DLL_Sleep_1
mov eax, 0x531e78
call fcn.0062a798
test al, al
jne 0x531948
mov edx, dword [0x66a0f4]
mov edx, dword [edx]
lea eax, [ebp - 0x9d64]
mov ecx, 0x531e60
call fcn.00404e00
mov eax, dword [ebp - 0x9d64]
call fcn.0040ad10
mov ecx, 0x531dd4
mov dl, 1
mov eax, dword [0x443078]
call fcn.00443128
mov dword [ebp - 0x10], eax
push 5
mov ecx, 0x531e8c
mov edx, 0x531e00
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 8]
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x531e98
mov edx, 0x531e00
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx]
mov eax, dword [ebp - 0x10]
call fcn.00403c94
mov edx, dword [0x66a0f4]
mov edx, dword [edx]
lea eax, [ebp - 0x9d68]
mov ecx, 0x531ea4
call fcn.00404e00
mov eax, dword [ebp - 0x9d68]
call fcn.0040ad10
cmp dword [ebp - 0x1c], 5
je 0x531d31
cmp dword [ebp - 0x1c], 3
je 0x531d31
cmp dword [ebp - 0x28], 0
je 0x531d31
cmp dword [ebp - 0x1c], 0
je 0x531a22
mov byte [ebp - 9], 1
mov edx, 0x531ebc
mov eax, dword [0x8cd214]
call fcn.0052fa8c
jmp 0x531d31
mov eax, dword [0x669154]
mov eax, dword [eax]
mov edx, 0x531ef0
call fcn.00404f00
jne 0x531c0c
mov ecx, dword [0x669278]
mov ecx, dword [ecx]
lea eax, [ebp - 0x2c]
mov edx, 0x531f1c
call fcn.00404e00
mov eax, dword [0x66966c]
mov eax, dword [eax]
call fcn.00404db4
shr eax, 1
sub eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 0xd0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x9d43]
xor ecx, ecx
mov edx, dword [ebp - 0x24]
call fcn.00403224
mov byte [ebp - 0x9d43], 1
lea edx, [ebp - 0x9d41]
mov eax, dword [ebp - 0x2c]
call fcn.0049b78c
lea ecx, [ebp - 0x9ca1]
lea eax, [ebp - 0x9d41]
mov edx, 0x12
call fcn.0049d79c
lea edx, [ebp - 0x9d41]
mov eax, dword [ebp - 8]
call fcn.0049b78c
lea eax, [ebp - 0x9d6c]
push eax
mov eax, dword [0x669230]
mov eax, dword [eax]
mov ecx, 0xe
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 0x9d6c]
lea edx, [ebp - 0x9c8d]
call fcn.0049b78c
lea eax, [ebp - 0x9d70]
push eax
mov eax, dword [0x66966c]
mov eax, dword [eax]
mov ecx, 0x10
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 0x9d70]
lea edx, [ebp - 0x9c85]
call fcn.0049b78c
lea eax, [ebp - 0x9d74]
push eax
mov eax, dword [0x66966c]
mov eax, dword [eax]
mov ecx, 0x10
mov edx, 0x11
call fcn.00405014
mov eax, dword [ebp - 0x9d74]
lea edx, [ebp - 0x9c7d]
call fcn.0049b78c
lea eax, [ebp - 0x9d78]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, ecx
mov eax, dword [0x66966c]
mov eax, dword [eax]
mov edx, 0x21
call fcn.00405014
mov eax, dword [ebp - 0x9d78]
lea edx, [ebp - 0x9c73]
call fcn.0049b78c
lea eax, [ebp - 0x9c75]
mov dx, word [ebp - 0x20]
mov word [eax], dx
lea eax, [ebp - 0x9c75]
call fcn.0049b504
lea ecx, [ebp - 0x9d7c]
lea eax, [ebp - 0x9d43]
mov edx, dword [ebp - 0x24]
call fcn.0049b85c
mov edx, dword [ebp - 0x9d7c]
mov eax, dword [ebp - 4]
call fcn.0052fa8c
lea ecx, [ebp - 0x9d57]
lea eax, [ebp - 0x9d43]
mov edx, dword [ebp - 0x24]
call fcn.0049d79c
lea ecx, [ebp - 0x9d80]
lea eax, [ebp - 0x9d57]
mov edx, 0x14
call fcn.0049b85c
mov edx, dword [ebp - 0x9d80]
mov eax, dword [ebp - 4]
call fcn.0052fa8c
lea eax, [ebp - 0x9d84]
push eax
mov ecx, 0x28
mov edx, 0x1f
mov eax, dword [ebp - 0x28]
call fcn.00405014
mov edx, dword [ebp - 0x9d84]
mov eax, dword [ebp - 4]
call fcn.0052fa8c
jmp 0x531cba
lea eax, [ebp - 0x102]
xor ecx, ecx
mov edx, 0xd6
call fcn.00403224
mov byte [ebp - 0x102], 1
lea edx, [ebp - 0x5c]
mov eax, dword [0x669278]
mov eax, dword [eax]
call fcn.0049b78c
lea edx, [ebp - 0xfc]
mov eax, dword [ebp - 8]
call fcn.0049b78c
lea eax, [ebp - 0x9d88]
push eax
mov eax, dword [0x669230]
mov eax, dword [eax]
mov ecx, 0xe
mov edx, 1
call fcn.00405014
mov eax, dword [ebp - 0x9d88]
lea edx, [ebp - 0x48]
call fcn.0049b78c
lea edx, [ebp - 0x9d43]
mov eax, dword [0x66966c]
mov eax, dword [eax]
call fcn.0049b78c
mov byte [ebp - 0x9d30], 0
mov eax, dword [0x66966c]
mov eax, dword [eax]
call fcn.00404db4
mov edx, eax
shr edx, 1
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x9d43]
call fcn.0049d79c
lea ecx, [ebp - 0x9d57]
lea eax, [ebp - 0x102]
mov edx, 0xd6
call fcn.0049d79c
lea ecx, [ebp - 0x9d8c]
lea eax, [ebp - 0x9d57]
mov edx, 0x14
call fcn.0049b85c
mov eax, dword [ebp - 0x9d8c]
push eax
lea eax, [ebp - 0x9d90]
push eax
mov ecx, 0x28
mov edx, 0x1f
mov eax, dword [ebp - 0x28]
call fcn.00405014
mov edx, dword [ebp - 0x9d90]
pop eax
call fcn.00404f00
je 0x531d1e
mov edx, 0x531f3c
mov eax, dword [0x8cd214]
call fcn.0052fa8c
mov edx, 0x531f58
mov eax, dword [0x8cd214]
call fcn.0052fa8c
jmp 0x531d31
mov edx, 0x531fb4
mov eax, dword [0x8cd214]
call fcn.0052fa8c
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531d6b
lea eax, [ebp - 0x9d90]
mov edx, 0xe
call fcn.00404b08
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404b08
lea eax, [ebp - 8]
call fcn.00404ae4
ret