Function at 0x46e4c2
Capabilities:
Terminate process

Disassembly:
push dword [0x404f64]
push dword [ebp - 0x14]
call dword [sym.imp.kernel32.dll_lstrcpyW]
call fcn.0046e4c2
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 0x46e7ac
mov dword [ebp - 0x1c], eax
mov edx, eax
cmp edx, esi
je 0x46e51a
cmp word [edx], 0xd
je 0x46e51a
sub edx, 2
cmp word [edx], 0x21
je 0x46e511
cmp word [edx], 0x6d
jne 0x46e4fd
cmp word [edx - 2], 0x65
jne 0x46e4fd
cmp word [edx - 4], 0x72
je 0x46e511
cmp word [edx], 0x4d
jne 0x46e518
cmp word [edx - 2], 0x45
jne 0x46e518
cmp word [edx - 4], 0x52
jne 0x46e518
call fcn.0046c5b3
jmp 0x46e49c
jmp 0x46e4d6
mov edx, eax
xor ecx, ecx
cmp edx, esi
je 0x46e53c
cmp word [edx], 0xd
je 0x46e53c
cmp word [edx], 0x22
je 0x46e534
cmp word [edx], 0x27
jne 0x46e537
xor ecx, 1
sub edx, 2
jmp 0x46e51e
add eax, 0x10
mov esi, eax
test ecx, ecx
jne 0x46e49c
call fcn.00472bfb
mov eax, esi
cmp word [eax], 0x22
je 0x46e560
cmp word [eax], 0x27
jne 0x46e6e3
mov dx, word [eax]
add eax, 2
cmp word [eax], 0
je 0x46e583
cmp word [eax], 0xd
je 0x46e583
cmp word [eax], 0x22
je 0x46e583
cmp word [eax], 0x27
je 0x46e583
add eax, 2
jmp 0x46e566
cmp word [eax], dx
jne 0x46e6e3
add eax, 2
mov dword [ebp - 0x18], eax
sub eax, esi
test eax, eax
je 0x46e6e3
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 0x46e5bc
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 0x46e6e3
push edi
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
push eax
push eax
push 0x403f30
nop
call 0x46e5fa
or eax, 0x25000a00
add byte [ebx], dh
and eax, 0x23007300
add byte [ebx], ah
add byte [0xa00], cl
add bh, bh
jne 0x46e5f1
call dword [sym.imp.user32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
push 0x403f24
call 0x46e62a
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 0x46e625
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.00472ed4
cmp eax, 0xffffffff
jne 0x46e721
mov ebx, dword [0x404f70]
push 0x464fe4
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyW]
call 0x46e676
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.00472ed4
cmp eax, 0xffffffff
jne 0x46e721
mov ebx, dword [0x404f70]
push 0
push ebx
push 0x104
push dword [0x404f28]
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
push ebx
call dword [sym.imp.shlwapi.dll_PathRemoveFileSpecW]
nop
call 0x46e6c4
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.00472ed4
cmp eax, 0xffffffff
jne 0x46e721
push 0x403fd2
call dword [sym.imp.msvcrt.dll_wprintf]
add esp, 4
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0
je 0x46e717
push edi
nop
call 0x46e70e
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 0x473715
mov ebx, eax
call 0x46e72c
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.0046bf84
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.0046bff1
push edi
call fcn.0046bff1
mov dword [ebp + 8], eax
mov esi, eax
jmp 0x46e49c
push dword [ebp - 0x14]
call fcn.0046bff1
mov eax, dword [ebp + 8]
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4