Function at 0x420256
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452469
mov eax, dword fs:[0]
push eax
mov eax, 0x292c
call fcn.0043eba0
mov eax, dword [0x46d978]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x28f4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28f0], eax
xor eax, eax
push 0x461a78
lea ecx, [ebp - 0x28d8]
mov byte [ebp - 0x28d9], al
mov dword [ebp - 0x28e4], eax
mov dword [ebp - 0x28ec], eax
mov ebx, eax
call fcn.00404a24
and dword [ebp - 4], ebx
push 0x461a74
lea ecx, [ebp - 0x2878]
call fcn.004012d4
push 0xf
xor ecx, ecx
pop eax
mov dword [ebp - 0x284c], eax
mov dword [ebp - 0x2850], ecx
mov byte [ebp - 0x2860], cl
mov dword [ebp - 0x287c], eax
mov dword [ebp - 0x2880], ecx
mov byte [ebp - 0x2890], cl
lea ecx, [ebp - 0x2890]
mov byte [ebp - 4], 3
call fcn.0041dc61
mov edi, 0x461acc
push edi
call fcn.00401001
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2860]
call fcn.0041ab41
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2890]
push eax
lea ecx, [ebp - 0x2860]
call fcn.0041aa9b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2890]
push eax
lea ecx, [ebp - 0x2878]
call fcn.0041aa9b
push 0xf
xor ecx, ecx
pop eax
mov dword [ebp - 0x28ac], eax
mov dword [ebp - 0x28b0], ecx
mov byte [ebp - 0x28c0], cl
mov dword [ebp - 0x2894], eax
mov dword [ebp - 0x2898], ecx
mov byte [ebp - 0x28a8], cl
lea eax, [ebp - 0x28a8]
push eax
lea eax, [ebp - 0x28c0]
push eax
mov byte [ebp - 4], 5
call fcn.004200ae
mov edi, 0x461ac8
push edi
call fcn.00401001
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2860]
call fcn.0041ab41
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28c0]
push eax
lea ecx, [ebp - 0x2860]
call fcn.0041aa9b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28c0]
push eax
lea ecx, [ebp - 0x2878]
call fcn.0041aa9b
mov edi, str.ip
push edi
call fcn.00401001
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2860]
call fcn.0041ab41
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28a8]
push eax
lea ecx, [ebp - 0x2860]
call fcn.0041aa9b
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x28a8]
push eax
lea ecx, [ebp - 0x2878]
call fcn.0041aa9b
mov edi, str.lm9823_jhssdfmq6ok9x
push edi
call fcn.00401001
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2878]
call fcn.0041ab41
push dword [ebp - 0x2868]
xor eax, eax
cmp dword [ebp - 0x2864], 0x10
mov byte [ebp - 0x2844], bl
lea edi, [ebp - 0x2843]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edx, [ebp - 0x2878]
cmovae edx, dword [ebp - 0x2878]
lea ecx, [ebp - 0x2844]
stosd dword es:[edi], eax
call fcn.0041f06b
pop ecx
push 0x10
lea eax, [ebp - 0x2844]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041fdb1
lea ecx, [ebp - 0x2890]
push eax
call fcn.004048fe
lea ecx, [ebp - 0x28]
call fcn.00401303
mov edi, 0x461af0
push edi
call fcn.00401001
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2860]
call fcn.0041ab41
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x2890]
push eax
lea ecx, [ebp - 0x2860]
call fcn.0041aa9b
lea eax, [ebp - 0x2860]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00420186
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x28d8]
mov byte [ebp - 4], 6
call fcn.0040536b
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.00404e3f
xor eax, eax
mov dword [ebp - 0x2834], 0xf
mov dword [ebp - 0x2838], eax
mov byte [ebp - 0x2848], al
push 0x3c
pop edi
push edi
push eax
lea eax, [ebp - 0x2934]
push eax
mov byte [ebp - 4], 7
call fcn.00435650
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2930], eax
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x2924], eax
add esp, 0xc
cmp dword [ebp - 0x28c4], 8
mov ecx, 0x800
lea eax, [ebp - 0x1830]
mov dword [ebp - 0x2920], ecx
mov dword [ebp - 0x2908], eax
mov dword [ebp - 0x2904], ecx
lea ecx, [ebp - 0x2934]
lea eax, [ebp - 0x28d8]
cmovae eax, dword [ebp - 0x28d8]
push ecx
push eax
mov ecx, esi
mov dword [ebp - 0x2934], edi
mov dword [ebp - 0x292c], 0x10
call fcn.00417f81
test eax, eax
jne 0x420598
lea ecx, [ebp - 0x2848]
mov byte [ebp - 4], 5
call fcn.00401303
mov edi, ebx
jmp 0x4207ac
cmp byte [esi + 0xc4], 0
je 0x4205c2
lea eax, [esi + 0xc8]
cmp dword [eax + 0x14], 8
jb 0x4205af
mov eax, dword [eax]
push ecx
push ecx
push eax
push 3
push 0x460b78
mov ecx, esi
call fcn.00417d41
jmp 0x4205da
xor eax, eax
push eax
push eax
push eax
push eax
push 0x460b78
cmp dword [esi + 0x70], eax
je 0x4205d7
call dword [esi + 4]
jmp 0x4205da
call dword [esi + 0x3c]
mov edi, eax
test edi, edi
je 0x42079d
sub esp, 0x10
mov ecx, esi
push edi
call fcn.00417fb2
movzx eax, word [ebp - 0x291c]
push eax
lea eax, [ebp - 0x2830]
push eax
push edi
mov ecx, esi
call fcn.00417d62
mov dword [ebp - 0x28ec], eax
test eax, eax
je 0x42079d
push dword [ebp - 0x2928]
lea ecx, [ebp - 0x1830]
push ecx
push 0x460c48
push eax
mov ecx, esi
call fcn.00417d95
mov ebx, eax
test ebx, ebx
je 0x42079d
push 0
push 0
push ebx
mov ecx, esi
call fcn.00417eb9
test eax, eax
je 0x42079d
push ebx
mov ecx, esi
call fcn.00417eee
test eax, eax
je 0x42079d
lea eax, [ebp - 0x28f8]
push eax
lea eax, [ebp - 0x830]
push eax
push 0x13
push ebx
mov ecx, esi
mov dword [ebp - 0x28f8], 0x800
call fcn.00417f0d
test eax, eax
je 0x42079d
lea eax, [ebp - 0x830]
push eax
call fcn.0042decf
cmp eax, 0xc8
sete al
pop ecx
mov byte [ebp - 0x28d9], al
test al, al
je 0x42079d
and dword [ebp - 0x28e8], 0
lea eax, [ebp - 0x28e8]
push eax
push ebx
mov ecx, esi
call fcn.00417f3c
test eax, eax
je 0x42079d
and dword [ebp - 0x28e0], 0
mov eax, dword [ebp - 0x28e8]
jmp 0x420753
cmp dword [esi + 0x74], 0
je 0x420761
cmp dword [esi + 0x70], 0
lea eax, [ebp - 0x28e0]
push eax
push 0x7ff
lea eax, [ebp - 0x830]
push eax
push ebx
je 0x4206ff
call dword [esi + 0x20]
jmp 0x420702
call dword [esi + 0x54]
test eax, eax
je 0x420761
mov eax, dword [ebp - 0x28e0]
cmp eax, 0x800
jae 0x42085e
mov byte [ebp + eax - 0x830], 0
lea eax, [ebp - 0x830]
push eax
call fcn.00401001
pop ecx
push eax
lea eax, [ebp - 0x830]
push eax
lea ecx, [ebp - 0x2848]
call fcn.0041ab41
mov eax, dword [ebp - 0x28e4]
cmp eax, dword [ebp - 0x28e0]
jbe 0x420761
sub eax, dword [ebp - 0x28e0]
mov dword [ebp - 0x28e4], eax
test eax, eax
jg 0x4206d6
push dword [ebp - 0x28f0]
lea eax, [ebp - 0x2848]
push dword [ebp - 0x28f4]
push eax
call fcn.0041ffbc
mov eax, dword [ebp - 0x28f4]
cmp dword [eax + 0x10], 0
je 0x420796
cmp dword [eax + 0x10], 0x28
ja 0x420796
mov eax, dword [ebp - 0x28f0]
cmp byte [eax], 0
jne 0x42079d
mov byte [ebp - 0x28d9], 0
lea ecx, [ebp - 0x2848]
mov byte [ebp - 4], 5
call fcn.00401303
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KSReportNet_error_code:__x
lea eax, [ebp - 0x830]
push 0x800
push eax
call fcn.0043070e
add esp, 0x10
test ebx, ebx
je 0x4207d8
push ebx
mov ecx, esi
call fcn.00417f5e
mov eax, dword [ebp - 0x28ec]
test eax, eax
je 0x4207ea
push eax
mov ecx, esi
call fcn.00417f5e
test edi, edi
je 0x4207f6
push edi
mov ecx, esi
call fcn.00417f5e
lea ecx, [ebp - 0x28a8]
call fcn.00401303
lea ecx, [ebp - 0x28c0]
call fcn.00401303
lea ecx, [ebp - 0x2890]
call fcn.00401303
lea ecx, [ebp - 0x2860]
call fcn.00401303
lea ecx, [ebp - 0x2878]
call fcn.00401303
push 0
push 1
lea ecx, [ebp - 0x28d8]
call fcn.00404e3f
mov al, byte [ebp - 0x28d9]
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.0042d3d2
leave
ret 8
call fcn.0042e41f
int3