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

Disassembly:
push 0xffffffffffffffff
push 0x5b2bd6
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x254], eax
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov si, cx
mov ebp, dword [esp + 0x27c]
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416bfe
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x274], 0
cmp si, 4
jne 0x416c31
push 0xc
push str.BAT_NET3.bat
lea ecx, [esp + 0x20]
call fcn.00401960
jmp 0x416c49
mov ecx, 0x88
cmp si, cx
jne 0x416c49
push str.BAT_NET4.bat
lea ecx, [esp + 0x1c]
call fcn.00401680
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x66]
push eax
mov word [esp + 0x68], dx
call fcn.00587fb0
add esp, 0xc
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416c7d
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x5c]
push ecx
push 0x103
mov byte [esp + 0x27c], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x5c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416cb0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x60]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401960
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x416d1e
lea ecx, [eax - 1]
test ecx, ecx
jl 0x416e89
cmp ecx, eax
jg 0x416e89
movzx ecx, word [edx + ecx*2]
cmp cx, 0x5c
je 0x416d1e
lea ecx, [eax - 1]
test ecx, ecx
jl 0x416e89
cmp ecx, eax
jg 0x416e89
movzx eax, word [edx + ecx*2]
cmp ax, 0x2f
je 0x416d1e
push 0x5c
lea ecx, [esp + 0x18]
call fcn.00408400
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407850
movzx eax, si
push 0x603fcc
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, dword [esp + 0x14]
test eax, eax
je 0x416d53
push eax
push edi
call fcn.00423c60
add esp, 8
push 0x38
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00587fb0
add esp, 0xc
cmp dword [ebp + 0x648], 0
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], 0x602cbc
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], 5
je 0x416dae
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.ck_W
call fcn.004016c0
mov edx, dword [ebp + 0x648]
push edx
call fcn.0041d100
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x416e02
mov eax, dword [esp + 0x58]
mov esi, eax
test eax, eax
je 0x416e02
push 0x249f0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp + 0x648]
test esi, esi
je 0x416e02
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416e02
mov edx, dword [esi + 4]
push 0
push 1
push 0x10
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 0x684]
push ebp
call fcn.00413340
lea eax, [edi - 0x10]
mov byte [esp + 0x274], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x274], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.005832f8
add esp, 0x268
ret 4
push 0x80070057
call fcn.00401b20
int3