Function at 0x457cd0
Capabilities:
Accept command line arguments
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5695e2
mov eax, dword fs:[0]
push eax
mov eax, 0x1838
call fcn.00473010
mov eax, dword [0x5c324c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x1840]
call fcn.0050d320
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1800], 0
mov ecx, edx
mov dword [ebp - 0x17fc], 7
xor eax, eax
mov word [ebp - 0x1810], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457d40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1810]
call fcn.0041cc50
lea eax, [ebp - 0x1810]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1840]
call fcn.0050d9a0
mov edx, dword [ebp - 0x17fc]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x457db6
mov ecx, dword [ebp - 0x1810]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457dac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458154
push edx
push ecx
call fcn.00472cbf
add esp, 8
lea eax, [ebp - 0x17f8]
xor bh, bh
push eax
call fcn.00456690
push 0xfd0
lea eax, [ebp - 0x17e0]
push 0
push eax
call fcn.0051ce00
add esp, 0x10
lea eax, [ebp - 0x17f8]
cmp dword [ebp - 0x17e4], 8
cmovae eax, dword [ebp - 0x17f8]
push eax
push 0x7e8
lea eax, [ebp - 0x17e0]
push eax
push 0x5778f8
push dword [0x5c3200]
push dword [0x5c31fc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea esi, [ebp - 0x17e0]
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x457e20
mov edx, dword [ebp - 0x17e4]
sub esi, ecx
sar esi, 1
cmp edx, 8
jb 0x457e6f
mov ecx, dword [ebp - 0x17f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457e65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458159
push edx
push ecx
call fcn.00472cbf
add esp, 8
test esi, esi
jne 0x45812c
lea eax, [ebp - 0x17f8]
push eax
call fcn.00455c10
add esp, 4
lea eax, [ebp - 0x17f8]
cmp dword [ebp - 0x17e4], 8
cmovae eax, dword [ebp - 0x17f8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x17e4]
cmp eax, 1
sete bl
cmp edx, 8
jb 0x457ee7
mov ecx, dword [ebp - 0x17f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457edd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45815e
push edx
push ecx
call fcn.00472cbf
add esp, 8
test bl, bl
je 0x45812c
lea eax, [ebp - 0x17f8]
push eax
call fcn.00455c10
add esp, 4
cmp dword [ebp - 0x17e4], 8
lea eax, [ebp - 0x17f8]
lea ecx, [ebp - 0x1844]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x17f8]
push eax
call fcn.00406970
lea eax, [ebp - 0x1844]
mov byte [ebp - 4], 3
push eax
call fcn.00466640
mov edx, dword [ebp - 0x1844]
add esp, 4
mov byte [ebp - 4], 2
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457f57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x17e4]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x457f9b
mov ecx, dword [ebp - 0x17f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457f91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458163
push edx
push ecx
call fcn.00472cbf
add esp, 8
push 7
xor eax, eax
mov dword [ebp - 0x17e8], 0
push 0x57bf48
lea ecx, [ebp - 0x17f8]
mov dword [ebp - 0x17e4], 7
mov word [ebp - 0x17f8], ax
call fcn.0041cc50
lea eax, [ebp - 0x17f8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x1840]
call fcn.0050d900
mov edx, dword [ebp - 0x17e4]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x458026
mov ecx, dword [ebp - 0x17f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45801c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458168
push edx
push ecx
call fcn.00472cbf
add esp, 8
test esi, esi
jne 0x45812c
call fcn.00463c10
test al, al
jne 0x45812c
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.0051ce00
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x1800], esi
mov ecx, edx
mov dword [ebp - 0x17fc], 7
xor eax, eax
mov word [ebp - 0x1810], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1810]
call fcn.0041cc50
push 9
push str.___admin
lea ecx, [ebp - 0x1810]
mov byte [ebp - 4], 5
call fcn.00430980
cmp dword [ebp - 0x17fc], 8
lea eax, [ebp - 0x1810]
push 5
cmovae eax, dword [ebp - 0x1810]
push 0
push eax
lea eax, [ebp - 0x810]
push eax
push str.runas
push 0
call fcn.004530a0
mov edx, dword [ebp - 0x17fc]
mov bh, 1
cmp edx, 8
jb 0x45812c
mov ecx, dword [ebp - 0x1810]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458122
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45816d
push edx
push ecx
call fcn.00472cbf
add esp, 8
lea ecx, [ebp - 0x1840]
call fcn.0050d380
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472b5d
mov esp, ebp
pop ebp
ret
call fcn.005213e9
call fcn.005213e9
call fcn.005213e9
call fcn.005213e9
call fcn.005213e9
call fcn.005213e9
int3