Function at 0x456590
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625830
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x690a1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3fc], ebx
cmp dword [ebx + 0x368], 0
je 0x456abf
call fcn.0042e930
mov eax, dword [eax + 4]
sub eax, 0x10
push eax
call fcn.00407150
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x404], edi
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4567b8
lea ecx, [ebp - 0x3ec]
call fcn.0043d8c0
mov byte [ebp - 4], 1
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456ae5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f8], eax
mov eax, 0x6331a8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3f8]
test eax, 0xffff0000
jne 0x456653
movzx eax, ax
push eax
call fcn.00407850
jmp 0x45665f
push 0
push 0x6331a8
call fcn.0040b220
mov byte [ebp - 4], 3
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456aef
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f4], eax
mov eax, 0x6346f4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3f4]
test eax, 0xffff0000
jne 0x4566a1
movzx eax, ax
push eax
call fcn.00407850
jmp 0x4566ad
push 7
push 0x6346f4
call fcn.0040b220
mov byte [ebp - 4], 5
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456af9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f0], eax
mov eax, 0x63a9f8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3f0]
test eax, 0xffff0000
jne 0x4566ef
movzx eax, ax
push eax
call fcn.00407850
jmp 0x4566fb
push 4
push 0x63a9f8
call fcn.0040b220
lea eax, [ebp - 0x3f8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f0]
push eax
lea ecx, [ebp - 0x3ec]
call fcn.0043e1d0
mov edx, dword [ebp - 0x3f0]
or ebx, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456743
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3f4]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456764
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3f8]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
lea ecx, [ebp - 0x3ec]
call fcn.0043e210
mov ecx, dword [ebp - 0x3fc]
push 0
push dword [ecx + 4]
lea ecx, [ebp - 0x3ec]
call fcn.0043e250
lea ecx, [ebp - 0x3ec]
call fcn.0043da20
jmp 0x456aa3
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456b03
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x400], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov byte [ebp - 4], 8
jge 0x456803
push 0x104
lea ecx, [ebp - 0x400]
call fcn.00407e30
mov esi, dword [ebp - 0x400]
push 0x104
push esi
push edi
call fcn.0046bf80
push dword [esi - 8]
push esi
call fcn.005e74c3
add esp, 0x14
test eax, eax
js 0x456adb
cmp eax, dword [esi - 8]
jg 0x456adb
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [ebx + 0x35c]
test eax, eax
je 0x456b0d
push eax
push esi
call fcn.005f64cb
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x456a07
lea ecx, [ebp - 0x3ec]
call fcn.0043d8c0
mov byte [ebp - 4], 9
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456b17
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f0], eax
mov eax, 0x6331a8
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3f0]
test eax, 0xffff0000
jne 0x4568a5
movzx eax, ax
push eax
call fcn.00407850
jmp 0x4568b1
push 0
push 0x6331a8
call fcn.0040b220
mov byte [ebp - 4], 0xb
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456b21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f4], eax
mov eax, 0x634704
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3f4]
test eax, 0xffff0000
jne 0x4568f3
movzx eax, ax
push eax
call fcn.00407850
jmp 0x4568ff
push 0xa
push 0x634704
call fcn.0040b220
mov byte [ebp - 4], 0xd
call fcn.00407410
mov ecx, eax
test ecx, ecx
je 0x456b2b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3f8], eax
mov eax, 0x63a9f8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x3f8]
test eax, 0xffff0000
jne 0x456941
movzx eax, ax
push eax
call fcn.00407850
jmp 0x45694d
push 4
push 0x63a9f8
call fcn.0040b220
lea eax, [ebp - 0x3f0]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x3f4]
push eax
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3ec]
call fcn.0043e1d0
mov edx, dword [ebp - 0x3f8]
mov eax, ebx
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x456992
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3f4]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4569b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4569d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 3
lea ecx, [ebp - 0x3ec]
call fcn.0043e210
mov ecx, dword [ebp - 0x3fc]
push 0
push dword [ecx + 4]
lea ecx, [ebp - 0x3ec]
call fcn.0043e250
lea ecx, [ebp - 0x3ec]
call fcn.0043da20
jmp 0x456a88
xorps xmm0, xmm0
mov dword [ebp - 0x428], 0
lea eax, [ebp - 0x440]
movlpd qword [ebp - 0x438], xmm0
push eax
movlpd qword [ebp - 0x420], xmm0
movlpd qword [ebp - 0x418], xmm0
movlpd qword [ebp - 0x410], xmm0
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x440], 0x3c
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x43c], 0x440
mov dword [ebp - 0x42c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x3fc]
push 1
push 0
call fcn.00489870
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x456aa3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x456abf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa103
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
push 0x80004005
call fcn.00407120
int3