Function at 0x413cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42687e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41414c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push esi
mov dword [ebp - 4], ebx
call fcn.004133e0
test al, al
jne 0x413d40
test esi, esi
jne 0x413d22
xor ecx, ecx
jmp 0x413d36
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413d27
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.00406400
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.004143d0
mov edi, eax
mov esi, dword [edi]
movzx ecx, word [esi]
push ecx
call fcn.0041a91a
add esp, 4
test eax, eax
je 0x413d77
movzx eax, word [esi + 2]
add esi, 2
push eax
call fcn.0041a91a
add esp, 4
test eax, eax
jne 0x413d63
mov edx, dword [edi]
cmp esi, edx
je 0x413e4d
mov eax, dword [edx - 0xc]
sub esi, edx
sar esi, 1
mov dword [ebp - 0x20], eax
test eax, eax
js 0x414160
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, dword [edx - 0xc]
or eax, ecx
jge 0x413db1
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00405ea0
mov edx, dword [edi]
lea eax, [edx + esi*2]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 0xc]
sub eax, esi
mov dword [ebp - 0x18], eax
lea esi, [eax + eax]
lea ecx, [esi + 2]
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x413e21
mov esi, dword [ebp - 0x20]
test esi, esi
jne 0x413deb
call fcn.004182e7
mov dword [eax], 0x16
call fcn.0041820e
lea eax, [esi + 0x16]
mov esi, dword [ebp - 0x14]
jmp 0x413e23
mov eax, dword [edx - 0xc]
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x413e13
call fcn.004182e7
mov dword [eax], 0x22
call fcn.0041820e
mov esi, dword [ebp - 0x14]
mov eax, 0x22
jmp 0x413e23
push ecx
push esi
push edx
call fcn.004159b0
mov esi, dword [ebp - 0x14]
add esp, 0xc
xor eax, eax
push eax
call fcn.00403c70
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
js 0x414160
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x414160
mov dword [ecx - 0xc], eax
xor ecx, ecx
mov eax, dword [edi]
mov word [esi + eax], cx
mov byte [ebp - 4], 2
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x414156
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
push 4
push dword [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_UrlIsW]
or esi, 0xffffffff
test eax, eax
jne 0x414053
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathGetArgsW]
mov edx, eax
test edx, edx
jne 0x413e98
xor ecx, ecx
jmp 0x413eaf
mov ecx, edx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ea0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00406400
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x413fe8
mov edx, dword [ebp - 0x10]
mov ebx, 0
add edx, 0xfffffff0
mov eax, dword [edx + 4]
sub eax, dword [edi - 0xc]
sets bl
dec ebx
and ebx, eax
cmp ebx, dword [edx + 4]
jl 0x413ef6
push edx
call fcn.0040cd70
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
jmp 0x413fab
mov ecx, dword [edx]
test ecx, ecx
je 0x413f12
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
je 0x413f12
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
jmp 0x413f31
call fcn.00404d30
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x41416f
test eax, eax
jne 0x413f3d
test ebx, ebx
jne 0x414160
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x41416a
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
test ebx, ebx
js 0x414160
cmp ebx, dword [esi - 8]
jg 0x414160
mov dword [esi - 0xc], ebx
xor eax, eax
add ebx, ebx
mov word [ebx + esi], ax
test ebx, ebx
je 0x413fab
test esi, esi
je 0x413f9b
mov eax, dword [ebp - 0x14]
push ebx
test eax, eax
je 0x413f8a
push eax
push esi
call fcn.004159b0
add esp, 0xc
jmp 0x413fab
push 0
push esi
call fcn.004163d0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x413fab
call fcn.004182e7
mov dword [eax], 0x16
call fcn.0041820e
mov ebx, 4
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x20]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c300
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x413fe0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.004143d0
mov eax, dword [ebp - 0x10]
mov edx, dword [eax - 0xc]
test edx, edx
js 0x414160
cmp word [eax], 0x22
jne 0x414053
lea ecx, [edx - 1]
test ecx, ecx
js 0x414160
cmp ecx, edx
jg 0x414160
cmp word [eax + ecx*2], 0x22
jne 0x414053
lea eax, [edx - 2]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e960
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0040c300
mov edx, dword [ebp - 0x20]
mov eax, esi
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414053
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi - 0xc], 0
lea eax, [edi - 0x10]
mov dword [ebp - 0x24], eax
jne 0x414096
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41416f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00406400
mov esi, dword [ebp - 0x14]
or ebx, 1
mov edi, dword [ebp - 0x24]
mov eax, esi
jmp 0x4140aa
push eax
call fcn.0040cd70
mov esi, dword [ebp - 0x14]
add eax, 0x10
add esp, 4
mov edi, eax
or ebx, 2
push 1
push 0
push eax
push dword [ebp - 0x10]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x20], eax
test bl, 2
je 0x4140e3
lea edx, [edi - 0x10]
and ebx, 0xfffffffd
or edi, 0xffffffff
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4140e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4140e6
or edi, 0xffffffff
test bl, 1
je 0x414102
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414102
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x20], 0x20
mov eax, edi
mov edx, dword [ebp - 0x24]
setg bl
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414120
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x414138
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402060
push 0x80004005
call fcn.00402060
push 0x80070057
call fcn.00402060
call fcn.004024b0
push 0x80004005
call fcn.00402060
int3