Function at 0x45a5d0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6d23
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4d0
mov eax, dword [0x4ff080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b8], edx
mov edi, ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4bc], 0
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x4b4], eax
mov eax, edi
mov byte [ebp - 0x491], 0
jbe 0x45a63d
mov eax, dword [edi]
push 0x104
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004b3615
add esp, 4
lea ecx, [ebp - 0x4ac]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fc40
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0xab
lea eax, [ebp - 0x498]
push eax
call fcn.0048bc00
mov esi, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x49c]
push 0xab
push eax
call fcn.0048bc00
mov ecx, eax
mov byte [ebp - 4], 1
mov eax, dword [esi]
push dword [eax - 0xc]
lea eax, [ebp - 0x220]
push dword [ecx]
push eax
call fcn.004b38e7
add esp, 0xc
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x49c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a6e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x498]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a704
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x4a0], 0
jne 0x45abe4
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45abc0
sub esp, 8
lea ecx, [ebp - 0x4ac]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fc40
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0xab
lea eax, [ebp - 0x49c]
push eax
call fcn.0048bc00
mov esi, eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x4a0]
push 0xab
push eax
call fcn.0048bc00
mov ecx, eax
mov byte [ebp - 4], 5
mov eax, dword [esi]
mov edx, dword [eax - 0xc]
mov eax, dword [ecx]
mov ecx, dword [edi + 0x10]
sub ecx, edx
mov esi, dword [eax - 0xc]
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
cmp eax, esi
jb 0x45b63e
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 7
jbe 0x45a7c7
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x238]
call fcn.00463250
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
mov dword [ebp - 0x4bc], 1
cmova eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b3320
mov eax, 1
add esp, 0xc
mov dword [ebp - 0x4bc], eax
and eax, 0xfffffffe
mov dword [ebp - 0x4bc], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x238]
call fcn.00460bf0
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x4a0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a851
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov edx, dword [ebp - 0x49c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a875
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x250
lea eax, [ebp - 0x488]
mov byte [ebp - 0x489], 0
push 0
push eax
call fcn.004abe70
add esp, 4
lea ecx, [ebp - 0x4ac]
call fcn.0045ff90
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 9
cmp eax, 0xffffffff
je 0x45a8e2
cmp dword [ebp - 0x468], 0
jbe 0x45a8db
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45a8e2
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45a8f5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45abc0
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x498]
call fcn.00460f10
test al, al
jne 0x45a969
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a947
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.00461270
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x498]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x49c], edx
test edx, edx
js 0x45b643
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45a9b0
push edx
lea ecx, [ebp - 0x498]
call fcn.004613a0
mov esi, dword [ebp - 0x498]
mov edx, dword [ebp - 0x49c]
lea eax, [edx + 1]
push eax
push esi
call fcn.004b387e
mov eax, dword [ebp - 0x49c]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x45b643
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x490], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov byte [ebp - 4], 0xf
lea edx, [esi - 0x10]
mov ecx, dword [ebp - 0x4b0]
add ecx, 0xfffffff0
mov dword [ebp - 0x49c], ecx
cmp edx, ecx
je 0x45aa9f
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x4a0], eax
jl 0x45aa90
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x45aa90
push edx
call fcn.00461190
mov ecx, dword [ebp - 0x4a0]
add esp, 4
mov dword [ebp - 0x490], eax
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45aa7f
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x490]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
jmp 0x45aa9f
push dword [esi - 0xc]
lea ecx, [ebp - 0x4b0]
push esi
call fcn.00461270
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x490], ecx
cmp ecx, dword [ebp - 0x4a4]
je 0x45ab1d
mov edx, dword [ebp - 0x4b4]
lea edi, [ecx + 4]
mov dword [ebp - 0x4a0], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x49c], edi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
add edi, 8
mov dword [ebp - 0x490], edi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0xf
add dword [ebp - 0x4a8], 0xc
or edi, 0xffffffff
jmp 0x45ab30
mov eax, dword [ebp - 0x4b4]
push eax
push ecx
lea ecx, [ebp - 0x4ac]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4b0]
mov ecx, esp
mov dword [ebp - 0x490], esp
push eax
call fcn.004588e0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f160
add esp, 0x10
mov byte [ebp - 0x491], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4ac]
call fcn.00460b30
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x4b0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45aba4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45abc0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x491]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a9b96
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0xac
lea eax, [ebp - 0x4a0]
push eax
call fcn.0048bc00
mov esi, eax
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0x490]
push 0xac
push eax
call fcn.0048bc00
mov ecx, eax
mov byte [ebp - 4], 0x1a
mov eax, dword [esi]
push dword [eax - 0xc]
lea eax, [ebp - 0x220]
push dword [ecx]
push eax
call fcn.004b38e7
add esp, 0xc
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 0x19
or esi, 0xffffffff
mov edx, dword [ebp - 0x490]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ac55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x4a0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ac79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x49c], 0
lea eax, [ebp - 0x220]
jne 0x45afbc
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45abc0
sub esp, 8
lea ecx, [ebp - 0x4ac]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fc40
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0x4e8858
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b3320
add esp, 0xc
cmp dword [edi + 0x14], 7
jbe 0x45ace1
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b3320
add esp, 0xc
mov byte [ebp - 0x489], 0
lea eax, [ebp - 0x488]
push 0x250
push 0
push eax
call fcn.004abe70
add esp, 4
lea ecx, [ebp - 0x4ac]
call fcn.0045ff90
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0x1d
cmp eax, 0xffffffff
je 0x45ad63
cmp dword [ebp - 0x468], 0
jbe 0x45ad5c
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45ad63
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45ad76
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45abc0
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x498]
call fcn.00460f10
test al, al
jne 0x45adf2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45add0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.00461270
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x490], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x498]
mov edi, dword [ebp - 0x4b0]
add edi, 0xfffffff0
lea ecx, [esi - 0x10]
cmp ecx, edi
je 0x45aeb2
cmp dword [edi + 0xc], 0
jl 0x45aea3
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45aea3
push ecx
call fcn.00461190
mov dword [ebp - 0x490], eax
lea ecx, [edi + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ae92
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x490]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
jmp 0x45aeb2
push dword [esi - 0xc]
lea ecx, [ebp - 0x4b0]
push esi
call fcn.00461270
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x490], ecx
cmp ecx, dword [ebp - 0x4a4]
je 0x45af2d
mov edx, dword [ebp - 0x4b4]
lea edi, [ecx + 4]
mov dword [ebp - 0x4a0], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x49c], edi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x25
mov edi, dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
add edi, 8
mov dword [ebp - 0x490], edi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x23
add dword [ebp - 0x4a8], 0xc
jmp 0x45af40
mov eax, dword [ebp - 0x4b4]
push eax
push ecx
lea ecx, [ebp - 0x4ac]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4b0]
mov ecx, esp
mov dword [ebp - 0x490], esp
push eax
call fcn.004588e0
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f160
add esp, 0x10
mov byte [ebp - 0x491], 1
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4ac]
call fcn.00460b30
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0x1f
or edi, 0xffffffff
mov edx, dword [ebp - 0x4b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45afb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45aba4
mov esi, dword [sym.imp.SHELL32.dll_PathResolve]
push 0x13
push 0
push eax
call esi
test eax, eax
je 0x45b2ac
push 0x104
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45abc0
push 0x250
lea eax, [ebp - 0x488]
mov byte [ebp - 0x489], 0
push 0
push eax
call fcn.004abe70
add esp, 4
lea ecx, [ebp - 0x4ac]
call fcn.0045ff90
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0x2d
cmp eax, 0xffffffff
je 0x45b059
cmp dword [ebp - 0x468], 0
jbe 0x45b052
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45b059
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45b06c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45abc0
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 0x2e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x498]
call fcn.00460f10
test al, al
jne 0x45b0e2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b0c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.00461270
mov dword [ebp - 4], 0x2f
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x490], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov byte [ebp - 4], 0x33
mov esi, dword [ebp - 0x498]
mov edi, dword [ebp - 0x4b0]
add edi, 0xfffffff0
lea ecx, [esi - 0x10]
cmp ecx, edi
je 0x45b1a2
cmp dword [edi + 0xc], 0
jl 0x45b193
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45b193
push ecx
call fcn.00461190
mov dword [ebp - 0x490], eax
lea ecx, [edi + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b182
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x490]
add eax, 0x10
mov dword [ebp - 0x4b0], eax
jmp 0x45b1a2
push dword [esi - 0xc]
lea ecx, [ebp - 0x4b0]
push esi
call fcn.00461270
mov ecx, dword [ebp - 0x4a8]
mov dword [ebp - 0x490], ecx
cmp ecx, dword [ebp - 0x4a4]
je 0x45b21d
mov edx, dword [ebp - 0x4b4]
lea edi, [ecx + 4]
mov dword [ebp - 0x4a0], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x49c], edi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x35
mov edi, dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
add edi, 8
mov dword [ebp - 0x490], edi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x33
add dword [ebp - 0x4a8], 0xc
jmp 0x45b230
mov eax, dword [ebp - 0x4b4]
push eax
push ecx
lea ecx, [ebp - 0x4ac]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4b0]
mov ecx, esp
mov dword [ebp - 0x490], esp
push eax
call fcn.004588e0
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x33
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f160
add esp, 0x10
mov byte [ebp - 0x491], 1
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x4ac]
call fcn.00460b30
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x4b0]
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 4], 0x2f
or edi, 0xffffffff
mov edx, dword [ebp - 0x4b0]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b2a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45aba4
cmp dword [edi + 0x14], 7
jbe 0x45b2b4
mov edi, dword [edi]
lea eax, [ebp - 0x4c0]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x4a0], ecx
test ecx, ecx
je 0x45abc0
xor eax, eax
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x4c0], eax
jle 0x45abc0
nop word [eax + eax]
push 0x104
push dword [ecx + eax*4]
lea eax, [ebp - 0x220]
push eax
call fcn.004b3615
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x13
push 0
push eax
call esi
test eax, eax
je 0x45b61a
push 0x104
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45b61a
push 0x250
lea eax, [ebp - 0x488]
mov byte [ebp - 0x489], 0
push 0
push eax
call fcn.004abe70
add esp, 4
lea ecx, [ebp - 0x4ac]
call fcn.0045ff90
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 4], 0x3d
cmp eax, 0xffffffff
je 0x45b3a4
cmp dword [ebp - 0x468], 0
jbe 0x45b39d
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45b3a4
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45b3b7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45b61a
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x498], eax
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x498]
call fcn.00460f10
test al, al
jne 0x45b432
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b410
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.00461270
mov dword [ebp - 4], 0x3f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4c8], eax
call fcn.00456f30
mov ecx, eax
test ecx, ecx
je 0x45b64d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 0x41
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 0x43
mov esi, dword [ebp - 0x498]
mov edi, dword [ebp - 0x230]
add edi, 0xfffffff0
lea ecx, [esi - 0x10]
cmp ecx, edi
je 0x45b4f2
cmp dword [edi + 0xc], 0
jl 0x45b4e3
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45b4e3
push ecx
call fcn.00461190
mov dword [ebp - 0x490], eax
lea ecx, [edi + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b4d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x490]
add eax, 0x10
mov dword [ebp - 0x230], eax
jmp 0x45b4f2
push dword [esi - 0xc]
lea ecx, [ebp - 0x230]
push esi
call fcn.00461270
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x490], ecx
cmp ecx, dword [ebp - 0x224]
je 0x45b56d
mov edx, dword [ebp - 0x4b4]
lea edi, [ecx + 4]
mov dword [ebp - 0x4cc], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x4d0], edi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x45
mov edi, dword [ebp - 0x490]
mov eax, dword [ebp - 0x4b4]
add edi, 8
mov dword [ebp - 0x4d4], edi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461190
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x43
add dword [ebp - 0x228], 0xc
jmp 0x45b57f
push dword [ebp - 0x4b4]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x230]
mov ecx, esp
mov dword [ebp - 0x4d8], esp
push eax
call fcn.004588e0
mov byte [ebp - 4], 0x48
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f160
add esp, 0x10
mov byte [ebp - 0x491], 1
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x22c]
call fcn.00460b30
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 0x3f
or edi, 0xffffffff
mov edx, dword [ebp - 0x230]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b5f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45b614
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [sym.imp.SHELL32.dll_PathResolve]
mov eax, dword [ebp - 0x49c]
inc eax
mov dword [ebp - 0x49c], eax
cmp eax, dword [ebp - 0x4c0]
jge 0x45abc0
mov ecx, dword [ebp - 0x4a0]
jmp 0x45b2f0
call fcn.00461390
push 0x80070057
call fcn.00456c80
push 0x80004005
call fcn.00456c80
int3