Function at 0x4a3140
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x440
mov eax, dword [0x547570]
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.004a0090
test eax, eax
jne 0x4a31c6
mov edx, dword [esi + 4]
push eax
push 0x554e08
push str.No_File
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a36a3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a36a3
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x4a34fb
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 0x4a31f3
push eax
mov dword [esp + 0x14], ecx
call ebp
jmp 0x4a3206
mov eax, dword [0x547570]
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.00532bc3
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add esp, 4
test eax, eax
je 0x4a323e
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
jne 0x4a3229
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.00532360
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 0x4a32b4
mov ax, word [edi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
je 0x4a328f
test esi, esi
jne 0x4a3291
mov esi, edi
jmp 0x4a3291
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x4a3277
test esi, esi
je 0x4a32b0
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 0x4a32cc
mov dword [ecx], edi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
push ecx
call ebp
jmp 0x4a32de
mov edx, dword [0x547570]
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 [0x547570]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, 0x54dd50
add esp, 8
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4a333a
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a333a
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4a333a
mov ecx, dword [esp + 0x1c]
inc esi
push esi
push 0x54dd50
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x547570]
mov eax, 0x54dd4c
test eax, eax
mov dword [esp + 0x28], edx
je 0x4a3383
push eax
call edi
mov esi, eax
test esi, esi
je 0x4a3383
push esi
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
je 0x4a3383
mov ecx, dword [esp + 0x28]
inc esi
push esi
push 0x54dd4c
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
call fcn.00405bb0
mov edx, dword [0x547570]
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 [0x547570]
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 [0x547570]
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 0x554e08
mov ecx, dword [eax + 4]
push edx
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4a3481
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a3481
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a34ac
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a34ac
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a34d7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4a34d7
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00532222
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 0x4a3695
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0
call fcn.00413470
mov ecx, dword [0x547570]
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.00413470
push 0x54dd48
lea ecx, [esp + 0x18]
call fcn.00433110
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 0x4a3579
push str._powershell_Get_FileHash
lea ecx, [esp + 0x4c]
call fcn.00433110
push 0x54dbfc
lea ecx, [esp + 0x44]
call fcn.00433110
push esi
lea eax, [esp + 0x54]
push edi
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.004a30d0
add esp, 0x10
test eax, eax
je 0x4a3620
lea edx, [esp + 0x48]
lea ecx, [esp + 0x14]
push edx
call fcn.00413070
lea eax, [esp + 0x50]
push 0x54dd00
push eax
lea ecx, [esp + 0x28]
call fcn.00412590
push eax
lea ecx, [esp + 0x2c]
push 0x54dd00
push ecx
call fcn.00412eb0
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00412d60
push eax
lea ecx, [esp + 0x18]
call fcn.00413070
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.00413070
push esi
lea ecx, [esp + 0x54]
push edi
lea edx, [esp + 0x54]
push ecx
push edx
call fcn.004a30d0
add esp, 0x10
test eax, eax
jne 0x4a3595
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x18]
mov esi, dword [eax - 8]
call fcn.00413470
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.00511000
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
push 1
push eax
mov eax, dword [esi + 4]
push edx
push 0x54dcf8
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