Function at 0x401850
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, edx
push ebx
xor ebx, ebx
sub esp, 0x1ac
mov dword [ebp - 0x170], eax
xor eax, eax
test byte [section..data], 8
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], eax
jne 0x4020d2
mov dword [esp], 0
xor ebx, ebx
xor edi, edi
call sym._CoInitialize_4
xor eax, eax
mov edx, 0xffffffff
sub esp, 4
mov dword [esp + 0x18], eax
mov eax, 3
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 0x20], ebx
mov ebx, 1
mov dword [esp + 0x1c], edi
xor edi, edi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], 0
call sym._CoInitializeSecurity_36
lea eax, [ebp - 0x160]
mov ecx, 0x405588
sub esp, 0x24
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], 0x4055a8
call sym._CoCreateInstance_20
sub esp, 0x14
test eax, eax
jne 0x40253b
mov dword [esp], str.ROOTCIMV2
call sym._SysAllocString_4
mov dword [ebp - 0x188], eax
sub esp, 4
test eax, eax
mov edi, eax
je 0x40253b
mov eax, dword [ebp - 0x160]
lea ecx, [ebp - 0x15c]
xor ebx, ebx
mov edx, dword [eax]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x24
test eax, eax
jne 0x4024d7
mov eax, dword [ebp - 0x170]
mov dword [esp], eax
call sym._SysAllocString_4
mov dword [ebp - 0x17c], eax
sub esp, 4
test eax, eax
mov edi, eax
je 0x402576
mov eax, dword [ebp - 0x15c]
xor ecx, ecx
xor ebx, ebx
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x150]
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x18]
mov dword [ebp - 0x184], eax
sub esp, 0x18
mov ebx, eax
mov dword [esp], edi
call sym._SysFreeString_4
sub esp, 4
test ebx, ebx
jne 0x4025c9
mov dword [esp], esi
mov ebx, dword [ebp - 0x150]
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebp - 0x180], eax
test eax, eax
je 0x4025b9
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_wcslen]
lea eax, [eax + eax + 2]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x178], eax
test eax, eax
je 0x4026a2
mov eax, dword [ebp - 0x178]
lea esi, [ebp - 0x148]
mov ecx, 0x4050be
mov word [eax], 0
mov eax, dword [ebp - 0x180]
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_wcstok_s]
mov dword [ebp - 0x174], eax
call eax
test eax, eax
je 0x401b32
mov edi, dword [ebp - 0x178]
movzx edx, word [eax]
mov ecx, eax
cmp edx, 0x20
jne 0x402013
nop
add ecx, 2
cmp word [ecx], 0x20
je 0x401a80
mov edx, eax
nop
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x401a90
sub edx, eax
sub edx, 2
add edx, eax
jae 0x401ab4
jmp 0x401aba
mov word [edx], 0
sub edx, 2
cmp edx, eax
jb 0x401aba
cmp word [edx], 0x20
je 0x401aa8
mov dword [ebp - 0x16c], ecx
xor edx, edx
mov eax, dword [ebx]
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], ebx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x16c]
sub esp, 0x18
test eax, eax
js 0x401f1d
cmp word [edi], 0
mov edx, dword [sym.imp.ucrtbase.dll_wcscat]
jne 0x401d96
mov dword [esp + 4], ecx
mov dword [esp], edi
call edx
mov eax, 0x4050be
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x174]
mov dword [esp + 8], esi
mov dword [esp], 0
call eax
test eax, eax
jne 0x401a70
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x174], eax
call eax
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x170]
mov eax, ecx
sub esp, 4
cmp word [ecx], 0
je 0x401b89
mov esi, esi
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x401b70
mov ecx, dword [ebp - 0x170]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x178]
cmp word [eax], 0
je 0x401bb9
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x401ba0
mov edx, dword [ebp - 0x178]
sub eax, edx
sar eax, 1
add dword [ebp - 0x184], eax
mov ebx, dword [ebp - 0x184]
mov dword [esp], 0
add ebx, 0xf
mov dword [esp + 4], ebx
call sym._SysAllocStringLen_8
mov dword [ebp - 0x180], eax
sub esp, 8
test eax, eax
mov edi, eax
je 0x4025a1
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x170]
mov dword [esp], edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x178]
mov dword [esp + 0xc], eax
mov eax, str.SELECT__s_FROM__s
mov dword [esp + 8], eax
call sym._swprintf.constprop.0
mov dword [esp], 0x4050c2
call sym._SysAllocString_4
mov dword [ebp - 0x17c], eax
sub esp, 4
test eax, eax
mov ebx, eax
je 0x40252b
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, 0x10
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x50]
mov dword [ebp - 0x16c], eax
sub esp, 0x18
test eax, eax
jne 0x40252b
lea edi, [ebp - 0x154]
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x14c]
mov edx, dword [eax]
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x150]
mov dword [esp + 0xc], ecx
mov ecx, 1
mov dword [esp + 8], ecx
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x14c]
sub esp, 0x14
test eax, eax
je 0x401dc1
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
lea esi, [esi]
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x18
test eax, eax
jne 0x401d80
mov eax, esi
call sym._convert_to_bstr
mov edx, dword [ebp - 0x140]
cmp word [edx], 0
je 0x401d41
mov eax, edx
lea esi, [esi]
lea edi, [edi]
add eax, 2
cmp word [eax], 0
jne 0x401d30
sub eax, edx
sar eax, 1
cmp ebx, eax
jb 0x401d60
mov dword [esp], esi
call sym._VariantClear_4
mov eax, dword [ebp - 0x154]
sub esp, 4
mov dword [esp], eax
call sym._SysFreeString_4
sub esp, 4
jmp 0x401ce0
mov ebx, edx
lea esi, [esi]
lea edi, [edi]
add ebx, 2
cmp word [ebx], 0
jne 0x401d70
sub ebx, edx
sar ebx, 1
jmp 0x401d41
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x401c80
mov dword [esp], edi
mov eax, 0x4050be
mov dword [esp + 4], eax
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x16c], edx
call edx
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ebp - 0x16c]
jmp 0x401b05
mov eax, dword [ebp - 0x158]
mov edi, 1
add ebx, 2
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x14c]
mov edx, dword [eax]
sub esp, 4
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0x150]
mov dword [esp + 0xc], ecx
mov ecx, 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
mov edi, dword [ebp - 0x14c]
sub esp, 0x14
test edi, edi
jne 0x402027
mov eax, dword [ebp - 0x158]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 4
nop
lea esi, [esi]
mov eax, dword [ebp - 0x158]
lea edi, [ebp - 0x14c]
lea ecx, [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp + 0x10], edi
mov edi, 1
mov dword [esp + 0xc], ecx
mov ecx, 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x10]
mov edi, dword [ebp - 0x14c]
sub esp, 0x14
test edi, edi
je 0x401f7d
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
jmp 0x401ed1
mov eax, esi
call sym._convert_to_bstr
mov edi, dword [ebp - 0x140]
mov dword [esp], 0xfffffff5
call dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, str.__s
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._output_string
mov dword [esp], esi
call sym._VariantClear_4
sub esp, 4
mov eax, dword [ebp - 0x150]
xor edi, edi
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 0x14], edi
xor edi, edi
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x18
test eax, eax
je 0x401e90
call sym._output_newline
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x401e30
mov eax, dword [ebp - 0x180]
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
mov dword [ebp - 0x174], edi
call edi
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x150]
xor edi, edi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, 0x67
sub esp, 4
call sym._output_error
mov eax, 0xffffffff
mov dword [ebp - 0x16c], eax
xor eax, eax
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x401f92
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x401fa7
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x401fbc
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x188]
mov dword [esp], eax
call sym._SysFreeString_4
mov eax, dword [ebp - 0x180]
sub esp, 4
mov dword [esp], eax
call sym._SysFreeString_4
mov eax, dword [ebp - 0x17c]
sub esp, 4
mov dword [esp], eax
call sym._SysFreeString_4
mov eax, dword [ebp - 0x178]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x174]
call eax
call sym._CoUninitialize_0
mov eax, dword [ebp - 0x16c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
mov ecx, eax
jne 0x401a89
mov edx, 0xfffffffe
jmp 0x401a9e
mov eax, dword [ebp - 0x150]
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [edx + 0x20]
sub esp, 8
jmp 0x402080
mov dword [esp], 0xfffffff5
mov edi, dword [ebp - 0x154]
call dword [sym.imp.kernel32.dll_GetStdHandle]
mov edx, str.__s
sub esp, 4
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._output_string
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
call sym._SysFreeString_4
sub esp, 4
mov eax, dword [ebp - 0x150]
xor edi, edi
xor ecx, ecx
mov edx, dword [eax]
mov dword [esp + 0x10], edi
lea edi, [ebp - 0x154]
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 8], edi
xor edi, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [edx + 0x24]
sub esp, 0x18
test eax, eax
je 0x402040
call sym._output_newline
mov eax, dword [ebp - 0x150]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
jmp 0x401e1a
test edx, edx
je 0x402441
mov eax, edx
shr eax, 0x10
je 0x402198
mov dword [esp], edx
mov ecx, 0xffffffff
mov dword [esp + 4], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x402451
cmp word [esi], 0
je 0x402461
mov ecx, eax
cmp word [esi + ecx*2 + 2], 0
lea eax, [eax + 1]
jne 0x40210c
mov edx, 0x224c
mov edi, esi
mov word [ebp - 0x148], dx
lea ebx, [ebp - 0x26]
mov dword [ebp - 0x174], ebx
lea eax, [ebp - 0x146]
jmp 0x40216b
cmp edx, 9
je 0x402366
cmp edx, 0xa
jne 0x40230e
mov word [eax], 0x6e5c
add eax, 2
cmp eax, dword [ebp - 0x174]
lea edx, [ecx - 1]
ja 0x402383
test ecx, ecx
jle 0x402383
mov ecx, edx
movzx edx, word [edi]
add edi, 2
cmp edx, 0xd
je 0x4022f8
jbe 0x402138
cmp edx, 0x22
je 0x402359
cmp edx, 0x5c
jne 0x402305
mov word [eax], 0x5c5c
add eax, 2
jmp 0x402152
mov dword [esp], str._04x
movzx eax, dx
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x402433
shr eax, 0x10
je 0x4023b7
mov edi, dword [ebp - 0x170]
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x40243a
cmp word [edi], 0
je 0x40250a
mov edi, dword [ebp - 0x170]
mov ecx, eax
lea eax, [eax + 1]
cmp word [edi + ecx*2 + 2], 0
jne 0x4021f5
mov edi, dword [ebp - 0x170]
lea eax, [ebp - 0x146]
mov ebx, 0x224c
mov word [ebp - 0x148], bx
lea ebx, [ebp - 0x26]
mov dword [ebp - 0x174], ebx
jmp 0x40225a
cmp edx, 9
je 0x4022eb
cmp edx, 0xa
jne 0x402293
mov word [eax], 0x6e5c
add eax, 2
cmp eax, dword [ebp - 0x174]
lea edx, [ecx - 1]
ja 0x402408
test ecx, ecx
jle 0x402408
mov ecx, edx
movzx edx, word [edi]
add edi, 2
cmp edx, 0xd
je 0x40227c
jbe 0x40222b
cmp edx, 0x22
je 0x4022de
cmp edx, 0x5c
nop
jne 0x402286
mov word [eax], 0x5c5c
add eax, 2
jmp 0x402241
mov word [eax], 0x725c
add eax, 2
jmp 0x402241
lea ebx, [edx - 0x20]
cmp bx, 0x5e
jbe 0x40237b
mov byte [eax], 0x5c
mov ebx, edx
add eax, 5
shr ebx, 0xc
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 4], bl
mov ebx, edx
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 3], bl
mov ebx, edx
and edx, 0xf
shr ebx, 4
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 2], bl
movzx ebx, byte [edx + str.0123456789abcdefwmain]
mov byte [eax - 1], bl
jmp 0x402241
mov word [eax], 0x225c
add eax, 2
jmp 0x402241
mov word [eax], 0x745c
add eax, 2
jmp 0x402241
mov word [eax], 0x725c
add eax, 2
jmp 0x402152
lea ebx, [edx - 0x20]
cmp bx, 0x5e
jbe 0x402373
mov byte [eax], 0x5c
mov ebx, edx
add eax, 5
shr ebx, 0xc
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 4], bl
mov ebx, edx
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 3], bl
mov ebx, edx
and edx, 0xf
shr ebx, 4
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 2], bl
movzx ebx, byte [edx + str.0123456789abcdefwmain]
mov byte [eax - 1], bl
jmp 0x402152
mov word [eax], 0x225c
add eax, 2
jmp 0x402152
mov word [eax], 0x745c
add eax, 2
jmp 0x402152
mov byte [eax], dl
inc eax
jmp 0x402152
mov byte [eax], dl
inc eax
jmp 0x402241
mov byte [eax], 0x22
test edx, edx
jle 0x40247a
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
mov byte [edx], 0
lea eax, [ebp - 0x148]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x16c], eax
jmp 0x4021b1
mov dword [esp], str._04x
movzx eax, word [ebp - 0x170]
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0
mov dword [esp + 0x10], eax
mov ecx, dword [ebp - 0x16c]
mov eax, str._s___s_n
mov dword [esp + 0xc], eax
mov eax, str.query_prop
mov dword [esp + 8], eax
mov eax, section..data
mov dword [esp + 4], eax
mov dword [esp + 0x14], ecx
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x401889
mov byte [eax], 0x22
test edx, edx
jle 0x402523
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
mov byte [edx], 0
lea eax, [ebp - 0x148]
mov dword [esp], eax
call sym.___wine_dbg_strdup
jmp 0x4023ce
mov eax, str._null_
jmp 0x4023ce
mov eax, str._invalid_
jmp 0x4023ce
mov edx, str._null_
mov dword [ebp - 0x16c], edx
jmp 0x4021b1
mov eax, str._invalid_
mov dword [ebp - 0x16c], eax
jmp 0x4021b1
mov byte [ebp - 0x146], 0x22
mov eax, 0x224c
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x146]
lea edx, [eax + 1]
jmp 0x40239b
mov word [ebp - 0x148], 0x224c
lea eax, [ebp - 0x146]
mov byte [ebp - 0x146], 0x22
lea edx, [eax + 1]
mov byte [edx], 0
lea eax, [ebp - 0x148]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ebx, str.Unrecognized_class__s._n
mov esi, str.query_prop
mov dword [esp + 0x10], eax
mov edi, section..data
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor ecx, ecx
mov ebx, 0xffffffff
mov dword [ebp - 0x178], ecx
xor esi, esi
xor edi, edi
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x17c], edi
mov dword [ebp - 0x174], eax
jmp 0x401f7d
mov byte [ebp - 0x146], 0x22
lea eax, [ebp - 0x146]
mov ecx, 0x224c
mov word [ebp - 0x148], cx
lea edx, [eax + 1]
jmp 0x402420
mov eax, 0xffffffff
mov dword [ebp - 0x16c], eax
jmp 0x401f7d
xor eax, eax
xor edx, edx
mov dword [ebp - 0x178], eax
mov eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x16c], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor ebx, ebx
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x188], ebx
mov dword [ebp - 0x174], eax
jmp 0x401f7d
xor eax, eax
mov dword [ebp - 0x178], eax
xor eax, eax
mov dword [ebp - 0x180], eax
mov eax, 0xffffffff
mov dword [ebp - 0x16c], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x174], eax
jmp 0x401f7d
xor eax, eax
mov edx, 0xffffffff
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x16c], edx
jmp 0x401f7d
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x174], eax
jmp 0x401f3f
test byte [section..data], 4
je 0x4024d7
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x4026d9
shr eax, 0x10
je 0x4026bd
mov edi, dword [ebp - 0x170]
mov eax, 0xffffffff
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x4026e3
cmp word [edi], 0
je 0x402482
mov edi, dword [ebp - 0x170]
mov ecx, eax
lea eax, [eax + 1]
cmp word [edi + ecx*2 + 2], 0
jne 0x40261a
mov edi, dword [ebp - 0x170]
lea eax, [ebp - 0x146]
mov esi, 0x224c
mov word [ebp - 0x148], si
lea esi, [ebp - 0x26]
jmp 0x402675
cmp edx, 9
je 0x402755
cmp edx, 0xa
jne 0x40270a
mov word [eax], 0x6e5c
add eax, 2
lea edx, [ecx - 1]
test ecx, ecx
jle 0x4026ed
cmp eax, esi
ja 0x4026ed
mov ecx, edx
movzx edx, word [edi]
add edi, 2
cmp edx, 0xd
je 0x402762
jbe 0x40264a
cmp edx, 0x22
je 0x402780
cmp edx, 0x5c
jne 0x40276f
mov word [eax], 0x5c5c
add eax, 2
jmp 0x402664
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x174], eax
call eax
jmp 0x401f3f
mov dword [esp], str._04x
movzx edi, word [ebp - 0x170]
mov dword [esp + 4], edi
call sym._wine_dbg_sprintf.constprop.0
jmp 0x4024ac
mov eax, str._null_
jmp 0x4024ac
mov eax, str._invalid_
jmp 0x4024ac
mov byte [eax], 0x22
test edx, edx
jle 0x402498
mov word [eax + 1], 0x2e2e
lea edx, [eax + 4]
mov byte [eax + 3], 0x2e
jmp 0x40249b
mov byte [eax], 0x5c
mov ebx, edx
add eax, 5
shr ebx, 0xc
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 4], bl
mov ebx, edx
shr ebx, 8
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 3], bl
mov ebx, edx
and edx, 0xf
shr ebx, 4
and ebx, 0xf
movzx ebx, byte [ebx + str.0123456789abcdefwmain]
mov byte [eax - 2], bl
movzx ebx, byte [edx + str.0123456789abcdefwmain]
mov byte [eax - 1], bl
jmp 0x402664
mov word [eax], 0x745c
add eax, 2
jmp 0x402664
mov word [eax], 0x725c
add eax, 2
jmp 0x402664
lea ebx, [edx - 0x20]
cmp bx, 0x5e
ja 0x40270a
mov byte [eax], dl
inc eax
jmp 0x402664
mov word [eax], 0x225c
add eax, 2
jmp 0x402664