Function at 0x407b30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x2194
call fcn.0040e530
sub esp, eax
mov eax, dword [esp + eax]
mov dword [ebp - 0x2178], edx
mov dword [ebp - 0x2170], ecx
mov ebx, eax
lea ecx, [ebp - 0x216c]
mov eax, edx
mov dword [ebp - 0x2168], 0
lea edx, [ebp - 0x2164]
mov dword [ebp - 0x2164], 0xffffffff
mov dword [ebp - 0x2160], 0
call fcn.00402590
test eax, eax
je 0x407f40
mov eax, dword [ebp - 0x2164]
cmp eax, 0x19
mov dword [ebp - 0x2184], eax
movzx eax, byte [section..data]
ja 0x408040
mov edi, dword [ebp - 0x2184]
mov edx, 0xfdbef7ff
bt edx, edi
jb 0x408040
mov edi, dword [ebp - 0x216c]
mov dword [ebp - 0x217c], edi
lea edi, [ebp - 0x80c]
mov dword [ebp - 0x2180], edi
test al, 8
jne 0x408870
xor eax, eax
lea esi, [ebp - 0x180c]
mov word [ebp - 0x180c], ax
mov eax, dword [ebx]
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x20]
lea eax, [ebp - 0x1e24]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 8], 0x104
mov dword [esp], esi
mov dword [ebp - 0x2174], eax
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x408710
xor eax, eax
lea edi, [ebp - 0x180c]
mov word [ebp - 0x180c], ax
mov eax, dword [ebx]
mov dword [esp + 8], 0x400
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x18]
lea eax, [ebp - 0x100c]
sub esp, 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2174]
mov dword [esp + 8], 0x400
mov dword [esp], edi
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x4085b0
mov ecx, dword [ebp - 0x2180]
lea edx, [ebp - 0x180c]
mov eax, ebx
call fcn.00405070
lea eax, [ebp - 0x202c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], eax
lea eax, [ebp - 0x180c]
mov dword [esp], eax
mov eax, dword [ebp - 0x2174]
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x4082f8
mov eax, dword [ebx]
xor edx, edx
lea esi, [ebp - 0x180c]
mov dword [esp], ebx
mov word [ebp - 0x180c], dx
lea edx, [ebp - 0x2168]
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
lea esi, [ebp - 0x1c1c]
mov dword [esp + 8], 0x104
call dword [eax + 0x40]
lea eax, [ebp - 0x180c]
sub esp, 0x10
mov dword [esp], eax
mov eax, dword [ebp - 0x2174]
mov dword [esp + 8], 0x104
mov dword [esp + 4], esi
call eax
sub esp, 0xc
test byte [section..data], 8
jne 0x4081a0
xor edx, edx
cmp word [ebp - 0x202c], 0
mov word [ebp - 0x1a14], dx
jne 0x407d98
mov eax, dword [ebx]
lea edx, [ebp - 0x215c]
mov dword [esp], ebx
mov dword [ebp - 0x215c], 0
mov dword [esp + 4], edx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x215c]
sub esp, 8
test eax, eax
je 0x407d98
lea ebx, [ebp - 0x202c]
mov dword [esp], eax
mov dword [esp + 4], ebx
call dword [sym.imp.shell32.dll_SHGetPathFromIDListW]
sub esp, 8
test eax, eax
je 0x407d98
test byte [section..data], 8
jne 0x408b60
lea esi, [esi]
mov eax, dword [ebp - 0x2170]
mov edx, dword [ebp - 0x2168]
mov ecx, 0
cmp word [ebp - 0x1c1c], 0
mov dword [esp], eax
je 0x408080
mov eax, esi
call fcn.00406e50
mov ebx, eax
test ebx, ebx
je 0x408095
cmp word [ebp - 0x202c], 0
jne 0x408a10
mov dword [esp + 0xc], str.winemenubuilder_semaphore
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateSemaphoreA]
sub esp, 0x10
mov dword [ebp - 0x2160], eax
lea eax, [ebp - 0x2160]
mov dword [esp + 0x10], 0x1cff
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 1
call dword [sym.imp.user32.dll_MsgWaitForMultipleObjects]
sub esp, 0x14
test eax, eax
jne 0x4089d0
mov eax, dword [ebp - 0x2184]
cmp eax, 0x10
je 0x408a60
cmp eax, 0x19
je 0x408a73
lea eax, [ebp - 0x1a14]
mov dword [esp + 0xc], ebx
mov edx, dword [ebp - 0x217c]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1e24]
mov dword [esp + 8], eax
lea eax, [ebp - 0x100c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2178]
mov dword [esp], 0
mov ecx, eax
call fcn.004048c0
test eax, eax
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 1
mov edi, eax
sete al
movzx eax, al
mov esi, eax
mov eax, dword [ebp - 0x2160]
xor esi, 1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseSemaphore]
sub esp, 0xc
mov eax, dword [ebp - 0x2160]
test eax, eax
je 0x407edf
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [ebp - 0x217c]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x2170]
test eax, eax
jne 0x407f32
mov eax, edi
test al, al
je 0x407f32
test byte [section..data], 2
je 0x407f32
mov dword [esp + 0xc], str.failed_to_build_the_menu_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 1
call fcn.00401580
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 1
test byte [section..data], 4
je 0x407f32
mov eax, dword [ebp - 0x2178]
shr eax, 0x10
je 0x408b10
mov edi, dword [ebp - 0x2178]
mov dword [esp + 4], 0xffffffff
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ebx, eax
sub esp, 8
mov eax, str._invalid_
test ebx, ebx
jne 0x408b27
movzx edx, word [edi]
mov eax, edi
test dx, dx
je 0x409539
lea esi, [esi]
mov ecx, ebx
lea ebx, [ebx + 1]
cmp word [eax + ecx*2 + 2], 0
jne 0x407f98
mov eax, 0x224c
mov edi, dword [ebp - 0x2178]
lea ebx, [ebp - 0x80a]
lea esi, [ebp - 0x6ea]
mov word [ebp - 0x80c], ax
jmp 0x408008
cmp dx, 9
je 0x409288
cmp dx, 0xa
jne 0x409216
mov eax, 0x6e5c
add ebx, 2
mov word [ebx - 2], ax
lea esi, [esi]
nop
lea eax, [ecx - 1]
test ecx, ecx
jle 0x409380
cmp ebx, esi
ja 0x409380
movzx edx, word [edi]
mov ecx, eax
add edi, 2
cmp dx, 0xd
je 0x4091f8
jbe 0x407fc8
cmp dx, 0x22
je 0x409270
cmp dx, 0x5c
jne 0x409209
mov eax, 0x5c5c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x407ff0
mov esi, 1
test al, 4
je 0x407f32
mov dword [esp + 0xc], str.Not_under_desktop_or_start_menu._Ignoring._n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 2
call fcn.00401580
jmp 0x407f32
lea eax, [ebp - 0x202c]
call fcn.00406e50
mov ebx, eax
test ebx, ebx
jne 0x407dcb
mov edx, dword [ebp - 0x2170]
movzx eax, byte [section..data]
test edx, edx
jne 0x4091d0
test al, 2
je 0x407dcb
cmp word [ebp - 0x1c1c], 0
lea eax, [ebp - 0x202c]
cmove esi, eax
mov eax, esi
shr eax, 0x10
je 0x409560
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x409322
movzx eax, word [esi]
test ax, ax
je 0x40964d
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x408100
mov edi, 0x224c
mov dword [ebp - 0x2174], ebx
lea ecx, [ebp - 0x2156]
mov word [ebp - 0x2158], di
jmp 0x40816e
cmp ax, 9
je 0x409460
cmp ax, 0xa
jne 0x4093df
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
test edx, edx
jle 0x4092f0
lea eax, [ebp - 0x2036]
cmp ecx, eax
ja 0x4092f0
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x409448
jbe 0x408130
cmp ax, 0x22
je 0x409430
cmp ax, 0x5c
jne 0x4093d2
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x408150
mov eax, esi
shr eax, 0x10
je 0x4091b0
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4082c4
movzx eax, word [ebp - 0x1c1c]
test ax, ax
je 0x408297
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x4081e0
mov ecx, 0x224c
lea edi, [ebp - 0x18f2]
mov dword [ebp - 0x2174], esi
mov word [ebp - 0x1a14], cx
lea ecx, [ebp - 0x1a12]
mov dword [ebp - 0x2188], edi
mov dword [ebp - 0x218c], ebx
jmp 0x408262
cmp ax, 9
je 0x408c68
cmp ax, 0xa
jne 0x408d0e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x2188]
ja 0x4090d0
test edx, edx
jle 0x4090d0
mov eax, dword [ebp - 0x2174]
mov edx, edi
movzx eax, word [eax]
add dword [ebp - 0x2174], 2
cmp ax, 0xd
je 0x408c80
jbe 0x408220
cmp ax, 0x22
je 0x408d60
cmp ax, 0x5c
jne 0x408d01
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408240
mov edi, 0x224c
mov byte [ebp - 0x1a12], 0x22
lea ecx, [ebp - 0x1a12]
mov word [ebp - 0x1a14], di
lea eax, [ecx + 1]
lea ecx, [ebp - 0x1a14]
mov byte [eax], 0
mov dword [esp], ecx
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.icon_file__:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407d31
lea eax, [ebp - 0x202c]
shr eax, 0x10
je 0x409120
lea eax, [ebp - 0x202c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x40841a
movzx eax, word [ebp - 0x202c]
test ax, ax
je 0x4083ed
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x202a], 0
jne 0x408340
mov edi, 0x224c
mov dword [ebp - 0x218c], ebx
lea ecx, [ebp - 0x1a12]
lea esi, [ebp - 0x202c]
mov word [ebp - 0x1a14], di
lea edi, [ebp - 0x18f2]
mov dword [ebp - 0x2188], edi
jmp 0x4083bc
cmp ax, 9
je 0x408f40
cmp ax, 0xa
jne 0x408e4e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x2188]
ja 0x409070
test edx, edx
jle 0x409070
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x408e30
jbe 0x408380
cmp ax, 0x22
je 0x408ea0
cmp ax, 0x5c
jne 0x408e41
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x4083a0
mov esi, 0x224c
mov byte [ebp - 0x1a12], 0x22
lea ecx, [ebp - 0x1a12]
mov word [ebp - 0x1a14], si
lea eax, [ecx + 1]
lea ecx, [ebp - 0x1a14]
mov byte [eax], 0
mov dword [esp], ecx
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.path_______:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
test byte [section..data], 8
je 0x407cce
mov eax, dword [ebp - 0x2180]
shr eax, 0x10
je 0x409100
mov esi, dword [ebp - 0x2180]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x40857a
movzx eax, word [ebp - 0x80c]
test ax, ax
je 0x40854d
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x4084a0
mov ecx, 0x224c
lea edi, [ebp - 0x18f2]
mov dword [ebp - 0x218c], ebx
mov esi, dword [ebp - 0x2180]
mov word [ebp - 0x1a14], cx
lea ecx, [ebp - 0x1a12]
mov dword [ebp - 0x2188], edi
jmp 0x40851c
cmp ax, 9
je 0x408f58
cmp ax, 0xa
jne 0x408d7e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x2188]
ja 0x409040
test edx, edx
jle 0x409040
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x408f28
jbe 0x4084e0
cmp ax, 0x22
je 0x408dd0
cmp ax, 0x5c
jne 0x408d71
mov edi, 0x5c5c
add ecx, 2
mov word [ecx - 2], di
jmp 0x408500
mov eax, 0x224c
mov byte [ebp - 0x1a12], 0x22
lea ecx, [ebp - 0x1a12]
mov word [ebp - 0x1a14], ax
lea eax, [ecx + 1]
lea ecx, [ebp - 0x1a14]
mov byte [eax], 0
mov dword [esp], ecx
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.args_______:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407cce
lea eax, [ebp - 0x100c]
shr eax, 0x10
je 0x409150
lea eax, [ebp - 0x100c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4086da
movzx eax, word [ebp - 0x100c]
test ax, ax
je 0x4086ad
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x100a], 0
jne 0x408600
mov ecx, 0x224c
lea edi, [ebp - 0x6ea]
mov dword [ebp - 0x218c], ebx
lea esi, [ebp - 0x100c]
mov word [ebp - 0x80c], cx
lea ecx, [ebp - 0x80a]
mov dword [ebp - 0x2188], edi
jmp 0x40867c
cmp ax, 9
je 0x408e18
cmp ax, 0xa
jne 0x408ebe
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x2188]
ja 0x4090a0
test edx, edx
jle 0x4090a0
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x408c50
jbe 0x408640
cmp ax, 0x22
je 0x408f10
cmp ax, 0x5c
jne 0x408eb1
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x408660
mov eax, 0x224c
mov byte [ebp - 0x80a], 0x22
lea ecx, [ebp - 0x80a]
mov word [ebp - 0x80c], ax
lea eax, [ecx + 1]
mov byte [eax], 0
mov eax, dword [ebp - 0x2180]
mov dword [esp], eax
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.description:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407c88
lea eax, [ebp - 0x1e24]
shr eax, 0x10
je 0x409180
lea eax, [ebp - 0x1e24]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x40883a
movzx eax, word [ebp - 0x1e24]
test ax, ax
je 0x40880d
lea esi, [esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x1e22], 0
jne 0x408760
mov edi, 0x224c
mov dword [ebp - 0x218c], ebx
lea ecx, [ebp - 0x80a]
lea esi, [ebp - 0x1e24]
mov word [ebp - 0x80c], di
lea edi, [ebp - 0x6ea]
mov dword [ebp - 0x2188], edi
jmp 0x4087dc
cmp ax, 9
je 0x408e00
cmp ax, 0xa
jne 0x408c9e
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x2188]
ja 0x409018
test edx, edx
jle 0x409018
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x408de8
jbe 0x4087a0
cmp ax, 0x22
je 0x408cf0
cmp ax, 0x5c
jne 0x408c91
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x4087c0
mov esi, 0x224c
mov byte [ebp - 0x80a], 0x22
lea ecx, [ebp - 0x80a]
mov word [ebp - 0x80c], si
lea eax, [ecx + 1]
mov byte [eax], 0
mov eax, dword [ebp - 0x2180]
mov dword [esp], eax
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.workdir____:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407c35
mov eax, dword [ebp - 0x217c]
test eax, eax
je 0x4093b8
shr eax, 0x10
je 0x409350
mov esi, dword [ebp - 0x217c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4089a0
cmp word [esi], 0
je 0x409471
mov eax, esi
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [eax + edx*2 + 2], 0
jne 0x4088c0
mov ecx, 0x224c
lea eax, [ebp - 0x6ea]
mov dword [ebp - 0x2180], ebx
mov esi, dword [ebp - 0x217c]
mov word [ebp - 0x80c], cx
lea ecx, [ebp - 0x80a]
mov dword [ebp - 0x2174], eax
jmp 0x408931
cmp ax, 9
je 0x408fe8
cmp ax, 0xa
jne 0x408f76
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea eax, [edx - 1]
cmp ecx, dword [ebp - 0x2174]
ja 0x408968
test edx, edx
jle 0x408968
mov edx, eax
movzx eax, word [esi]
add esi, 2
cmp ax, 0xd
je 0x409000
jbe 0x408900
cmp ax, 0x22
je 0x408fd0
cmp ax, 0x5c
jne 0x408f69
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x408920
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x2180]
test eax, eax
jle 0x40948a
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x80c]
mov dword [esp], eax
mov dword [ebp - 0x2180], eax
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Link_______:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407bdd
xor esi, esi
mov edi, 1
test byte [section..data], 2
je 0x407ec9
mov dword [esp + 0xc], str.failed_wait_for_semaphore_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 1
call fcn.00401580
jmp 0x407ec9
lea eax, [ebp - 0x202c]
mov dword [esp], eax
call dword [sym.imp.shlwapi.dll_PathFindFileNameW]
sub esp, 4
mov esi, eax
test eax, eax
je 0x407dd9
xor eax, eax
lea ecx, [ebp - 0x1a14]
lea esi, [esi]
movzx edx, word [esi + eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x408a38
mov dword [esp], ecx
call dword [sym.imp.user32.dll_CharLowerW]
sub esp, 4
jmp 0x407dd9
cmp dword [ebp - 0x2184], 0x19
je 0x408a73
cmp word [ebp - 0x202c], 0
jne 0x408ac0
lea eax, [ebp - 0x1a14]
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp - 0x217c]
xor edx, edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1e24]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x100c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2178]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00402e30
jmp 0x407e95
lea eax, [ebp - 0x1a14]
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp - 0x217c]
xor edx, edx
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x1e24]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x100c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2180]
mov dword [esp + 4], eax
lea eax, [ebp - 0x202c]
mov dword [esp], eax
xor eax, eax
call fcn.00402e30
jmp 0x407e95
movzx eax, word [ebp - 0x2178]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401470
mov dword [esp + 0x10], eax
mov esi, 1
mov dword [esp + 0xc], str.Unknown_link_location__s._Ignoring._n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 2
call fcn.00401580
jmp 0x407f32
mov eax, ebx
shr eax, 0x10
je 0x40962b
lea eax, [ebp - 0x202c]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, str._invalid_
test ecx, ecx
jne 0x4094da
movzx eax, word [ebp - 0x202c]
test ax, ax
je 0x409678
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebp + edx*2 - 0x202a], 0
jne 0x408ba8
mov ebx, 0x224c
lea ecx, [ebp - 0x2156]
lea edi, [ebp - 0x202c]
mov word [ebp - 0x2158], bx
jmp 0x408c1e
cmp ax, 9
je 0x409580
cmp ax, 0xa
jne 0x4095b6
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, [esi]
nop
lea eax, [ebp - 0x2036]
lea ebx, [edx - 1]
cmp ecx, eax
ja 0x4094ae
test edx, edx
jle 0x4094ae
movzx eax, word [edi]
mov edx, ebx
add edi, 2
cmp ax, 0xd
je 0x409598
jbe 0x408bd8
cmp ax, 0x22
je 0x409610
cmp ax, 0x5c
jne 0x4095a9
mov eax, 0x5c5c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408c00
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408660
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408240
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408240
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4092c0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4087c0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x4087c0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4092b0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408240
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408240
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4092a0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408500
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408500
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4087c0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4087c0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408660
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4083a0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4092e0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x4083a0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x4083a0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x4092d0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408660
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x408660
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408500
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x4083a0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408500
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x409370
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408920
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x408920
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408920
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408920
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x218c]
test edi, edi
jle 0x408826
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
jmp 0x408829
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x218c]
test edi, edi
jle 0x408566
mov esi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], si
jmp 0x408569
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x218c]
test edi, edi
jle 0x408406
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
jmp 0x408409
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x218c]
test edi, edi
jle 0x4086c6
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
jmp 0x4086c9
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x218c]
test edi, edi
jle 0x4082b0
mov edi, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], di
jmp 0x4082b3
movzx eax, word [ebp - 0x2180]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x40857a
lea eax, [ebp - 0x202c]
mov dword [esp], str._04x
mov dword [ebp - 0x2188], eax
movzx eax, word [ebp - 0x2188]
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x40841a
lea eax, [ebp - 0x100c]
mov dword [esp], str._04x
mov dword [ebp - 0x2188], eax
movzx eax, word [ebp - 0x2188]
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x4086da
lea eax, [ebp - 0x1e24]
mov dword [esp], str._04x
mov dword [ebp - 0x2188], eax
movzx eax, word [ebp - 0x2188]
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x40883a
movzx eax, si
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x4082c4
test al, 4
jne 0x409510
mov eax, dword [ebp - 0x2160]
test eax, eax
je 0x409498
xor esi, esi
mov edi, 1
jmp 0x407ed3
mov eax, 0x725c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x407ff0
lea eax, [edx - 0x20]
cmp ax, 0x5e
jbe 0x4093c8
mov eax, edx
mov byte [ebx], 0x5c
add ebx, 5
shr ax, 0xc
movzx eax, ax
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebx - 4], al
mov eax, edx
shr ax, 8
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebx - 3], al
mov eax, edx
and edx, 0xf
shr ax, 4
and eax, 0xf
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebx - 2], al
movzx eax, byte [edx + str.0123456789abcdef]
mov byte [ebx - 1], al
jmp 0x407ff0
mov eax, 0x225c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x407ff0
mov eax, 0x745c
add ebx, 2
mov word [ebx - 2], ax
jmp 0x407ff0
mov byte [ecx], al
add ecx, 1
jmp 0x408500
mov byte [ecx], al
add ecx, 1
jmp 0x408240
mov byte [ecx], al
add ecx, 1
jmp 0x4087c0
mov byte [ecx], al
add ecx, 1
jmp 0x408660
mov byte [ecx], al
add ecx, 1
jmp 0x4083a0
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x2174]
test edi, edi
jle 0x409666
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x2158]
mov dword [esp], eax
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.failed_to_extract_icon_from__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 1
call fcn.00401580
jmp 0x407dcb
movzx eax, word [ebp - 0x217c]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x4089a0
mov byte [ecx], al
add ecx, 1
jmp 0x408920
mov byte [ebx], 0x22
test eax, eax
jle 0x409552
mov edx, 0x2e2e
mov byte [ebx + 3], 0x2e
lea eax, [ebx + 4]
mov word [ebx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x80c]
mov dword [esp], eax
call fcn.0040e1f0
jmp 0x408b27
mov eax, str._null_
jmp 0x4089a0
mov byte [ebx], dl
add ebx, 1
jmp 0x407ff0
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x409621
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdef]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408150
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x408150
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408150
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408150
mov eax, 0x224c
mov byte [ebp - 0x80a], 0x22
lea ecx, [ebp - 0x80a]
mov word [ebp - 0x80c], ax
lea eax, [ecx + 1]
jmp 0x408989
mov eax, dword [ebp - 0x217c]
xor esi, esi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x407f32
mov byte [ecx], 0x22
test ebx, ebx
jle 0x40968e
mov ebx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], bx
mov byte [eax], 0
lea eax, [ebp - 0x2158]
mov dword [esp], eax
call fcn.0040e1f0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.pidl_path__:__s_n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 3
call fcn.00401580
jmp 0x407d98
mov dword [esp + 0xc], str.Unable_to_extract_icon__deferring._n
mov dword [esp + 8], str.InvokeShellLinker
mov dword [esp + 4], 0x40f000
mov dword [esp], 2
call fcn.00401580
jmp 0x4091d8
mov eax, 0x224c
mov byte [ebp - 0x80a], 0x22
lea ebx, [ebp - 0x80a]
mov word [ebp - 0x80c], ax
lea eax, [ebx + 1]
jmp 0x40939b
movzx esi, si
mov dword [esp], str._04x
mov dword [esp + 4], esi
call fcn.00401470
jmp 0x409322
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408c00
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408c00
lea ebx, [eax - 0x20]
cmp bx, 0x5e
jbe 0x40966e
mov ebx, eax
mov byte [ecx], 0x5c
add ecx, 5
shr bx, 0xc
movzx ebx, bx
movzx ebx, byte [ebx + str.0123456789abcdef]
mov byte [ecx - 4], bl
mov ebx, eax
shr bx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdef]
mov byte [ecx - 3], bl
mov ebx, eax
and eax, 0xf
shr bx, 4
movzx eax, byte [eax + str.0123456789abcdef]
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdef]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x408c00
mov eax, 0x225c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x408c00
mov byte [ecx], al
add ecx, 1
jmp 0x408150
mov dword [ebp - 0x2174], ebx
movzx eax, word [ebp - 0x2174]
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.00401470
jmp 0x4094da
mov eax, 0x224c
mov byte [ebp - 0x2156], 0x22
lea ecx, [ebp - 0x2156]
mov word [ebp - 0x2158], ax
lea eax, [ecx + 1]
jmp 0x409311
mov byte [ecx], al
add ecx, 1
jmp 0x408c00
mov word [ebp - 0x2158], 0x224c
lea ecx, [ebp - 0x2156]
mov byte [ebp - 0x2156], 0x22
lea eax, [ecx + 1]
jmp 0x4094c9