Function at 0x420780
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5342f3
mov eax, dword fs:[0]
push eax
sub esp, 0x518
mov eax, dword [0x577760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
lea esi, [ebp - 0x430]
mov dword [ebp - 0x4c8], ebx
mov dword [ebp - 0x4cc], edi
mov dword [ebp - 0x4c4], 0
call fcn.00460bf0
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x41c], 0x10
mov ecx, dword [ebp - 0x430]
jae 0x4207ee
lea ecx, [ebp - 0x430]
push 0x55c240
push ebx
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov ecx, edi
call fcn.0041fc70
test eax, eax
je 0x420857
mov ecx, dword [ebp - 0x430]
mov esi, 0x10
cmp dword [ebp - 0x41c], esi
jae 0x420825
lea ecx, [ebp - 0x430]
push 0x55c224
push ebx
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x41c], esi
jb 0x420e6f
mov eax, dword [ebp - 0x430]
push eax
jmp 0x420e67
push 0x3fe
lea edx, [ebp - 0x412]
xor ecx, ecx
push esi
push edx
mov word [ebp - 0x414], cx
call fcn.004c5420
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
lea eax, [ebp - 0x414]
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], esi
mov word [ebp - 0x44c], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4208b0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x414]
lea esi, [ebp - 0x44c]
call fcn.00422da0
mov byte [ebp - 4], 1
cmp dword [edi + 0x1a8], 0
jne 0x42093d
lea ebx, [edi + 0x1c]
push ebx
mov edi, 1
call fcn.00422610
push 0xffffffffffffffff
lea ecx, [eax + 1]
lea esi, [ebp - 0x468]
mov edx, ebx
call fcn.00422020
mov esi, dword [ebp - 0x4cc]
add esi, 0x198
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00422360
mov ebx, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x454], ebx
jb 0x420935
mov edx, dword [ebp - 0x468]
push edx
call fcn.004bf135
add esp, 4
mov edi, dword [ebp - 0x4cc]
jmp 0x420942
mov ebx, 8
cmp dword [edi + 0x1ac], ebx
lea edx, [edi + 0x198]
jb 0x420952
mov edx, dword [edx]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x420957
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [ebp - 0x44c]
call fcn.00422c70
push 0x200
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004c5420
lea eax, [edi + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], ebx
jb 0x420993
mov eax, dword [eax]
push eax
push 0x55c24c
lea edx, [ebp - 0x414]
call fcn.0041cd90
add esp, 8
xor ecx, ecx
lea eax, [ebp - 0x414]
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], cx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4209d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x414]
lea esi, [ebp - 0x4a0]
call fcn.00422da0
lea ecx, [ebp - 0x44c]
lea esi, [ebp - 0x468]
mov byte [ebp - 4], 3
call fcn.00460bf0
mov ebx, eax
lea ecx, [ebp - 0x4a0]
lea esi, [ebp - 0x4bc]
mov byte [ebp - 4], 4
call fcn.00460bf0
mov esi, 0x10
mov byte [ebp - 4], 5
cmp dword [ebx + 0x14], esi
jb 0x420a2d
mov ebx, dword [ebx]
cmp dword [eax + 0x14], esi
jb 0x420a34
mov eax, dword [eax]
push ebx
push eax
call fcn.00447be0
add esp, 8
test eax, eax
setle byte [ebp - 0x4bd]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4a8], esi
jb 0x420a62
mov edx, dword [ebp - 0x4bc]
push edx
call fcn.004bf135
add esp, 4
mov ebx, 0xf
mov byte [ebp - 4], 3
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 0x4bc], 0
cmp dword [ebp - 0x454], esi
jb 0x420a99
mov eax, dword [ebp - 0x468]
push eax
call fcn.004bf135
add esp, 4
mov esi, 8
mov byte [ebp - 4], 1
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x458], 0
mov byte [ebp - 0x468], 0
cmp dword [ebp - 0x48c], esi
jb 0x420ad0
mov ecx, dword [ebp - 0x4a0]
push ecx
call fcn.004bf135
add esp, 4
cmp byte [ebp - 0x4bd], 0
mov ecx, dword [ebp - 0x430]
je 0x420b3f
mov edi, 0x10
cmp dword [ebp - 0x41c], edi
jae 0x420af2
lea ecx, [ebp - 0x430]
mov edx, dword [ebp - 0x4c8]
push 0x55c228
push edx
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x438], esi
jb 0x420b26
mov eax, dword [ebp - 0x44c]
push eax
call fcn.004bf135
add esp, 4
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], 0
jmp 0x420e48
cmp dword [ebp - 0x41c], 0x10
jae 0x420b4e
lea ecx, [ebp - 0x430]
mov ebx, dword [ebp - 0x4c8]
push str.63_04
push ebx
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov ecx, edi
call fcn.0041fc70
test eax, eax
je 0x420bd6
mov ecx, dword [ebp - 0x430]
mov edi, 0x10
cmp dword [ebp - 0x41c], edi
jae 0x420b8b
lea ecx, [ebp - 0x430]
push 0x55c258
push ebx
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x438], esi
jb 0x420b26
mov eax, dword [ebp - 0x44c]
push eax
call fcn.004bf135
add esp, 4
mov dword [ebp - 0x438], 7
mov dword [ebp - 0x43c], 0
jmp 0x420e48
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x520]
push ebx
push eax
call fcn.004c5420
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x524], 0x44
mov dword [ebp - 0x4dc], ebx
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4d0], eax
lea ecx, [ebp - 0x44c]
cmp dword [edi + 0x18c], ebx
jbe 0x420c64
push 0x55c25c
push ecx
lea edx, [ebp - 0x4a0]
push edx
call fcn.00423640
add esp, 0xc
mov ecx, eax
lea edx, [ebp - 0x4bc]
mov byte [ebp - 4], 6
lea eax, [edi + 0x17c]
push edx
mov dword [ebp - 0x4c4], 1
call fcn.00423720
add esp, 4
mov dword [ebp - 4], 7
mov ebx, 3
jmp 0x420c9b
xor eax, eax
push ebx
mov word [ebp - 0x468], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 7
mov dword [ebp - 0x458], ebx
call fcn.00422420
lea eax, [ebp - 0x468]
mov dword [ebp - 4], esi
mov ebx, 4
xor edx, edx
mov edi, eax
lea esi, [ebp - 0x484]
mov dword [ebp - 0x4c4], ebx
mov dword [ebp - 0x470], 7
mov dword [ebp - 0x474], 0
mov word [ebp - 0x484], dx
call fcn.00422360
mov dword [ebp - 4], 0xa
test bl, 4
je 0x420ceb
and ebx, 0xfffffffb
lea esi, [ebp - 0x468]
mov dword [ebp - 0x4c4], ebx
call fcn.00421f20
mov byte [ebp - 4], 0xb
test bl, 2
je 0x420d08
and ebx, 0xfffffffd
lea esi, [ebp - 0x4bc]
mov dword [ebp - 0x4c4], ebx
call fcn.00421f20
mov byte [ebp - 4], 0xc
test bl, 1
je 0x420d1c
lea esi, [ebp - 0x4a0]
call fcn.00421f20
xor ebx, ebx
push ebx
call fcn.004bfb53
mov eax, dword [ebp - 0x484]
mov esi, 8
add esp, 4
cmp dword [ebp - 0x470], esi
jae 0x420d40
lea eax, [ebp - 0x484]
lea ecx, [ebp - 0x4dc]
push ecx
lea edx, [ebp - 0x524]
push edx
push ebx
push ebx
mov edi, 0x10
push edi
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x4dc]
push 0x493e0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x4cc]
call fcn.0041fc70
test eax, eax
je 0x420dbf
mov eax, dword [ebp - 0x44c]
cmp dword [ebp - 0x438], esi
jae 0x420d96
lea eax, [ebp - 0x44c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x430]
cmp dword [ebp - 0x41c], edi
jae 0x420db1
lea ecx, [ebp - 0x430]
mov edx, dword [ebp - 0x4c8]
push 0x55c260
push edx
jmp 0x420ddf
mov ecx, dword [ebp - 0x430]
cmp dword [ebp - 0x41c], edi
jae 0x420dd3
lea ecx, [ebp - 0x430]
mov eax, dword [ebp - 0x4c8]
push 0x55c264
push eax
mov edx, 0x55c244
call fcn.0041fd40
add esp, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x470], esi
jb 0x420e07
mov ecx, dword [ebp - 0x484]
push ecx
call fcn.004bf135
add esp, 4
xor edx, edx
mov esi, 7
mov byte [ebp - 4], dl
cmp dword [ebp - 0x438], 8
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x474], ebx
mov word [ebp - 0x484], dx
jb 0x420e3c
mov eax, dword [ebp - 0x44c]
push eax
call fcn.004bf135
add esp, 4
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 4], 0xffffffff
xor ecx, ecx
mov word [ebp - 0x44c], cx
cmp dword [ebp - 0x41c], edi
jb 0x420e6f
mov edx, dword [ebp - 0x430]
push edx
call fcn.004bf135
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004be8b8
mov esp, ebp
pop ebp
ret