Function at 0x41a900
Capabilities:
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, dword fs:[0x18]
add esp, 0xffffff80
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.proxypass
mov dword [esp + 8], str.proxyuser
mov dword [esp + 4], 0
mov dword [esp], str.winetest
call dword [sym.imp.winhttp.dll_WinHttpOpen]
sub esp, 0x14
mov ebx, eax
mov dword [ebp - 0x68], eax
mov eax, 0x1122
call fcn.0040fbc0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_open_session__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.localhost
call dword [sym.imp.winhttp.dll_WinHttpConnect]
sub esp, 0x10
mov ebx, eax
mov dword [ebp - 0x64], eax
mov eax, 0x1125
call fcn.0040fbc0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_connection__lu_n
mov dword [esp + 8], eax
xor eax, eax
test ebx, ebx
setne al
mov dword [esp], eax
call fcn.00410490
mov eax, dword [sym.imp.winhttp.dll_WinHttpOpenRequest]
mov dword [esp], ebx
lea ebx, [ebp - 0x4c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [ebp - 0x6c], eax
call eax
sub esp, 0x1c
mov esi, eax
mov eax, 0x1128
call fcn.0040fbc0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test esi, esi
setne al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.winhttp.dll_WinHttpQueryOption]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov dword [ebp - 0x54], eax
call eax
sub esp, 0x10
mov dword [ebp - 0x58], eax
mov eax, 0x112c
call fcn.0040fbc0
mov eax, dword [edi + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_username__lu_n
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x58]
mov dword [esp], edx
call fcn.00410490
mov eax, 0x112d
call fcn.0040fbc0
mov eax, ebx
shr eax, 0x10
mov dword [ebp - 0x58], eax
je 0x41c720
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41aabf
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x112e
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x5c], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1133
call fcn.0040fbc0
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41ab60
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x1134
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.Unexpected_size__lu_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1138
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x1139
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c700
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41ac2c
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x113a
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x5c], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x113f
call fcn.0040fbc0
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41accd
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x1140
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.Unexpected_size__lu_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [str.proxyuser], 0
je 0x41ca10
mov eax, str.proxyuser
nop
add eax, 2
cmp word [eax], 0
jne 0x41ad20
sub eax, str.proxyuser
sar eax, 1
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.winhttp.dll_WinHttpSetOption]
mov dword [esp + 8], str.proxyuser
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov dword [ebp - 0x60], eax
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1143
call fcn.0040fbc0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x5c], edx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_set_username__lu_n
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1147
call fcn.0040fbc0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_username__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x1148
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c780
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41ae0c
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov eax, dword [sym.imp.msvcrt.dll_wcscmp]
mov dword [esp + 4], str.proxyuser
mov dword [esp], ebx
mov dword [ebp - 0x5c], eax
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1149
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxyuser], 0
je 0x41c910
mov eax, str.proxyuser
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41ae60
sub eax, str.proxyuser
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [str.proxyuser], 0
je 0x41c900
mov eax, str.proxyuser
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41aea0
sub eax, 0x43420a
mov dword [ebp - 0x50], eax
xor edi, edi
lea eax, [ebp - 0x50]
mov word [ebp - 0x4c], di
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x114f
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_username__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x1150
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c7a0
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41af3e
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], str.proxyuser
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1151
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxyuser], 0
je 0x41c920
mov eax, str.proxyuser
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41af90
sub eax, str.proxyuser
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov ecx, 1
lea eax, [ebp - 0x50]
mov word [ebp - 0x4c], cx
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1156
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b012
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x1157
call fcn.0040fbc0
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x41c760
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41b066
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 1
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1158
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxyuser], 0
je 0x41c9d0
mov eax, str.proxyuser
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b0a8
sub eax, 0x43420a
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1002
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x115d
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b12c
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x115e
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxyuser], 0
je 0x41c9e0
mov eax, str.proxyuser
add eax, 2
cmp word [eax], 0
jne 0x41b160
sub eax, 0x43420a
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.Unexpected_size__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1162
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_username__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x1163
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c740
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41b218
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1164
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1169
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b2b9
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x116a
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.Unexpected_size__lu_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x116e
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x116f
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c6c8
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41b385
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1170
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 4
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1175
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b426
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x1176
call fcn.0040fbc0
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.Unexpected_size__lu_n
cmp eax, 2
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [str.proxypass], 0
je 0x41c8a0
mov eax, str.proxypass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41b480
sub eax, str.proxypass
sar eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.proxypass
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x60]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1179
call fcn.0040fbc0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x70], edx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_set_proxy_password__lu_n
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x117d
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x117e
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c6e0
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41b567
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], str.proxypass
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x117f
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxypass], 0
je 0x41c9b0
mov eax, str.proxypass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41b5b8
sub eax, str.proxypass
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [str.proxypass], 0
je 0x41c9c0
mov eax, str.proxypass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b5f8
sub eax, 0x4341f6
mov dword [ebp - 0x50], eax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1185
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_proxy_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x1186
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c6a8
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41b696
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], str.proxypass
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x1187
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxypass], 0
je 0x41c8f0
mov eax, str.proxypass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b6e8
sub eax, str.proxypass
cmp edx, eax
mov dword [esp + 8], edx
mov edi, 1
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov word [ebp - 0x4c], di
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x118c
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b76a
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x118d
call fcn.0040fbc0
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x41c7c0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41b7be
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 1
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x118e
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxypass], 0
je 0x41c950
mov eax, str.proxypass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b800
sub eax, 0x4341f6
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1003
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1193
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41b884
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x1194
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.proxypass], 0
je 0x41c960
mov eax, str.proxypass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41b8c0
sub eax, 0x4341f6
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.Unexpected_size__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [0x4341ec], 0
je 0x41c940
mov eax, 0x4341ec
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41b900
sub eax, 0x4341ec
sar eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x4341ec
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x60]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x1197
call fcn.0040fbc0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x70], edx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_set_username__lu_n
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x119b
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_query_username__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x119c
call fcn.0040fbc0
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x41c820
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41b9e7
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], 0x4341ec
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x119d
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [0x4341ec], 0
je 0x41c8b0
mov eax, 0x4341ec
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41ba38
sub eax, 0x4341ec
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [0x4341ec], 0
je 0x41c8d0
mov eax, 0x4341ec
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41ba78
sub eax, 0x4341ea
mov dword [ebp - 0x50], eax
xor eax, eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11a3
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_username__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x11a4
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c800
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41bb16
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], 0x4341ec
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11a5
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [0x4341ec], 0
je 0x41c8c0
mov eax, 0x4341ec
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41bb68
sub eax, 0x4341ec
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 1
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x50]
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11aa
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41bbea
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x11ab
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c7e0
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41bc3e
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 1
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11ac
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [0x4341ec], 0
je 0x41c970
mov eax, 0x4341ec
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41bc80
sub eax, 0x4341ea
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x70], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1000
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11b1
call fcn.0040fbc0
mov edx, dword [ebp - 0x70]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41bd04
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x11b2
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [0x4341ec], 0
je 0x41c980
mov eax, 0x4341ec
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41bd40
sub eax, 0x4341ea
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.Unexpected_size__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
cmp word [str.pass], 0
je 0x41c990
mov eax, str.pass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41bd80
sub eax, str.pass
sar eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.pass
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x60]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11b5
call fcn.0040fbc0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x60], edx
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.failed_to_set_password__lu_n
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11b9
call fcn.0040fbc0
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x34]
mov dword [esp + 4], str.failed_to_query_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x11ba
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c880
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41be67
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], str.pass
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11bb
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.pass], 0
je 0x41c8e0
mov eax, str.pass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41beb8
sub eax, str.pass
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
xor edi, edi
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov word [ebp - 0x4c], di
cmp word [str.pass], 0
je 0x41c9a0
mov eax, str.pass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41bf00
sub eax, 0x4341de
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11c1
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], str.failed_to_query_password__lu_n
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00410490
mov eax, 0x11c2
call fcn.0040fbc0
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x41c860
mov dword [esp + 4], 0xffffffff
mov edi, str._invalid_
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
sub esp, 8
test eax, eax
jne 0x41bf98
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov edi, eax
mov dword [esp + 4], str.pass
mov dword [esp], ebx
mov eax, dword [ebp - 0x5c]
call eax
mov dword [esp + 8], edi
test eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11c3
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.pass], 0
je 0x41c930
mov eax, str.pass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41bfe8
sub eax, str.pass
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov edx, 1
lea eax, [ebp - 0x50]
mov word [ebp - 0x4c], dx
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x5c], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11c8
call fcn.0040fbc0
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41c06a
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x11c9
call fcn.0040fbc0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41c840
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41c0be
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 1
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11ca
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.pass], 0
je 0x41c9f0
mov eax, str.pass
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x41c100
sub eax, 0x4341de
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.unexpected_result__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0xdeadbeef
mov dword [ebp - 0x5c], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1001
mov dword [esp], esi
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11cf
call fcn.0040fbc0
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov ecx, dword [edx + 0x34]
test edi, edi
jne 0x41c184
xor eax, eax
cmp ecx, 0x7a
sete al
mov dword [esp + 8], ecx
mov dword [esp], eax
mov dword [esp + 4], str.Unexpected_error__lu_n
call fcn.00410490
mov eax, 0x11d0
call fcn.0040fbc0
mov edx, dword [ebp - 0x50]
cmp word [str.pass], 0
je 0x41ca00
mov eax, str.pass
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x41c1c0
sub eax, 0x4341de
cmp edx, eax
mov dword [esp + 8], edx
sete al
mov dword [esp + 4], str.Unexpected_size__lu_n
movzx eax, al
mov dword [esp], eax
call fcn.00410490
mov eax, dword [sym.imp.winhttp.dll_WinHttpCloseHandle]
mov dword [esp], esi
mov esi, dword fs:[0x18]
mov dword [ebp - 0x60], eax
call eax
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
sub esp, 0x1c
mov edi, eax
mov eax, 0x11d5
call fcn.0040fbc0
mov eax, dword [esi + 0x34]
mov dword [esp + 4], str.failed_to_open_a_request__lu_n
mov dword [esp + 8], eax
xor eax, eax
test edi, edi
setne al
mov dword [esp], eax
call fcn.00410490
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x4341ec
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [ebp - 0x5c], edi
mov dword [esp], edi
mov edi, dword [sym.imp.winhttp.dll_WinHttpSetCredentials]
call edi
mov ecx, dword [esi + 0x34]
sub esp, 0x18
mov dword [ebp - 0x70], eax
mov eax, 0x11da
mov dword [ebp - 0x6c], ecx
call fcn.0040fbc0
mov dword [esp + 4], str.expected_failure_n
mov edx, dword [ebp - 0x70]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11db
call fcn.0040fbc0
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
cmp ecx, 0x57
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [esi + 0x34], 0xdeadbeef
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.pass
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
mov ecx, dword [esi + 0x34]
sub esp, 0x18
mov dword [ebp - 0x70], eax
mov eax, 0x11e0
mov dword [ebp - 0x6c], ecx
call fcn.0040fbc0
mov dword [esp + 4], str.expected_failure_n
mov edx, dword [ebp - 0x70]
xor eax, eax
test edx, edx
sete al
mov dword [esp], eax
call fcn.00410490
mov eax, 0x11e1
call fcn.0040fbc0
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [esp + 4], str.expected_ERROR_INVALID_PARAMETER__got__lu_n
cmp ecx, 0x57
mov dword [esp + 8], ecx
sete al
mov dword [esp], eax
call fcn.00410490
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], str.pass
mov dword [esp + 0xc], 0x4341ec
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call edi
sub esp, 0x18
mov edi, eax
mov eax, 0x11e4
call fcn.0040fbc0
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.failed_to_set_credentials__lu_n
mov dword [esp + 8], eax
call fcn.00410490
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1000
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov edi, eax
mov eax, 0x11e8
call fcn.0040fbc0
mov eax, dword [esi + 0x34]
mov dword [esp], edi
mov dword [esp + 4], str.failed_to_query_username__lu_n
mov dword [esp + 8], eax
call fcn.00410490
mov esi, dword [0x4720d0]
call fcn.00431c30
mov edi, dword [ebp - 0x58]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [sym.imp.kernel32.dll_IsBadStringPtrW]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x41c4de
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call esi
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41c487
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x11eb
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
shr dword [eax + 0x10], 1
call fcn.00431c30
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
je 0x41c528
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x11ea
test edi, edi
jne 0x41c460
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41c487
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x20
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1001
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov eax, dword [ebp - 0x54]
call eax
sub esp, 0x10
mov esi, eax
mov eax, 0x11f0
call fcn.0040fbc0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], esi
mov dword [esp + 4], str.failed_to_query_password__lu_n
mov dword [esp + 8], eax
call fcn.00410490
mov esi, dword [0x4720d0]
call fcn.00431c30
mov edi, dword [ebp - 0x58]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
xor ecx, ecx
test esi, esi
mov esi, dword [sym.imp.kernel32.dll_IsBadStringPtrW]
setne cl
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x41c62e
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call esi
mov edx, eax
sub esp, 8
mov eax, str._invalid_
test edx, edx
jne 0x41c5d7
mov edx, 0xffffffff
mov eax, ebx
call fcn.0040f890
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], str.unexpected_result__s_n
cmp word [ebp - 0x4c], 0
sete al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x11f3
mov eax, dword [ebp - 0x50]
mov dword [esp + 4], str.expected_0__got__lu_n
test eax, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.00410490
call fcn.00431c30
shr dword [eax + 0x10], 1
call fcn.00431c30
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
je 0x41c678
call fcn.00431c30
mov dword [eax], 0x438e8a
mov dword [eax + 4], 0x11f2
test edi, edi
jne 0x41c5b0
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41c5d7
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
mov ebx, dword [ebp - 0x60]
call ebx
mov eax, dword [ebp - 0x64]
sub esp, 4
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x68]
sub esp, 4
mov dword [esp], eax
call ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41b696
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41b385
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41b567
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41ac2c
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41aabf
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41b218
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41b066
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41ae0c
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41af3e
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41b7be
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41bc3e
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41bb16
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41b9e7
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
jmp 0x41c0be
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41bf98
movzx eax, bx
mov dword [esp], str._04x
mov dword [esp + 4], eax
call fcn.0040f510
mov edi, eax
jmp 0x41be67
xor eax, eax
jmp 0x41b490
xor eax, eax
jmp 0x41ba46
xor eax, eax
jmp 0x41bb76
mov eax, 2
jmp 0x41ba86
xor eax, eax
jmp 0x41bec6
xor eax, eax
jmp 0x41b6f6
mov eax, 2
jmp 0x41aeae
xor eax, eax
jmp 0x41ae6e
xor eax, eax
jmp 0x41af9e
xor eax, eax
jmp 0x41bff6
xor eax, eax
jmp 0x41b910
mov eax, 2
jmp 0x41b80e
mov eax, 2
jmp 0x41b8ce
mov eax, 2
jmp 0x41bc8e
mov eax, 2
jmp 0x41bd4e
xor eax, eax
jmp 0x41bd90
mov eax, 2
jmp 0x41bf0e
xor eax, eax
jmp 0x41b5c6
mov eax, 2
jmp 0x41b606
mov eax, 2
jmp 0x41b0b6
mov eax, 2
jmp 0x41b16e
mov eax, 2
jmp 0x41c10e
mov eax, 2
jmp 0x41c1ce
xor eax, eax
jmp 0x41ad30