Function at 0x401de0
Capabilities:
Check if process is running under wine

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2a8
mov rbx, qword [rdx + 8]
mov qword [rsp + 0x48], 0
mov esi, ecx
mov r12, rdx
test rbx, rbx
je 0x401ef0
lea rdx, str._nohome
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
je 0x401ed0
xor r8d, r8d
lea r9, [rsp + 0x50]
mov edx, 0x24
mov rcx, rbx
call sym.CreateUri
test eax, eax
js 0x401f08
mov rcx, qword [0x00408018]
mov rbx, qword [sym.imp.ucrtbase.dll_free]
call rbx
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0xc0]
cmp dword [rsp + 0x40], 9
je 0x401fc0
cmp qword [rsp + 0x48], 0
je 0x4020d0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov r12, qword [rsp + 0x48]
test byte [section..data], 8
jne 0x402107
cmp dword [rsp + 0x40], 4
je 0x4023e8
mov rcx, r12
call sym.open_http_url
mov r12d, eax
mov eax, r12d
add rsp, 0x2a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp esi, 2
jle 0x402210
mov rbx, qword [r12 + 0x10]
test rbx, rbx
jne 0x401e26
nop word [rax + rax]
test byte [section..data], 2
jne 0x4030c0
mov r12d, 0xffffffff
jmp 0x401eb0
test byte [section..data], 2
jne 0x402520
cmp word [rbx], 0
je 0x402898
mov rax, rbx
nop word [rax + rax]
add rax, 2
cmp word [rax], 0
jne 0x401f28
sub rax, rbx
sar rax, 1
cdqe
lea rcx, [rax + rax + 0x10]
call qword [sym.imp.ucrtbase.dll_malloc]
mov r13, rax
test rax, rax
je 0x403134
mov rdx, rax
lea rax, str.http:__
nop dword [rax + rax]
movzx ecx, word [rax]
add rax, 2
add rdx, 2
mov word [rdx - 2], cx
test cx, cx
jne 0x401f60
cmp word [r13], 0
mov rdx, r13
je 0x401f8a
nop
add rdx, 2
cmp word [rdx], 0
jne 0x401f80
xor eax, eax
nop dword [rax]
movzx ecx, word [rbx + rax]
mov word [rdx + rax], cx
add rax, 2
test cx, cx
jne 0x401f90
mov rcx, r13
call sym.open_http_url
mov rcx, r13
mov r12d, eax
call qword [sym.imp.ucrtbase.dll_free]
jmp 0x401eb0
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x44], 0x100
lea rdx, [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x78]
test eax, eax
js 0x402a40
mov rcx, qword [rsp + 0x58]
test byte [section..data], 8
jne 0x4028d0
lea r14, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
je 0x402a40
pxor xmm0, xmm0
lea r13, [rsp + 0x44]
mov dword [rsp + 0x70], 0x30
mov rsi, qword [sym.imp.ucrtbase.dll_malloc]
mov qword [rsp + 0x78], 0
mov rdi, qword [sym.imp.ntdll.dll_wine_nt_to_unix_file_name]
lea rbp, [rsp + 0x70]
mov dword [rsp + 0x88], 0
mov qword [rsp + 0x80], r14
movups xmmword [rsp + 0x90], xmm0
jmp 0x402065
mov rcx, r12
call rbx
mov ecx, dword [rsp + 0x44]
call rsi
mov r12, rax
test rax, rax
je 0x402a37
mov r9d, 1
mov r8, r13
mov rdx, rax
mov rcx, rbp
call rdi
cmp eax, 0xc0000023
je 0x402060
mov r14, qword [rsp + 0x58]
test eax, eax
je 0x402a58
mov rcx, r14
call sym.SysFreeString
mov rcx, r12
call rbx
movzx eax, byte [section..data]
test al, 8
jne 0x4030f4
mov qword [rsp + 0x48], 0
test al, 2
jne 0x402798
nop dword [rax]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
js 0x401efd
mov r12, qword [rsp + 0x48]
test byte [section..data], 8
je 0x401e9a
lea rax, str._null_
test r12, r12
je 0x4024ef
mov rax, r12
shr rax, 0x10
je 0x402748
mov rdx, 0xffffffffffffffff
mov rcx, r12
call qword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov r8d, eax
lea rax, str._invalid_
test r8d, r8d
jne 0x4024ef
cmp word [r12], 0
je 0x40276b
xor eax, eax
nop dword [rax]
mov ecx, eax
add rax, 1
cmp word [r12 + rax*2], 0
jne 0x402158
mov r10d, 0x224c
lea rdx, [rsp + 0xa2]
lea r9, str.0123456789abcdeflaunch_app
mov word [rsp + 0xa0], r10w
lea r8, [rsp + 0x1c2]
jmp 0x4021ce
cmp ax, 9
je 0x4026b0
cmp ax, 0xa
jne 0x4026d3
mov eax, 0x6e5c
add rdx, 2
mov word [rdx - 2], ax
nop dword [rax]
lea eax, [rcx - 1]
test ecx, ecx
jle 0x4024c0
cmp rdx, r8
ja 0x4024c0
mov ecx, eax
movzx eax, word [r12]
add r12, 2
cmp ax, 0xd
je 0x402698
jbe 0x402190
cmp ax, 0x22
je 0x402730
cmp ax, 0x5c
jne 0x4026c4
mov r13d, 0x5c5c
add rdx, 2
mov word [rdx - 2], r13w
jmp 0x4021b8
xor r9d, r9d
mov r8d, 0x3d4000
lea rdx, [sym.ddeCb]
lea rcx, [section..bss]
call sym.DdeInitializeW
test eax, eax
jne 0x402cc0
mov ecx, dword [section..bss]
mov r8d, 0x4b0
lea rdx, str.IExplore
call sym.DdeCreateStringHandleW
mov r12, rax
test rax, rax
je 0x402ea2
mov ecx, dword [section..bss]
mov r8d, 0x4b0
lea rdx, str.WWW_OpenURL
call sym.DdeCreateStringHandleW
mov qword [0x00408010], rax
test rax, rax
je 0x4027bc
mov ecx, dword [section..bss]
mov r8d, 0x4b0
lea rdx, str.Return
call sym.DdeCreateStringHandleW
mov qword [0x00408008], rax
test rax, rax
je 0x402f39
mov ecx, dword [section..bss]
xor r8d, r8d
mov r9d, 1
mov rdx, r12
call sym.DdeNameService
test rax, rax
je 0x402f57
xor r9d, r9d
mov r8d, 0x1388
xor edx, edx
xor ecx, ecx
call sym.SetTimer
mov r14, rax
test rax, rax
je 0x402f94
mov rbx, qword [0x00408018]
lea r13, [rsp + 0xa0]
test rbx, rbx
je 0x402321
jmp 0x402345
cmp dword [rsp + 0xa8], 0x113
je 0x402335
mov rcx, r13
call sym.DispatchMessageW
mov rbx, qword [0x00408018]
test rbx, rbx
jne 0x402345
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call sym.GetMessageW
test eax, eax
jne 0x402300
mov rbx, qword [0x00408018]
test rbx, rbx
je 0x40306c
cmp word [rbx], 0x22
je 0x403005
xor ecx, ecx
mov rdx, r14
call sym.KillTimer
mov ecx, dword [section..bss]
test ecx, ecx
je 0x401e26
nop word [rax + rax]
cmp qword [0x00408010], 0
je 0x40316b
mov r9d, 2
xor r8d, r8d
mov rdx, r12
mov esi, 1
call sym.DdeNameService
mov ecx, dword [section..bss]
mov rdx, qword [0x00408008]
test rdx, rdx
je 0x4023b1
call sym.DdeFreeStringHandle
mov ecx, dword [section..bss]
mov rdx, qword [0x00408010]
test rdx, rdx
je 0x4023c8
call sym.DdeFreeStringHandle
mov ecx, dword [section..bss]
test sil, sil
je 0x4023db
mov rdx, r12
call sym.DdeFreeStringHandle
mov ecx, dword [section..bss]
call sym.DdeUninitialize
jmp 0x401ede
lea r8, [rsp + 0x70]
lea rdx, str.SoftwareWineWineBrowser
mov rcx, 0xffffffff80000001
call sym.RegOpenKeyW
lea r13, [rsp + 0xa0]
test eax, eax
je 0x402668
mov eax, dword [0x00405500]
movdqu xmm1, xmmword [str._usr_bin_open]
movdqu xmm2, xmmword [0x00405490]
movdqu xmm3, xmmword [0x004054a0]
mov dword [rsp + 0x120], eax
movzx eax, word [0x00405504]
movdqu xmm4, xmmword [str.mozilla_thunderbird]
movdqu xmm5, xmmword [0x004054c0]
movups xmmword [rsp + 0xa0], xmm1
movdqu xmm0, xmmword [0x004054d0]
movdqu xmm1, xmmword [0x004054e0]
movups xmmword [rsp + 0xb0], xmm2
mov word [rsp + 0x124], ax
movdqu xmm2, xmmword [str.evolution]
movups xmmword [rsp + 0xc0], xmm3
movups xmmword [rsp + 0xd0], xmm4
movups xmmword [rsp + 0xe0], xmm5
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm1
movups xmmword [rsp + 0x110], xmm2
mov rdx, r12
mov rcx, r13
call sym.launch_app
mov r12d, eax
jmp 0x401eb0
mov byte [rdx], 0x22
test eax, eax
jle 0x40278a
mov ebp, 0x2e2e
mov byte [rdx + 3], 0x2e
lea rax, [rdx + 4]
mov word [rdx + 1], bp
mov byte [rax], 0
lea r13, [rsp + 0xa0]
mov rcx, r13
call sym.__wine_dbg_strdup
mov qword [rsp + 0x20], rax
lea r9, str.opening__s_n
lea r8, str.wmain
mov ecx, 3
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
mov r12, qword [rsp + 0x48]
jmp 0x401e9a
mov rax, rbx
shr rax, 0x10
je 0x4028a8
mov rdx, 0xffffffffffffffff
mov rcx, rbx
call qword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov r8d, eax
lea rax, str._invalid_
test r8d, r8d
jne 0x40263c
cmp word [rbx], 0
je 0x402ce8
xor eax, eax
nop dword [rax]
mov ecx, eax
add rax, 1
cmp word [rbx + rax*2], 0
jne 0x402560
mov esi, 0x224c
mov r8, rbx
lea rdx, [rsp + 0xa2]
mov word [rsp + 0xa0], si
lea r9, [rsp + 0x1c2]
lea r10, str.0123456789abcdeflaunch_app
jmp 0x4025d6
cmp ax, 9
je 0x4027f0
cmp ax, 0xa
jne 0x402829
mov r12d, 0x6e5c
add rdx, 2
mov word [rdx - 2], r12w
nop dword [rax + rax]
lea eax, [rcx - 1]
cmp rdx, r9
ja 0x402610
test ecx, ecx
jle 0x402610
mov ecx, eax
movzx eax, word [r8]
add r8, 2
cmp ax, 0xd
je 0x402808
jbe 0x4025a0
cmp ax, 0x22
je 0x402880
cmp ax, 0x5c
jne 0x40281a
mov r11d, 0x5c5c
add rdx, 2
mov word [rdx - 2], r11w
jmp 0x4025c8
mov byte [rdx], 0x22
test eax, eax
jle 0x402d05
mov ecx, 0x2e2e
mov byte [rdx + 3], 0x2e
lea rax, [rdx + 4]
mov word [rdx + 1], cx
mov byte [rax], 0
lea rcx, [rsp + 0xa0]
call sym.__wine_dbg_strdup
mov qword [rsp + 0x20], rax
lea r9, str.Failed_to_parse_URL__s__treating_as_HTTP_n
lea r8, str.wmain
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x401f15
mov rcx, qword [rsp + 0x70]
mov r8, r13
lea rdx, str.Mailers
call sym.get_commands.constprop.0
mov rcx, qword [rsp + 0x70]
mov ebx, eax
call sym.RegCloseKey
test ebx, ebx
je 0x4024ac
jmp 0x402410
mov eax, 0x725c
add rdx, 2
mov word [rdx - 2], ax
jmp 0x4021b8
mov r15d, 0x745c
add rdx, 2
mov word [rdx - 2], r15w
jmp 0x4021b8
lea r10d, [rax - 0x20]
cmp r10w, 0x5e
jbe 0x402760
mov r10d, eax
mov byte [rdx], 0x5c
add rdx, 5
shr r10w, 0xc
and r10d, 0xf
movzx r10d, byte [r9 + r10]
mov byte [rdx - 4], r10b
mov r10d, eax
shr r10w, 8
and r10d, 0xf
movzx r10d, byte [r9 + r10]
mov byte [rdx - 3], r10b
mov r10d, eax
and eax, 0xf
shr r10w, 4
movzx eax, byte [r9 + rax]
and r10d, 0xf
movzx r10d, byte [r9 + r10]
mov byte [rdx - 1], al
mov byte [rdx - 2], r10b
jmp 0x4021b8
mov r14d, 0x225c
add rdx, 2
mov word [rdx - 2], r14w
jmp 0x4021b8
movzx edx, r12w
lea rcx, str._04x
call sym.wine_dbg_sprintf.constprop.0
jmp 0x4024ef
mov byte [rdx], al
add rdx, 1
jmp 0x4021b8
mov r11d, 0x224c
mov byte [rsp + 0xa2], 0x22
lea rdx, [rsp + 0xa2]
mov word [rsp + 0xa0], r11w
lea rax, [rdx + 1]
jmp 0x4024dc
lea r9, str.Failed_to_convert_file_URL_to_unix_path_n
lea r8, str.wmain
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x401e71
test byte [section..data], 2
jne 0x402fbe
mov ecx, dword [section..bss]
test ecx, ecx
je 0x401efd
nop word [rax + rax]
test r12, r12
setne sil
xor ebx, ebx
jmp 0x40239a
mov edi, 0x745c
add rdx, 2
mov word [rdx - 2], di
jmp 0x4025c8
mov ebp, 0x725c
add rdx, 2
mov word [rdx - 2], bp
jmp 0x4025c8
lea r11d, [rax - 0x20]
cmp r11w, 0x5e
jbe 0x4028c0
mov r11d, eax
mov byte [rdx], 0x5c
add rdx, 5
shr r11w, 0xc
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 4], r11b
mov r11d, eax
shr r11w, 8
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 3], r11b
mov r11d, eax
and eax, 0xf
shr r11w, 4
movzx eax, byte [r10 + rax]
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 1], al
mov byte [rdx - 2], r11b
jmp 0x4025c8
mov esi, 0x225c
add rdx, 2
mov word [rdx - 2], si
jmp 0x4025c8
mov ecx, 0x10
jmp 0x401f3f
movzx edx, bx
lea rcx, str._04x
call sym.wine_dbg_sprintf.constprop.0
jmp 0x40263c
mov byte [rdx], al
add rdx, 1
jmp 0x4025c8
lea rax, str._null_
test rcx, rcx
je 0x402a09
mov rax, rcx
shr rax, 0x10
je 0x402ed3
mov qword [rsp + 0x38], rcx
mov rdx, 0xffffffffffffffff
call qword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov r8d, eax
lea rax, str._invalid_
test r8d, r8d
jne 0x402a09
mov rcx, qword [rsp + 0x38]
cmp word [rcx], 0
je 0x402fdf
xor eax, eax
nop dword [rax + rax]
mov r8d, eax
add rax, 1
cmp word [rcx + rax*2], 0
jne 0x402928
mov edx, 0x224c
lea r9, [rsp + 0x1c2]
lea r10, str.0123456789abcdeflaunch_app
mov word [rsp + 0xa0], dx
lea rdx, [rsp + 0xa2]
jmp 0x402999
cmp ax, 9
je 0x402da8
cmp ax, 0xa
jne 0x402d31
mov eax, 0x6e5c
add rdx, 2
mov word [rdx - 2], ax
nop dword [rax]
lea eax, [r8 - 1]
cmp rdx, r9
ja 0x4029d8
test r8d, r8d
jle 0x4029d8
mov r8d, eax
movzx eax, word [rcx]
add rcx, 2
cmp ax, 0xd
je 0x402d10
jbe 0x402960
cmp ax, 0x22
je 0x402d90
cmp ax, 0x5c
jne 0x402d22
mov r15d, 0x5c5c
add rdx, 2
mov word [rdx - 2], r15w
jmp 0x402988
mov byte [rdx], 0x22
test eax, eax
jle 0x402ffc
mov r14d, 0x2e2e
mov byte [rdx + 3], 0x2e
lea rax, [rdx + 4]
mov word [rdx + 1], r14w
mov byte [rax], 0
lea r13, [rsp + 0xa0]
mov rcx, r13
call sym.__wine_dbg_strdup
mov qword [rsp + 0x20], rax
mov ecx, 3
lea r9, str.Windows_path:__s_n
lea r8, str.convert_file_uri
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
mov rcx, qword [rsp + 0x58]
jmp 0x401ff2
mov rcx, r14
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov qword [rsp + 0x48], 0
movzx eax, byte [section..data]
jmp 0x4020c1
mov rdx, r12
mov ecx, dword [rdx]
add rdx, 4
lea eax, [rcx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x402a5b
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea rcx, [rdx + 2]
cmove rdx, rcx
mov edi, eax
add dil, al
sbb rdx, 3
sub rdx, r12
lea rax, [rdx + rdx*2]
lea rcx, [rax + rax + 0x10]
call rsi
mov rdi, rax
mov rdx, rax
lea rax, str.file:__
nop dword [rax + rax]
movzx ecx, word [rax]
add rax, 2
add rdx, 2
mov word [rdx - 2], cx
test cx, cx
jne 0x402ab0
cmp word [rdi], 0
je 0x4030e4
mov rax, rdi
nop dword [rax]
add rax, 2
cmp word [rax], 0
jne 0x402ad8
sub rax, rdi
sar rax, 1
cdqe
lea r15, [rdi + rax*2]
movsx si, byte [r12]
test sil, sil
je 0x4030ec
mov r13, r12
lea rbp, str.___.___:
jmp 0x402b13
mov r15, rax
mov eax, esi
and eax, 0xffffffdf
sub eax, 0x41
cmp al, 0x19
jbe 0x402b40
lea eax, [rsi - 0x30]
cmp al, 9
jbe 0x402b40
movsx edx, sil
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_strchr]
test rax, rax
je 0x402dc0
nop dword [rax]
lea rax, [r15 + 2]
add r13, 1
mov word [r15], si
movsx si, byte [r13]
test sil, sil
jne 0x402b10
xor r13d, r13d
mov rcx, r14
mov word [rax], r13w
call sym.SysFreeString
mov rcx, r12
call rbx
test byte [section..data], 8
je 0x402cb2
mov rax, rdi
shr rax, 0x10
je 0x402f1a
mov rdx, 0xffffffffffffffff
mov rcx, rdi
call qword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov r8d, eax
lea rax, str._invalid_
test r8d, r8d
jne 0x402c8e
cmp word [rdi], 0
je 0x403090
xor eax, eax
nop dword [rax]
mov ecx, eax
add rax, 1
cmp word [rdi + rax*2], 0
jne 0x402bb8
mov r8d, 0x224c
lea rdx, [rsp + 0xa2]
lea r10, str.0123456789abcdeflaunch_app
mov word [rsp + 0xa0], r8w
lea r9, [rsp + 0x1c2]
mov r8, rdi
jmp 0x402c26
cmp ax, 9
je 0x402e78
cmp ax, 0xa
jne 0x402e03
mov r12d, 0x6e5c
add rdx, 2
mov word [rdx - 2], r12w
nop dword [rax + rax]
lea eax, [rcx - 1]
test ecx, ecx
jle 0x402c5f
cmp rdx, r9
ja 0x402c5f
mov ecx, eax
movzx eax, word [r8]
add r8, 2
cmp ax, 0xd
je 0x402e90
jbe 0x402bf0
cmp ax, 0x22
je 0x402e60
cmp ax, 0x5c
jne 0x402df4
mov r11d, 0x5c5c
add rdx, 2
mov word [rdx - 2], r11w
jmp 0x402c18
mov byte [rdx], 0x22
test eax, eax
jle 0x4030af
mov ecx, 0x2e2e
mov byte [rdx + 3], 0x2e
lea rax, [rdx + 4]
mov word [rdx + 1], cx
mov byte [rax], 0
lea r13, [rsp + 0xa0]
mov rcx, r13
call sym.__wine_dbg_strdup
mov qword [rsp + 0x20], rax
lea r9, str.New_path:__s_n
lea r8, str.convert_file_uri
mov ecx, 3
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
mov qword [rsp + 0x48], rdi
jmp 0x401e7d
test byte [section..data], 2
jne 0x402ee7
mov ecx, dword [section..bss]
xor r12d, r12d
test ecx, ecx
jne 0x4027e0
jmp 0x401ef0
mov edi, 0x224c
mov byte [rsp + 0xa2], 0x22
lea rdx, [rsp + 0xa2]
mov word [rsp + 0xa0], di
lea rax, [rdx + 1]
jmp 0x40262c
mov eax, 0x725c
add rdx, 2
mov word [rdx - 2], ax
jmp 0x402988
lea r11d, [rax - 0x20]
cmp r11w, 0x5e
jbe 0x402f0f
mov r11d, eax
mov byte [rdx], 0x5c
add rdx, 5
shr r11w, 0xc
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 4], r11b
mov r11d, eax
shr r11w, 8
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 3], r11b
mov r11d, eax
and eax, 0xf
shr r11w, 4
movzx eax, byte [r10 + rax]
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 1], al
mov byte [rdx - 2], r11b
jmp 0x402988
mov eax, 0x225c
add rdx, 2
mov word [rdx - 2], ax
jmp 0x402988
mov eax, 0x745c
add rdx, 2
mov word [rdx - 2], ax
jmp 0x402988
mov eax, esi
lea rdx, str.0123456789ABCDEF
and esi, 0xf
shr al, 4
and eax, 0xf
movsx ax, byte [rdx + rax]
movsx dx, byte [rdx + rsi]
mov esi, 0x25
mov word [r15 + 2], ax
lea rax, [r15 + 6]
mov word [r15 + 4], dx
jmp 0x402b44
lea r11d, [rax - 0x20]
cmp r11w, 0x5e
jbe 0x402f2e
mov r11d, eax
mov byte [rdx], 0x5c
add rdx, 5
shr r11w, 0xc
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 4], r11b
mov r11d, eax
shr r11w, 8
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 3], r11b
mov r11d, eax
and eax, 0xf
shr r11w, 4
movzx eax, byte [r10 + rax]
and r11d, 0xf
movzx r11d, byte [r10 + r11]
mov byte [rdx - 1], al
mov byte [rdx - 2], r11b
jmp 0x402c18
mov ebx, 0x225c
add rdx, 2
mov word [rdx - 2], bx
jmp 0x402c18
mov esi, 0x745c
add rdx, 2
mov word [rdx - 2], si
jmp 0x402c18
mov ebp, 0x725c
add rdx, 2
mov word [rdx - 2], bp
jmp 0x402c18
test byte [section..data], 2
je 0x402ccd
lea r9, str.Unable_to_initialize_DDE__DdeCreateStringHandle_failed_n
lea r8, str.get_url_from_dde
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x402ccd
movzx edx, cx
lea rcx, str._04x
call sym.wine_dbg_sprintf.constprop.0
jmp 0x402a09
mov dword [rsp + 0x20], eax
lea r9, str.Unable_to_initialize_DDE__DdeInitialize_returned__d_n
lea r8, str.get_url_from_dde
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x402ccd
mov byte [rdx], al
add rdx, 1
jmp 0x402988
movzx edx, di
lea rcx, str._04x
call sym.wine_dbg_sprintf.constprop.0
jmp 0x402c8e
mov byte [rdx], al
add rdx, 1
jmp 0x402c18
test byte [section..data], 2
jne 0x402fbe
mov ecx, dword [section..bss]
test ecx, ecx
je 0x401efd
xor ebx, ebx
jmp 0x402370
test byte [section..data], 2
je 0x402f42
lea r9, str.Unable_to_initialize_DDE__DdeNameService_failed_n
lea r8, str.get_url_from_dde
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
mov ecx, dword [section..bss]
test ecx, ecx
je 0x401ef0
xor ebx, ebx
jmp 0x402370
test byte [section..data], 2
je 0x402f42
lea r9, str.SetTimer_failed_to_create_timer_n
lea r8, str.get_url_from_dde
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x402f7f
lea r9, str.Unable_to_initialize_DDE__DdeCreateStringHandle_failed_n
lea r8, str.get_url_from_dde
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x402f7f
mov eax, 0x224c
mov byte [rsp + 0xa2], 0x22
lea rdx, [rsp + 0xa2]
mov word [rsp + 0xa0], ax
lea rax, [rdx + 1]
jmp 0x4029f6
lea rcx, [rbx + 2]
mov edx, 0x22
call qword [sym.imp.ucrtbase.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x403033
xor r13d, r13d
mov word [rax], r13w
mov rax, qword [0x00408018]
lea rbx, [rax + 2]
jmp 0x40234f
test byte [section..data], 2
je 0x40306c
mov rcx, qword [0x00408018]
call sym.wine_dbgstr_wn.constprop.0
lea r9, str.Unable_to_retrieve_URL_from_string__s_n
mov ecx, 1
lea r8, str.get_url_from_dde
mov qword [rsp + 0x20], rax
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
xor ecx, ecx
mov rdx, r14
call sym.KillTimer
mov ecx, dword [section..bss]
test ecx, ecx
je 0x401ef0
jmp 0x402370
mov r9d, 0x224c
mov byte [rsp + 0xa2], 0x22
lea rdx, [rsp + 0xa2]
mov word [rsp + 0xa0], r9w
lea rax, [rdx + 1]
jmp 0x402c7b
lea r9, str.Usage:_winebrowser_URL_n
lea r8, str.wmain
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x401efd
mov r15, rdi
jmp 0x402aee
mov rax, r15
jmp 0x402b57
lea rax, str._null_
lea r9, str.New_path:__s_n
mov ecx, 3
mov qword [rsp + 0x20], rax
lea r8, str.convert_file_uri
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
movzx eax, byte [section..data]
mov qword [rsp + 0x48], 0
jmp 0x4020c1
mov r12d, 1
test byte [section..data], 2
je 0x401eb0
lea r9, str.Out_of_memory_n
lea r8, str.open_invalid_url
mov ecx, 1
lea rdx, section..data
call sym.wine_dbg_log.constprop.0
jmp 0x401eb0
mov rdx, qword [0x00408008]
mov esi, 1
test rdx, rdx
jne 0x4023a6
jmp 0x4023cd