Function at 0x402260
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a9e4
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x43c048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x148], esi
xor eax, eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
nop dword [eax]
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x402bfa
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x4023c1
inc eax
push eax
call fcn.00410fb3
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x402626
mov ecx, dword [ebp - 0x154]
inc ecx
push ecx
push 0
push ebx
call fcn.0040dff0
add esp, 0xc
mov dword [ebp - 0x144], 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x154]
push ebx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4025e0
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x402341
mov edx, dword [ebp - 0x14]
sub edi, ecx
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub eax, ecx
push edi
push ebx
cmp edi, eax
ja 0x402381
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.0040da70
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x148]
jmp 0x402390
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x28]
push edi
call fcn.00407f20
mov ecx, dword [ebp - 0x154]
mov eax, ebx
add ecx, 1
je 0x4023ab
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x4023a0
push ebx
call fcn.00410fbe
add esp, 4
cmp dword [ebp - 0x154], 0
ja 0x4022c0
cmp dword [0x43df3c], 0x10
lea ecx, [ebp - 0x204]
mov eax, 0x43df28
cmovae eax, dword [0x43df28]
sub esp, 0xc
push eax
call fcn.004048a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x204]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
call fcn.00408c60
push eax
call fcn.004077a0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040aca0
push 0x43794c
call fcn.0040aca0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x204]
call fcn.004019e0
push str._feature_enabled_true__name_am___
lea ecx, [ebp - 0x88]
call fcn.004014c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
push str._feature_enabled_true__name_sso___
call fcn.004014c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
push str._feature_enabled_true__name_am_sso___
call fcn.004014c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push str._feature_displayText_Confirm_ID__enabled_true__name_CID_Any___
call fcn.004014c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 0x132], 0
mov byte [ebp - 0x133], 0
mov byte [ebp - 0x134], 0
mov byte [ebp - 0x135], 0
test ecx, ecx
je 0x402bc3
mov ebx, dword [ebp - 0x78]
test ebx, ebx
je 0x4026d4
cmp dword [ebp - 0x74], 0x10
lea esi, [ebp - 0x88]
lea edx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x88]
setae byte [ebp - 0x131]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x14c], esi
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x150], edx
cmp ebx, ecx
ja 0x4025a0
sub ecx, ebx
lea eax, [ecx + 1]
movsx ecx, byte [esi]
add eax, edx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x148], eax
sub eax, edx
push eax
push ecx
push edx
call fcn.0040e310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4025a0
mov edx, esi
mov ecx, edi
mov esi, ebx
sub esi, 4
jb 0x402531
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40253a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402520
cmp esi, 0xfffffffc
je 0x40265e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402577
cmp esi, 0xfffffffd
je 0x40265e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402577
cmp esi, 0xfffffffe
je 0x40265e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402577
cmp esi, 0xffffffff
je 0x40265e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x40265e
mov eax, dword [ebp - 0x148]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x144]
push edi
call fcn.0040e310
mov esi, dword [ebp - 0x14c]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x402510
or edi, 0xffffffff
cmp edi, 0xffffffff
mov edx, str._is_enabled
mov eax, str._is_not_enabled
setne byte [ebp - 0x132]
cmove edx, eax
mov byte [ebp - 4], 9
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4025c3
mov eax, 0x7fffffff
sub ecx, esi
sub eax, ebx
cmp eax, ecx
jb 0x402c64
jmp 0x402669
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WinHttpReadData_failed
lea ecx, [ebp - 0xa0]
mov esi, eax
call fcn.004014c0
mov byte [ebp - 4], 3
mov edx, esi
lea ecx, [ebp - 0xa0]
call fcn.00402d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.0040b1c0
push ebx
call fcn.00410fbe
add esp, 4
jmp 0x402c32
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Out_of_memory
lea ecx, [ebp - 0xb8]
mov esi, eax
call fcn.004014c0
mov byte [ebp - 4], 2
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.00402d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
jmp 0x402c2d
sub edi, dword [ebp - 0x150]
jmp 0x4025a3
cmp byte [ebp - 0x131], 0
lea eax, [ebp - 0x88]
push ecx
cmovne eax, dword [ebp - 0x88]
push edx
push ebx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0xd0]
call fcn.00404e50
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x140], 1
call fcn.00402c80
mov edi, 1
mov dword [ebp - 0x140], edi
and edi, 0xfffffffe
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xd0]
call fcn.0040b1c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402b98
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x402864
cmp dword [ebp - 0x5c], 0x10
lea esi, [ebp - 0x70]
lea edx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x70]
setae byte [ebp - 0x131]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x144], esi
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x13c], edx
cmp ebx, ecx
ja 0x4027c0
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
movsx ecx, byte [esi]
mov dword [ebp - 0x150], eax
sub eax, edx
push eax
push ecx
push edx
mov dword [ebp - 0x148], ecx
call fcn.0040e310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4027c0
mov edx, esi
mov ecx, edi
mov esi, ebx
sub esi, 4
jb 0x402761
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40276a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402750
cmp esi, 0xfffffffc
je 0x4027fd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40279b
cmp esi, 0xfffffffd
je 0x4027fd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40279b
cmp esi, 0xfffffffe
je 0x4027fd
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40279b
cmp esi, 0xffffffff
je 0x4027fd
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4027fd
mov eax, dword [ebp - 0x150]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x148]
push edi
call fcn.0040e310
mov esi, dword [ebp - 0x144]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x402745
or edi, 0xffffffff
cmp edi, 0xffffffff
mov edx, str._is_enabled
mov eax, str._is_not_enabled
setne byte [ebp - 0x133]
cmove edx, eax
mov byte [ebp - 4], 0xa
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4027e3
mov eax, 0x7fffffff
sub ecx, esi
sub eax, ebx
cmp eax, ecx
jb 0x402c69
jmp 0x402805
sub edi, dword [ebp - 0x13c]
jmp 0x4027c3
cmp byte [ebp - 0x131], 0
lea eax, [ebp - 0x70]
push ecx
cmovne eax, dword [ebp - 0x70]
push edx
push ebx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0xe8]
call fcn.00404e50
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0xe8]
or edi, 2
mov dword [ebp - 0x140], edi
call fcn.00402c80
and edi, 0xfffffffd
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.0040b1c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402b98
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x4029f8
cmp dword [ebp - 0x44], 0x10
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x58]
setae byte [ebp - 0x131]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x148], esi
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x144], edx
cmp ebx, ecx
ja 0x402954
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
movsx ecx, byte [esi]
mov dword [ebp - 0x13c], eax
sub eax, edx
push eax
push ecx
push edx
mov dword [ebp - 0x150], ecx
call fcn.0040e310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x402954
mov edx, esi
mov ecx, edi
mov esi, ebx
sub esi, 4
jb 0x4028f1
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4028fa
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4028e0
cmp esi, 0xfffffffc
je 0x402991
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x40292f
cmp esi, 0xfffffffd
je 0x402991
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x40292f
cmp esi, 0xfffffffe
je 0x402991
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x40292f
cmp esi, 0xffffffff
je 0x402991
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x402991
mov eax, dword [ebp - 0x13c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x150]
push edi
call fcn.0040e310
mov esi, dword [ebp - 0x148]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4028d5
or edi, 0xffffffff
cmp edi, 0xffffffff
mov edx, str._is_enabled
mov eax, str._is_not_enabled
setne byte [ebp - 0x134]
cmove edx, eax
mov byte [ebp - 4], 0xb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402977
mov eax, 0x7fffffff
sub ecx, esi
sub eax, ebx
cmp eax, ecx
jb 0x402c6e
jmp 0x402999
sub edi, dword [ebp - 0x144]
jmp 0x402957
cmp byte [ebp - 0x131], 0
lea eax, [ebp - 0x58]
push ecx
cmovne eax, dword [ebp - 0x58]
push edx
push ebx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x100]
call fcn.00404e50
mov edi, dword [ebp - 0x14c]
lea ecx, [ebp - 0x100]
or edi, 4
mov dword [ebp - 0x140], edi
call fcn.00402c80
and edi, 0xfffffffb
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x140], edi
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x100]
call fcn.0040b1c0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402b98
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x402b98
cmp dword [ebp - 0x2c], 0x10
lea esi, [ebp - 0x40]
lea edx, [ebp - 0x28]
cmovae esi, dword [ebp - 0x40]
setae byte [ebp - 0x131]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x148], esi
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x144], edx
cmp ebx, ecx
ja 0x402af8
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
movsx ecx, byte [esi]
mov dword [ebp - 0x13c], eax
sub eax, edx
push eax
push ecx
push edx
mov dword [ebp - 0x150], ecx
call fcn.0040e310
mov edi, eax
add esp, 0xc
test edi, edi
je 0x402af8
nop dword [eax]
mov edx, esi
mov ecx, edi
mov esi, ebx
sub esi, 4
jb 0x402a91
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402a9a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402a80
cmp esi, 0xfffffffc
je 0x402b3a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x402acf
cmp esi, 0xfffffffd
je 0x402b3a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x402acf
cmp esi, 0xfffffffe
je 0x402b3a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x402acf
cmp esi, 0xffffffff
je 0x402b3a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x402b3a
mov eax, dword [ebp - 0x13c]
inc edi
sub eax, edi
push eax
push dword [ebp - 0x150]
push edi
call fcn.0040e310
mov esi, dword [ebp - 0x148]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x402a70
or edi, 0xffffffff
cmp edi, 0xffffffff
mov esi, str._is_enabled
mov eax, str._is_not_enabled
setne byte [ebp - 0x135]
cmove esi, eax
mov byte [ebp - 4], 0xc
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402b20
mov eax, 0x7fffffff
sub ecx, edx
sub eax, ebx
cmp eax, ecx
jb 0x402c73
jmp 0x402b42
sub edi, dword [ebp - 0x144]
jmp 0x402afb
cmp byte [ebp - 0x131], 0
lea eax, [ebp - 0x40]
push ecx
cmovne eax, dword [ebp - 0x40]
push esi
push ebx
push eax
push ecx
push dword [ebp - 0x13c]
lea ecx, [ebp - 0x118]
call fcn.00404e50
mov ebx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x118]
or ebx, 8
mov dword [ebp - 0x140], ebx
call fcn.00402c80
and ebx, 0xfffffff7
mov dword [ebp - 0x140], ebx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x118]
call fcn.0040b1c0
cmp byte [ebp - 0x132], 0
jne 0x402bc3
cmp byte [ebp - 0x133], 0
jne 0x402bc3
cmp byte [ebp - 0x134], 0
jne 0x402bc3
cmp byte [ebp - 0x135], 0
je 0x402bc3
mov esi, 2
jmp 0x402bc5
xor esi, esi
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0040b1c0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.0040b1c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0040b1c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040b1c0
jmp 0x402c37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WinHttpQueryDataAvailable_failed
lea ecx, [ebp - 0x130]
mov esi, eax
call fcn.004014c0
mov byte [ebp - 4], 1
mov edx, esi
lea ecx, [ebp - 0x130]
call fcn.00402d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.0040b1c0
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040b1c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c7f2
mov esp, ebp
pop ebp
ret
call fcn.0040b6b0
call fcn.0040b6b0
call fcn.0040b6b0
call fcn.0040b6b0
int3