Function at 0x45a540
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 0x4c7933
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c8
mov eax, dword [0x502054]
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], 8
mov dword [ebp - 0x4b0], eax
mov eax, edi
mov byte [ebp - 0x48a], 0
jb 0x45a5ad
mov eax, dword [edi]
push 0x104
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004b34c5
add esp, 4
lea ecx, [ebp - 0x4a8]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fbe0
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0xab
lea eax, [ebp - 0x490]
push eax
call fcn.0048bb10
mov esi, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x498]
push 0xab
push eax
call fcn.0048bb10
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.004b3797
add esp, 0xc
test eax, eax
sete byte [ebp - 0x489]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x498]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a653
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 - 0x490]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x489], 0
je 0x45ab39
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45af37
sub esp, 8
lea ecx, [ebp - 0x4a8]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fbe0
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0xab
lea eax, [ebp - 0x490]
push eax
call fcn.0048bb10
mov esi, eax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x498]
push 0xab
push eax
call fcn.0048bb10
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 0x45b5e5
sub eax, esi
cmp eax, ecx
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x45a73a
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x238]
call fcn.004631a0
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
mov dword [ebp - 0x4bc], 1
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b31d0
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.00460b90
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov edx, dword [ebp - 0x498]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a7c4
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 - 0x490]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45a7e8
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.004abb60
add esp, 4
lea ecx, [ebp - 0x4a8]
call fcn.0045ff30
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x494], eax
mov dword [ebp - 4], 9
cmp eax, 0xffffffff
je 0x45a855
cmp dword [ebp - 0x468], 0
jbe 0x45a84e
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45a855
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45a868
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45af37
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x490]
call fcn.00460eb0
test al, al
jne 0x45a8e2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a8c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.00461210
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x490]
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x498], edx
test edx, edx
js 0x45b5ea
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45a929
push edx
lea ecx, [ebp - 0x490]
call fcn.00461340
mov esi, dword [ebp - 0x490]
mov edx, dword [ebp - 0x498]
lea eax, [edx + 1]
push eax
push esi
call fcn.004b372e
mov eax, dword [ebp - 0x498]
add esp, 8
cmp eax, dword [esi - 8]
jg 0x45b5ea
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x494], eax
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov byte [ebp - 4], 0xf
lea ecx, [esi - 0x10]
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
mov dword [ebp - 0x494], ecx
mov dword [ebp - 0x49c], edx
cmp ecx, edx
je 0x45aa14
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x498], eax
jl 0x45aa05
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45aa05
push ecx
call fcn.00461130
mov ecx, dword [ebp - 0x498]
mov esi, eax
add esp, 4
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45a9fa
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x10]
mov dword [ebp - 0x4ac], eax
jmp 0x45aa14
push dword [esi - 0xc]
lea ecx, [ebp - 0x4ac]
push esi
call fcn.00461210
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x49c], ecx
cmp ecx, dword [ebp - 0x4a0]
je 0x45aa8f
mov edx, dword [ebp - 0x4b0]
lea esi, [ecx + 4]
mov dword [ebp - 0x498], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x4b4], esi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x4b0]
add esi, 8
mov dword [ebp - 0x49c], esi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xf
add dword [ebp - 0x4a4], 0xc
jmp 0x45aaa2
mov eax, dword [ebp - 0x4b0]
push eax
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4ac]
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push eax
call fcn.004588a0
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f100
add esp, 0x10
mov byte [ebp - 0x48a], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x4a8]
call fcn.00460ad0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x49c], eax
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ab16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x494]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45af37
mov ecx, dword [edx]
push edx
jmp 0x45af32
push 0xac
lea eax, [ebp - 0x49c]
push eax
call fcn.0048bb10
mov esi, eax
mov dword [ebp - 4], 0x19
lea eax, [ebp - 0x494]
push 0xac
push eax
call fcn.0048bb10
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.004b3797
add esp, 0xc
test eax, eax
sete byte [ebp - 0x489]
mov byte [ebp - 4], 0x19
or esi, 0xffffffff
mov edx, dword [ebp - 0x494]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abad
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 - 0x49c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45abd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x489], 0
lea eax, [ebp - 0x220]
je 0x45af5b
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x45af37
sub esp, 8
lea ecx, [ebp - 0x4a8]
xor eax, eax
mov word [ebp - 0x1a], ax
call fcn.0045fbe0
lea ecx, [ebp - 0x220]
push ecx
mov eax, dword [eax + 8]
call eax
push 0x4ec208
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b31d0
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x45ac39
mov edi, dword [edi]
push edi
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.004b31d0
add esp, 0xc
mov byte [ebp - 0x489], 0
lea eax, [ebp - 0x488]
push 0x250
push 0
push eax
call fcn.004abb60
add esp, 4
lea ecx, [ebp - 0x4a8]
call fcn.0045ff30
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 4], 0x1d
cmp eax, 0xffffffff
je 0x45acbb
cmp dword [ebp - 0x468], 0
jbe 0x45acb4
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45acbb
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45acce
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45af37
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x490]
call fcn.00460eb0
test al, al
jne 0x45ad42
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ad20
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.00461210
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4b4], eax
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x490]
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
mov dword [ebp - 0x49c], edx
lea edi, [eax - 0x10]
cmp edi, edx
je 0x45ae19
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x494], ecx
jl 0x45ae0a
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x45ae0a
push edi
call fcn.00461130
mov ecx, dword [ebp - 0x494]
add esp, 4
mov dword [ebp - 0x498], eax
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45adf9
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x498]
add eax, 0x10
mov dword [ebp - 0x4ac], eax
jmp 0x45ae19
push dword [eax - 0xc]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.00461210
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x494], ecx
cmp ecx, dword [ebp - 0x4a0]
je 0x45ae97
mov edx, dword [ebp - 0x4b0]
lea esi, [ecx + 4]
mov dword [ebp - 0x4b4], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x49c], esi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x494]
mov eax, dword [ebp - 0x4b0]
add esi, 8
mov dword [ebp - 0x494], esi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x23
add dword [ebp - 0x4a4], 0xc
or esi, 0xffffffff
jmp 0x45aeaa
mov eax, dword [ebp - 0x4b0]
push eax
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4ac]
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push eax
call fcn.004588a0
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f100
add esp, 0x10
mov byte [ebp - 0x48a], 1
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4a8]
call fcn.00460ad0
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 0x1f
mov eax, esi
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45af1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x45af37
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x48a]
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.004a9913
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x13
push 0
push eax
call dword [sym.imp.SHELL32.dll_PathResolve]
test eax, eax
je 0x45b25a
push 0x104
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45af37
push 0x250
lea eax, [ebp - 0x488]
mov byte [ebp - 0x489], 0
push 0
push eax
call fcn.004abb60
add esp, 4
lea ecx, [ebp - 0x4a8]
call fcn.0045ff30
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 4], 0x2d
cmp eax, 0xffffffff
je 0x45aff2
cmp dword [ebp - 0x468], 0
jbe 0x45afeb
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45aff2
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45b005
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45af37
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0x2e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x490]
call fcn.00460eb0
test al, al
jne 0x45b079
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b057
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.00461210
mov dword [ebp - 4], 0x2f
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x4b4], eax
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov byte [ebp - 4], 0x33
mov eax, dword [ebp - 0x490]
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
mov dword [ebp - 0x49c], edx
lea edi, [eax - 0x10]
cmp edi, edx
je 0x45b150
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x494], ecx
jl 0x45b141
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x45b141
push edi
call fcn.00461130
mov ecx, dword [ebp - 0x494]
add esp, 4
mov dword [ebp - 0x498], eax
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b130
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x498]
add eax, 0x10
mov dword [ebp - 0x4ac], eax
jmp 0x45b150
push dword [eax - 0xc]
lea ecx, [ebp - 0x4ac]
push eax
call fcn.00461210
mov ecx, dword [ebp - 0x4a4]
mov dword [ebp - 0x494], ecx
cmp ecx, dword [ebp - 0x4a0]
je 0x45b1ce
mov edx, dword [ebp - 0x4b0]
lea esi, [ecx + 4]
mov dword [ebp - 0x4b4], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x49c], esi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x35
mov esi, dword [ebp - 0x494]
mov eax, dword [ebp - 0x4b0]
add esi, 8
mov dword [ebp - 0x494], esi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x33
add dword [ebp - 0x4a4], 0xc
or esi, 0xffffffff
jmp 0x45b1e1
mov eax, dword [ebp - 0x4b0]
push eax
push ecx
lea ecx, [ebp - 0x4a8]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x4ac]
mov ecx, esp
mov dword [ebp - 0x4b4], esp
push eax
call fcn.004588a0
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x33
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f100
add esp, 0x10
mov byte [ebp - 0x48a], 1
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x4a8]
call fcn.00460ad0
mov byte [ebp - 4], 0x2f
lea eax, [ebp - 0x4ac]
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 0x2f
mov eax, esi
mov edx, dword [ebp - 0x4ac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b255
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45af1e
cmp dword [edi + 0x14], 8
jb 0x45b262
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 - 0x49c], ecx
test ecx, ecx
je 0x45af37
xor eax, eax
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x4c0], eax
jle 0x45af37
nop dword [eax]
nop dword [eax + eax]
push 0x104
push dword [ecx + eax*4]
lea eax, [ebp - 0x220]
push eax
call fcn.004b34c5
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x13
push 0
push eax
call dword [sym.imp.SHELL32.dll_PathResolve]
test eax, eax
je 0x45b5c1
push 0x104
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x45b5c1
push 0x250
lea eax, [ebp - 0x488]
mov byte [ebp - 0x489], 0
push 0
push eax
call fcn.004abb60
add esp, 4
lea ecx, [ebp - 0x4a8]
call fcn.0045ff30
lea ecx, [ebp - 0x488]
push ecx
lea ecx, [ebp - 0x220]
mov eax, dword [eax + 8]
push ecx
call eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 4], 0x3d
cmp eax, 0xffffffff
je 0x45b358
cmp dword [ebp - 0x468], 0
jbe 0x45b351
test byte [ebp - 0x488], 0x10
mov byte [ebp - 0x489], 1
je 0x45b358
mov byte [ebp - 0x489], 0
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x45b36b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp - 0x489], 0
je 0x45b5c1
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x490], eax
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x490]
call fcn.00460eb0
test al, al
jne 0x45b3e2
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b3c0
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x490]
call fcn.00461210
mov dword [ebp - 4], 0x3f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4c4], eax
call fcn.00456f20
mov ecx, eax
test ecx, ecx
je 0x45b5f4
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 eax, dword [ebp - 0x490]
mov esi, dword [ebp - 0x230]
add esi, 0xfffffff0
lea edi, [eax - 0x10]
cmp edi, esi
je 0x45b4a2
cmp dword [esi + 0xc], 0
jl 0x45b493
mov ecx, dword [edi]
cmp ecx, dword [esi]
jne 0x45b493
push edi
call fcn.00461130
mov dword [ebp - 0x494], eax
lea ecx, [esi + 0xc]
add esp, 4
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45b482
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x494]
add eax, 0x10
mov dword [ebp - 0x230], eax
jmp 0x45b4a2
push dword [eax - 0xc]
lea ecx, [ebp - 0x230]
push eax
call fcn.00461210
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x494], ecx
cmp ecx, dword [ebp - 0x224]
je 0x45b51d
mov edx, dword [ebp - 0x4b0]
lea esi, [ecx + 4]
mov dword [ebp - 0x4c8], ecx
mov eax, dword [edx]
mov dword [ecx], eax
mov dword [ebp - 0x4cc], esi
mov eax, dword [edx + 4]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x45
mov esi, dword [ebp - 0x494]
mov eax, dword [ebp - 0x4b0]
add esi, 8
mov dword [ebp - 0x4d0], esi
mov eax, dword [eax + 8]
sub eax, 0x10
push eax
call fcn.00461130
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0x43
add dword [ebp - 0x228], 0xc
jmp 0x45b52f
push dword [ebp - 0x4b0]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.004640b0
sub esp, 0x10
lea eax, [ebp - 0x230]
mov ecx, esp
mov dword [ebp - 0x4d4], esp
push eax
call fcn.004588a0
mov byte [ebp - 4], 0x48
mov byte [ebp - 4], 0x43
mov ecx, dword [ebp - 0x4b8]
call fcn.0045f100
add esp, 0x10
mov byte [ebp - 0x48a], 1
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x22c]
call fcn.00460ad0
mov byte [ebp - 4], 0x3f
lea eax, [ebp - 0x230]
mov dword [ebp - 0x4d8], eax
mov byte [ebp - 4], 0x3f
or esi, 0xffffffff
mov edx, dword [ebp - 0x230]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b5a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45b5c1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x498]
inc eax
mov dword [ebp - 0x498], eax
cmp eax, dword [ebp - 0x4c0]
jge 0x45af37
mov ecx, dword [ebp - 0x49c]
jmp 0x45b2a0
call fcn.00461330
push 0x80070057
call fcn.00456c70
push 0x80004005
call fcn.00456c70
int3