Function at 0x4645f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x53a090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
mov dword [ebp - 0x234], esi
call edi
test eax, eax
je 0x4654a8
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
push 9
push esi
call ebx
mov ecx, 0x20
test eax, eax
je 0x464661
lea ecx, [ecx]
push 9
push esi
mov word [eax], cx
call ebx
mov ecx, 0x20
test eax, eax
jne 0x464650
push esi
call edi
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
push esi
mov dword [ebp - 0x238], ebx
call edi
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
mov dword [ebp - 0x220], eax
call edi
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov edx, ebx
mov ecx, esi
mov dword [ebp - 0x224], eax
call fcn.00456750
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
add esp, 4
jmp 0x4646d0
push dword [ebp - 0x220]
mov ecx, dword [ebp - 0x224]
mov edx, ebx
call fcn.00456750
add esp, 4
test eax, eax
je 0x46548e
cmp dword [ebp - 0x228], 0
jne 0x4652de
push 0x40b300
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x464733
push dword [ebp - 0x220]
mov dword [0x565b2c], 2
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 0x40b304
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x46476e
push dword [ebp - 0x220]
mov dword [0x565b2c], 1
push dword [ebp - 0x224]
mov dword [ebp - 0x228], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x46477f
cmp eax, 0x2d
jne 0x4652de
mov ecx, ebx
call fcn.00456670
push 0x40b310
push ebx
call esi
test eax, eax
je 0x46529a
push 0x40b31c
push ebx
call esi
test eax, eax
je 0x46529a
push 0x40b320
push ebx
call esi
test eax, eax
je 0x46529a
push 0x40b32c
push ebx
call esi
test eax, eax
je 0x465279
push 0x40b33c
push ebx
call esi
test eax, eax
je 0x465279
push 0x40b340
push ebx
call esi
test eax, eax
je 0x465258
push 0x40b354
push ebx
call esi
test eax, eax
je 0x465258
push 0x40b36c
push ebx
call esi
test eax, eax
je 0x465237
push 0x40b378
push ebx
call esi
test eax, eax
je 0x465237
push 0x40b384
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b394
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b3a8
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b3c4
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b3e4
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b404
push ebx
call esi
test eax, eax
je 0x465216
push 0x40b424
push ebx
call esi
test eax, eax
je 0x4651f5
push 0x40a230
push ebx
call esi
test eax, eax
je 0x4651f5
push 0x40b430
push ebx
call esi
test eax, eax
jne 0x4648c3
push dword [ebp - 0x220]
mov dword [0x567940], 2
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 0x40b438
push ebx
call esi
test eax, eax
jne 0x4648f0
push dword [ebp - 0x220]
mov dword [0x567940], 3
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 6
push 0x40b440
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x46495e
push 0x20
lea eax, [ebx + 0xc]
push eax
push 0x5678e0
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x407fb8
push 0x5678e0
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push 0x5678e0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne case.0x4649c8.64
mov eax, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x409bc8
push 0x5678e0
call eax
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 7
push 0x40b450
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x4649b6
push 8
lea eax, [ebx + 0xe]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push 0x407fb8
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
push dword [ebp - 0x220]
xor eax, eax
cmp word [ebp - 0x14], 0x31
push dword [ebp - 0x224]
sete al
inc eax
mov dword [0x565f3c], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push ebx
call edi
movzx eax, word [eax]
add eax, 0xffffffc1
cmp eax, 0x1b
ja case.0x4649c8.64
jmp dword [eax*4 + 0x4654b8]
mov dword [0x5674a4], 0
mov dword [0x567938], 1
lea eax, [ebx + 2]
push eax
call edi
push dword [ebp - 0x220]
xor ecx, ecx
cmp word [eax], 0x53
push dword [ebp - 0x224]
sete cl
mov dword [0x5674bc], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov dword [0x5674a4], 1
mov dword [0x567938], 0
jmp 0x4649e3
cmp word [ebx + 2], 0x30
lea eax, [ebx + 2]
je 0x464a90
push eax
call edi
cmp word [eax], 0x4f
je 0x464a90
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je case.0x4649c8.64
push 0x104
push ebx
push 0x565908
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
mov ecx, 0x565908
call fcn.004566d0
push 0x565908
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x40b460
push 0x565908
call eax
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x56706c], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
movzx eax, word [ebx + 2]
lea ecx, [ebx + 2]
cmp eax, 0x30
je 0x464b14
cmp eax, 0x2d
je 0x464b14
push ecx
call edi
cmp word [eax], 0x4f
je 0x464b14
push dword [ebp - 0x220]
mov dword [0x565d34], 2
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x565d34], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 4
push 0x40b468
push ebx
mov esi, ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x464be0
lea esi, [ebx + 6]
add esi, 2
cmp word [esi], 0x30
je 0x464d9d
push esi
call edi
cmp word [eax], 0x4f
je 0x464d9d
push esi
call edi
cmp word [eax], 0x44
je 0x464d77
push esi
call edi
cmp word [eax], 0x53
je 0x464d77
movzx eax, word [esi]
push eax
push 0x40b47c
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
je 0x464caa
cmp word [esi], 0
mov dword [0x5674c4], 1
mov dword [0x56792c], 0
je 0x4652c1
lea esp, [esp]
push esi
call edi
movzx eax, word [eax]
add eax, 0xffffffbe
cmp eax, 0x12
ja case.0x464bd9.67
movzx eax, byte [eax + 0x465544]
jmp dword [eax*4 + 0x465528]
push 3
push 0x40b474
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x464bfa
lea esi, [ebx + 4]
jmp 0x464b50
movzx ecx, word [ebx + 2]
cmp ecx, 0x3a
jne 0x464c0b
lea esi, [ebx + 2]
jmp 0x464b50
cmp dword [ebp - 0x22c], 0
je 0x464b50
cmp ecx, 0x54
jne 0x4652c1
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
jmp 0x4652c1
mov eax, dword [0x56792c]
and eax, 0xffffffc3
or eax, 0x40
jmp 0x464c8d
mov eax, dword [0x56792c]
and eax, 0xffffffb7
or eax, 4
jmp 0x464c8d
mov eax, dword [0x56792c]
and eax, 0xffffffbb
or eax, 8
jmp 0x464c8d
mov eax, dword [0x56792c]
and eax, 0xffffff9f
or eax, 0x10
jmp 0x464c8d
mov eax, dword [0x56792c]
and eax, 0xffffffaf
or eax, 0x20
jmp 0x464c8d
mov eax, dword [0x56792c]
test eax, eax
jne 0x464c88
mov eax, 0x40
or eax, 0x80
mov dword [0x56792c], eax
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], 0
jne 0x464bc0
jmp 0x4652c1
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je 0x4652c1
push 0x56a870
push 0x56a86c
push 0x56a868
push 0x56a864
push 0x56a860
push 0x40b48c
push ebx
call fcn.0050f378
add esp, 0x1c
cmp eax, 4
je 0x464cfa
cmp eax, 5
jne 0x4652c1
cmp dword [0x56a868], 1
mov dword [0x5674c4], 1
mov dword [0x56792c], 0
jge 0x464d21
mov dword [0x56a868], 0x80000000
cmp dword [0x56a86c], 1
jge 0x464d34
mov dword [0x56a86c], 0x80000000
cmp dword [0x56a870], 0
je 0x464d47
mov dword [0x56a870], 1
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, 4
jne case.0x4649c8.64
push dword [ebp - 0x220]
mov dword [0x56a870], 0
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 0x4c
push esi
mov dword [0x5674c4], 1
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
neg eax
sbb eax, eax
neg eax
add eax, 2
mov dword [0x56792c], eax
jmp 0x4652c1
mov dword [0x5674c4], 1
mov dword [0x56792c], 1
jmp 0x4652c1
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je case.0x4649c8.64
push 0x80
push ebx
push 0x565f48
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [ebp - 0x220]
mov dword [0x567280], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x5678dc], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x56793c], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je case.0x4649c8.64
mov eax, dword [0x567278]
test eax, eax
je 0x464e70
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push dword [ebp - 0x220]
mov dword [0x567278], eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je case.0x4649c8.64
push 0x56e170
push 0x56df08
push 0x40b4ac
push ebx
call fcn.0050f378
add esp, 0x10
cmp eax, 1
je 0x464ed4
cmp eax, 2
jne case.0x4649c8.64
push dword [ebp - 0x220]
mov dword [0x5678d8], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push 0x2d
xor esi, esi
push ebx
xor edi, edi
mov dword [ebp - 0x230], esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x464f0f
lea esi, [edi + 1]
push 0x52
push ebx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x464f21
mov edi, 1
push 0x42
push ebx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x464f38
mov dword [ebp - 0x230], 1
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je 0x4652bb
mov eax, dword [0x5676d0]
test eax, eax
je 0x464f63
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov dword [0x5676d0], eax
mov eax, 1
mov dword [0x5674a8], eax
test esi, esi
je 0x464f87
mov eax, 3
mov dword [0x5674a8], eax
test edi, edi
je 0x464f96
and eax, 0xfffffff7
or eax, 4
mov dword [0x5674a8], eax
cmp dword [ebp - 0x230], 0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
je case.0x4649c8.64
push dword [ebp - 0x220]
and eax, 0xfffffffb
push dword [ebp - 0x224]
or eax, 8
mov dword [0x5674a8], eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
movzx eax, word [ebx + 2]
lea ecx, [ebx + 2]
cmp eax, 0x30
je 0x46500c
cmp eax, 0x2d
je 0x46500c
push ecx
call edi
cmp word [eax], 0x4f
je 0x46500c
push dword [ebp - 0x220]
mov dword [0x567068], 2
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567068], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567934], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
test eax, eax
je case.0x4649c8.64
mov eax, dword [0x56728c]
test eax, eax
je 0x465079
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [sym.imp.SHLWAPI.dll_StrDupW]
push dword [ebp - 0x220]
mov dword [0x56728c], eax
push dword [ebp - 0x224]
mov dword [0x567290], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [0x56728c]
test eax, eax
je 0x4650c0
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x56728c], 0
push dword [ebp - 0x220]
mov dword [0x56d200], 0
push dword [ebp - 0x224]
mov dword [0x567290], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [0x56728c]
test eax, eax
je 0x465105
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x56728c], 0
push dword [ebp - 0x220]
mov dword [0x56d200], 0x24
push dword [ebp - 0x224]
mov dword [0x567290], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [0x56728c]
test eax, eax
je 0x46514a
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x56728c], 0
push dword [ebp - 0x220]
mov dword [0x56d200], 0x25
push dword [ebp - 0x224]
mov dword [0x567290], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567928], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov eax, dword [ebp - 0x220]
push eax
mov edx, ebx
mov ecx, eax
call fcn.00456750
add esp, 4
mov dword [0x565b2c], 1
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x5676d4], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567940], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567920], 5
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567920], 4
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567920], 3
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567920], 2
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x220]
mov dword [0x567920], 1
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
mov edi, dword [sym.imp.USER32.dll_CharUpperW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4646d0
push dword [ebp - 0x234]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp - 0x224]
mov edi, eax
call esi
push dword [ebp - 0x234]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub eax, esi
mov dword [0x567944], eax
mov eax, dword [0x567930]
test eax, eax
je 0x46532b
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x20c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x104
push dword [ebp - 0x224]
mov dword [0x567930], eax
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
call fcn.00456800
push dword [0x567930]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x4653c8
push dword [0x567930]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x4653c8
push dword [0x567930]
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cmp eax, 0xffffffff
jne 0x4653c8
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x567298
lea eax, [ebp - 0x21c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push dword [0x567930]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
push dword [0x567930]
call esi
push 0x40a560
push dword [0x567930]
call dword [sym.imp.SHLWAPI.dll_StrTrimW]
cmp dword [0x5674ac], 0x20
jge 0x465487
mov esi, dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov ebx, dword [ebp - 0x224]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
test ebx, ebx
je 0x465403
xor eax, eax
mov word [ebx], ax
mov ecx, edi
call fcn.004566d0
test eax, eax
je 0x465481
cmp word [edi], 0x22
jne 0x465427
mov eax, 0x20
mov ecx, edi
mov word [edi], ax
call fcn.004566d0
push 0x22
jmp 0x465429
push 0x20
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x465448
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x465448
add eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, edi
call fcn.004566d0
test ebx, ebx
je 0x46545a
mov ecx, ebx
call fcn.004566d0
push edi
call esi
push edi
call dword [sym.imp.SHLWAPI.dll_StrDupW]
mov ecx, dword [0x5674ac]
inc ecx
mov dword [ecx*4 + 0x56a87c], eax
mov dword [0x5674ac], ecx
cmp ecx, 0x20
jl 0x4653f2
mov ebx, dword [ebp - 0x238]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebx
push dword [ebp - 0x220]
call ebx
push dword [ebp - 0x224]
call ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050ecf7
mov esp, ebp
pop ebp
ret