Function at 0x402920
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438c44
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x44e06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x48], 0
push eax
push 0x104
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00406b60
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x40], cx
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
call fcn.00406ce0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
mov esi, dword [ebp - 0x2c]
cmp esi, 8
mov ecx, dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0xe0], eax
lea edx, [eax + ecx*2]
mov ecx, eax
call fcn.00402570
cmp eax, edx
je 0x402a18
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4029ef
cmp ecx, 0x2f
jne 0x4029f8
add eax, 2
cmp eax, edx
jne 0x4029e2
jmp 0x402a18
cmp eax, edx
je 0x402a18
nop dword [eax]
movzx ecx, word [edx - 2]
cmp ecx, 0x5c
je 0x402a15
cmp ecx, 0x2f
je 0x402a15
add edx, 0xfffffffe
cmp eax, edx
jne 0x402a00
mov esi, dword [ebp - 0x2c]
sub edx, dword [ebp - 0xe0]
sar edx, 1
cmp dword [ebp - 0x30], edx
jb 0x402fcb
cmp esi, 8
mov dword [ebp - 0x30], edx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov byte [ebp - 4], 1
mov word [eax + edx*2], cx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x402a4b
mov edi, dword [edi]
mov dword [ebp - 0xec], ecx
xor ecx, ecx
push eax
mov word [ebp - 0xfc], cx
lea ecx, [ebp - 0xfc]
push edi
mov dword [ebp - 0xe8], 7
call fcn.00406ce0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x120]
call fcn.00404ac0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x120]
call fcn.00402690
push eax
lea ecx, [ebp - 0x88]
call fcn.00404ac0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10c]
cmp edx, 8
jb 0x402aea
mov ecx, dword [ebp - 0x120]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ae0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fd0
push edx
push ecx
call fcn.00419205
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xe8]
cmp edx, 8
jb 0x402b2e
mov ecx, dword [ebp - 0xfc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402b24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fd5
push edx
push ecx
call fcn.00419205
add esp, 8
xor eax, eax
mov dword [ebp - 0xec], 0
push 1
push 0x448718
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xe8], 7
mov word [ebp - 0xfc], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00406ce0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xfc]
call fcn.00404ac0
mov byte [ebp - 4], 8
lea edx, [ebp - 0xfc]
cmp dword [ebp - 0xe8], 8
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xec]
sub eax, esi
mov dword [ebp - 0xe0], esi
cmp ecx, eax
ja 0x402bde
cmp dword [ebp - 0x14], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
push eax
mov eax, dword [ebp - 0xe0]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.0041a4d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x402bf6
push ecx
push edx
mov byte [ebp - 0xe0], 0
push dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004088d0
mov ecx, dword [ebp - 0xfc]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe8]
cmp eax, 8
jb 0x402c3a
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fda
push edx
push ecx
call fcn.00419205
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x402c5d
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x22
jmp 0x402c75
push 0x22
mov byte [ebp - 0xe0], 0
push dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408770
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], esi
cmp esi, eax
je 0x402d4c
nop
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x402cb3
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x20
jmp 0x402ccb
push 0x20
mov byte [ebp - 0x100], 0
push dword [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00408770
cmp dword [esi + 0x14], 8
mov edx, esi
mov ecx, dword [esi + 0x10]
jb 0x402cd8
mov edx, dword [esi]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, edi
mov dword [ebp - 0x104], edi
cmp ecx, eax
ja 0x402d1f
add edi, ecx
lea eax, [ecx + ecx]
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
push eax
cmovae esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x104]
push edx
mov dword [ebp - 0x18], edi
lea eax, [esi + eax*2]
push eax
call fcn.0041a4d0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0xe0]
jmp 0x402d37
push ecx
push edx
mov byte [ebp - 0x108], 0
push dword [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004088d0
add esi, 0x18
mov dword [ebp - 0xe0], esi
cmp esi, dword [ebp - 0xe4]
jne 0x402c90
push 0x14
xor eax, eax
mov dword [ebp - 0x60], 0
push 0x44871c
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00406ce0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea esi, [ebp - 0x98]
mov dword [ebp - 0xb4], 0
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x40]
lea esi, [ebp - 0xdc]
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
push esi
cmovae edx, dword [ebp - 0x28]
cmp dword [ebp - 0x74], 8
push ecx
push 0
push 0x400
push 0
push 0
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push 0
push edx
push eax
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xdc], 0x44
mov dword [ebp - 0xb0], 0x3000
movups xmmword [ebp - 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x98]
mov edx, dword [ebp - 0x5c]
movups xmmword [esi], xmm0
cmp edx, 8
jb 0x402e74
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402e6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fdf
push edx
push ecx
call fcn.00419205
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x402ec2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402eb8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fe4
push edx
push ecx
call fcn.00419205
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x402f13
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fe9
push edx
push ecx
call fcn.00419205
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x402f64
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f5a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402fee
push edx
push ecx
call fcn.00419205
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x402fae
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402fa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ff3
push edx
push ecx
call fcn.00419205
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418f5a
mov esp, ebp
pop ebp
ret
call fcn.00407570
call fcn.00424893
call fcn.00424893
call fcn.00424893
call fcn.00424893
call fcn.00424893
call fcn.00424893
call fcn.00424893
call fcn.00424893
int3