Function at 0x46e63e
Capabilities:
Terminate process

Disassembly:
push dword [0x40507c]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_lstrcpyW]
call fcn.0046e63e
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 0x46e928
mov dword [ebp - 0x1c], eax
mov edx, eax
cmp edx, esi
je 0x46e696
cmp word [edx], 0xd
je 0x46e696
sub edx, 2
cmp word [edx], 0x21
je 0x46e68d
cmp word [edx], 0x6d
jne 0x46e679
cmp word [edx - 2], 0x65
jne 0x46e679
cmp word [edx - 4], 0x72
je 0x46e68d
cmp word [edx], 0x4d
jne 0x46e694
cmp word [edx - 2], 0x45
jne 0x46e694
cmp word [edx - 4], 0x52
jne 0x46e694
call fcn.0046c5cc
jmp 0x46e618
jmp 0x46e652
mov edx, eax
xor ecx, ecx
cmp edx, esi
je 0x46e6b8
cmp word [edx], 0xd
je 0x46e6b8
cmp word [edx], 0x22
je 0x46e6b0
cmp word [edx], 0x27
jne 0x46e6b3
xor ecx, 1
sub edx, 2
jmp 0x46e69a
add eax, 0x10
mov esi, eax
test ecx, ecx
jne 0x46e618
call fcn.00472df1
mov eax, esi
cmp word [eax], 0x22
je 0x46e6dc
cmp word [eax], 0x27
jne 0x46e85f
mov dx, word [eax]
add eax, 2
cmp word [eax], 0
je 0x46e6ff
cmp word [eax], 0xd
je 0x46e6ff
cmp word [eax], 0x22
je 0x46e6ff
cmp word [eax], 0x27
je 0x46e6ff
add eax, 2
jmp 0x46e6e2
cmp word [eax], dx
jne 0x46e85f
add eax, 2
mov dword [ebp - 0x18], eax
sub eax, esi
test eax, eax
je 0x46e85f
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 0x46e738
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 0x46e85f
push edi
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
push eax
push eax
push 0x403f7c
nop
call 0x46e776
or eax, 0x25000a00
add byte [ebx], dh
and eax, 0x23007300
add byte [ebx], ah
add byte [0xa00], cl
add bh, bh
jne 0x46e76d
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
push 0x403f70
call 0x46e7a6
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 0x46e7a1
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.004730e0
cmp eax, 0xffffffff
jne 0x46e89d
mov ebx, dword [0x405088]
push 0x4650fc
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
call 0x46e7f2
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.004730e0
cmp eax, 0xffffffff
jne 0x46e89d
mov ebx, dword [0x405088]
push 0
push ebx
push 0x104
push dword [0x405040]
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
push ebx
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecW]
nop
call 0x46e840
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.004730e0
cmp eax, 0xffffffff
jne 0x46e89d
push 0x40401e
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0
je 0x46e893
push edi
nop
call 0x46e88a
and eax, 0xd007300
add byte [edx], cl
add byte [eax], al
add bh, bh
adc eax, sym.imp.msvcrt.dll_wprintf
add esp, 8
mov eax, 0xffffffff
jmp 0x473921
mov ebx, eax
call 0x46e8a8
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.0046bf6e
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.0046bfdb
push edi
call fcn.0046bfdb
mov dword [ebp + 8], eax
mov esi, eax
jmp 0x46e618
push dword [ebp - 0x14]
call fcn.0046bfdb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4