Function at 0x4a21f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x440
mov eax, dword [0x546560]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
mov ecx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], eax
call fcn.0049f140
test eax, eax
jne 0x4a2276
mov edx, dword [esi + 4]
push eax
push 0x553d98
push str.No_File
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a2753
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a2753
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret 4
mov ebx, dword [esp + 0x454]
cmp ebx, 0xd
jne 0x4a25ab
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x4a22a3
push eax
mov dword [esp + 0x14], ecx
call ebp
jmp 0x4a22b6
mov eax, dword [0x546560]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00405920
lea ecx, [esp + 0x10]
call fcn.004055c0
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call fcn.005320d3
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add esp, 4
test eax, eax
je 0x4a22ee
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.005320d3
add esp, 4
test eax, eax
jne 0x4a22d9
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
lea edx, [edi + edi + 2]
push edx
push esi
push eax
call fcn.00531870
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [eax - 8], edi
call fcn.004055c0
mov edi, dword [esp + 0x10]
xor esi, esi
cmp word [edi], si
je 0x4a2364
mov ax, word [edi]
push eax
call fcn.005320d3
add esp, 4
test eax, eax
je 0x4a233f
test esi, esi
jne 0x4a2341
mov esi, edi
jmp 0x4a2341
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x4a2327
test esi, esi
je 0x4a2360
mov word [esi], 0
mov eax, dword [esp + 0x10]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
mov edi, dword [esp + 0x10]
mov eax, dword [edi - 0xc]
push ecx
test eax, eax
mov ecx, esp
jl 0x4a237c
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push ecx
call ebp
jmp 0x4a238e
mov edx, dword [0x546560]
mov dword [ecx], edx
mov eax, dword [esp + 0x14]
push eax
call fcn.00405920
lea ecx, [esp + 0x34]
push ecx
call fcn.00403660
mov edx, dword [0x546560]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, 0x54cce0
add esp, 8
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4a23ea
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a23ea
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4a23ea
mov ecx, dword [esp + 0x1c]
inc esi
push esi
push 0x54cce0
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x546560]
mov eax, 0x54ccdc
test eax, eax
mov dword [esp + 0x28], edx
je 0x4a2433
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a2433
push esi
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
je 0x4a2433
mov ecx, dword [esp + 0x28]
inc esi
push esi
push 0x54ccdc
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x546560]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x48]
call fcn.004059f0
lea edx, [esp + 0x38]
lea ecx, [esp + 0x24]
push edx
call fcn.00405440
lea ecx, [esp + 0x38]
call fcn.00405700
mov eax, dword [0x546560]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x28]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x50]
push edx
call fcn.004059f0
lea eax, [esp + 0x44]
lea ecx, [esp + 0x20]
push eax
call fcn.00405440
lea ecx, [esp + 0x44]
call fcn.00405700
mov ecx, dword [0x546560]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x24]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x48]
push eax
call fcn.004059f0
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00405440
lea ecx, [esp + 0x3c]
call fcn.00405700
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
push 0
push 0x553d98
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a2531
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a2531
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a255c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a255c
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a2587
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a2587
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x1c]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x10]
jmp 0x4a2745
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0
call fcn.00413620
mov ecx, dword [0x546560]
mov edi, eax
mov eax, dword [esp + 0x18]
mov esi, dword [eax - 8]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
lea edx, [esi + esi]
push edx
call fcn.00413620
push 0x54ccd8
lea ecx, [esp + 0x18]
call fcn.00433000
push str._CertUtil__hashfile
lea ecx, [esp + 0x4c]
call fcn.00405730
push str._SHA256
lea ecx, [esp + 0x44]
call fcn.00405730
cmp ebx, 2
jne 0x4a2629
push str._powershell_Get_FileHash
lea ecx, [esp + 0x4c]
call fcn.00433000
push 0x54cb8c
lea ecx, [esp + 0x44]
call fcn.00433000
push esi
lea eax, [esp + 0x54]
push edi
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.004a2180
add esp, 0x10
test eax, eax
je 0x4a26d0
lea edx, [esp + 0x48]
lea ecx, [esp + 0x14]
push edx
call fcn.00413220
lea eax, [esp + 0x50]
push 0x54cc90
push eax
lea ecx, [esp + 0x28]
call fcn.00412740
push eax
lea ecx, [esp + 0x2c]
push 0x54cc90
push ecx
call fcn.00413060
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00412f10
push eax
lea ecx, [esp + 0x18]
call fcn.00413220
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x24]
call fcn.00405700
lea ecx, [esp + 0x20]
call fcn.00405700
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
call fcn.00413220
push esi
lea ecx, [esp + 0x54]
push edi
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.004a2180
add esp, 0x10
test eax, eax
jne 0x4a2645
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x18]
mov esi, dword [eax - 8]
call fcn.00413620
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov word [eax + esi*2 - 2], 0
call fcn.00405bb0
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0x1d0]
call fcn.00510700
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push 1
push eax
mov eax, dword [esi + 4]
push edx
push 0x54cc88
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x40]
call fcn.00405700
lea ecx, [esp + 0x48]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x440
ret 4