Function at 0x434680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5764c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0044184e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4346c2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 1
call fcn.0044184e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4346f2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
mov ebx, dword [ebp + 0x14]
test ebx, ebx
jne 0x434728
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ecx
push ebx
push ebx
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x20
jbe 0x434737
cmp ebx, 1
jne 0x4349e2
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x43475b
push 0x104
lea ecx, [ebp - 0x14]
call fcn.00401e20
mov edi, dword [ebp - 0x14]
push edi
push str..htm
push SysReAllocString
call fcn.00433d20
add esp, 0xc
test eax, eax
jne 0x4349e2
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00543dc3
add esp, 8
test eax, eax
js 0x4347d2
cmp eax, dword [edi - 8]
jg 0x4347d2
xor ecx, ecx
mov dword [edi - 0xc], eax
push 0x13
mov word [edi + eax*2], cx
push str._shellopencommand
lea ecx, [ebp - 0x14]
call fcn.00409220
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4347c8
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401e20
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov edx, dword [edi - 0xc]
test edx, edx
jns 0x4347dc
push 0x80070057
call fcn.00401090
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4347f9
push edx
lea ecx, [ebp - 0x14]
call fcn.00401e20
mov edi, dword [ebp - 0x14]
push esi
push edi
push SysReAllocString
call fcn.00433d20
add esp, 0xc
test eax, eax
jne 0x4349e2
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00543dc3
add esp, 8
test eax, eax
js 0x4347d2
cmp eax, dword [edi - 8]
jg 0x4347d2
mov dword [edi - 0xc], eax
xor edx, edx
mov word [edi + eax*2], dx
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00543dc3
add esp, 8
test eax, eax
js 0x4347d2
cmp eax, dword [esi - 8]
jg 0x4347d2
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ecx
jl 0x4348ad
push 0x5898ec
push esi
call fcn.00543063
add esp, 8
test eax, eax
je 0x4348ad
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4348ad
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405f30
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.00403760
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4348f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4348f4
cmp dword [esi - 0xc], 0
jl 0x4348f4
push 0x5898e4
push esi
call fcn.00543063
add esp, 8
test eax, eax
je 0x4348f4
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4348f4
push eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00405f30
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.00403760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004023c0
push 1
push 0x5894a4
lea ecx, [ebp - 0x10]
call fcn.00409220
push 1
push 0x5894a0
lea ecx, [ebp - 0x10]
call fcn.00409220
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43491d
xor eax, eax
jmp 0x434931
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434922
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x10]
call fcn.00409220
push 1
push 0x5894a0
lea ecx, [ebp - 0x10]
call fcn.00409220
push 0x44
lea edx, [ebp - 0x6c]
push 0
push edx
call fcn.00543b50
mov esi, dword [ebp - 0x10]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x6c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4349dc
mov byte [ebp - 4], 1
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4349a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4349c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x434a02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434a25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret