Function at 0x428430
Capabilities:
Check http status code
Print debug messages
Read file on windows

Disassembly:
mov eax, 0x2888
call fcn.00443410
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x2884], eax
mov eax, dword [esp + 0x2894]
push ebx
push esi
mov esi, dword [esp + 0x2894]
push edi
mov edi, dword [esp + 0x289c]
xor ebx, ebx
push 0x3c
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x94]
push ebx
push ecx
mov dword [esp + 0x3c], edx
mov byte [esp + 0x1b], bl
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
call fcn.004375f0
lea eax, [esp + 0x89c]
mov dword [esp + 0x50], eax
mov eax, 0x800
add esp, 0xc
lea edx, [esp + 0x70]
lea ecx, [esp + 0x1890]
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
cmp byte [esi + 0xe8], bl
je 0x4284e3
push str.KSReportNet:_CrackedUrl
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, edi
call fcn.004069f0
cmp dword [esi + 0x6c], ebx
je 0x42898e
test eax, eax
je 0x42898e
cmp dword [esi + 0x68], ebx
je 0x428514
lea edx, [esp + 0x34]
push edx
push 0x80000000
push 0
push eax
mov eax, dword [esi + 0x28]
call eax
jmp 0x428526
mov edx, dword [esi + 0x58]
lea ecx, [esp + 0x34]
push ecx
push 0x80000000
push 0
push eax
call edx
test eax, eax
je 0x42898e
cmp byte [esi + 0xe8], bl
je 0x428541
push str.KSReportNet:_OpenSession
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [esi + 0xc8], bl
je 0x42857d
cmp dword [esi + 0xe4], 8
jb 0x42855a
mov eax, dword [esi + 0xd0]
jmp 0x428560
lea eax, [esi + 0xd0]
push 0
push 0
push eax
push 3
push 0x45bbc0
cmp dword [esi + 0x68], ebx
je 0x428576
mov eax, dword [esi + 4]
jmp 0x428599
mov ecx, dword [esi + 0x38]
call ecx
jmp 0x42859b
push 0
push 0
push 0
push 0
push 0x45bbc0
cmp dword [esi + 0x68], ebx
je 0x428596
mov edx, dword [esi + 4]
call edx
jmp 0x42859b
mov eax, dword [esi + 0x38]
call eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x42898e
mov edi, dword [esp + 0x10]
mov eax, 0x7530
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0xea60
cmp dword [esi + 0x6c], ebx
je 0x428608
cmp dword [esi + 0x68], ebx
je 0x4285db
mov ecx, dword [esi + 0x30]
push eax
push eax
push 0xea60
push 0
push edi
call ecx
jmp 0x428608
mov eax, dword [esi + 0x5c]
push 4
lea edx, [esp + 0x24]
push edx
push 2
push edi
call eax
mov edx, dword [esi + 0x5c]
push 4
lea ecx, [esp + 0x20]
push ecx
push 5
push edi
call edx
mov ecx, dword [esi + 0x5c]
push 4
lea eax, [esp + 0x18]
push eax
push 6
push edi
call ecx
cmp byte [esi + 0xe8], bl
je 0x42861b
push str.KSReportNet:_Connect
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, word [esp + 0x4c]
cmp dword [esi + 0x6c], ebx
jne 0x42862e
mov dword [esp + 0x1c], ebx
jmp 0x42898e
push 0
cmp dword [esi + 0x68], ebx
je 0x428646
push eax
mov eax, dword [esi + 8]
lea edx, [esp + 0x898]
push edx
push edi
call eax
jmp 0x42865d
mov edx, dword [esi + 0x3c]
push 0
push 3
push 0
push 0
push eax
lea ecx, [esp + 0x8a8]
push ecx
push edi
call edx
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x42898e
cmp byte [esi + 0xe8], bl
je 0x42867e
push str.KSReportNet:_OpenRequest
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x40]
push edi
lea ecx, [esp + 0x1894]
mov edx, str.POST
call fcn.0041c390
mov ebx, eax
test ebx, ebx
je 0x42898e
cmp dword [esi + 0x6c], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
je 0x4286fa
push str.Connection:_close
call edi
cmp dword [esi + 0x68], 0
push 0x20000000
push eax
push str.Connection:_close
push ebx
je 0x4286ca
mov eax, dword [esi + 0x10]
call eax
jmp 0x4286cf
mov ecx, dword [esi + 0x44]
call ecx
cmp dword [esi + 0x6c], 0
je 0x4286fa
push str.Cache_Control:_no_cache
call edi
cmp dword [esi + 0x68], 0
push 0x20000000
push eax
push str.Cache_Control:_no_cache
push ebx
je 0x4286f5
mov edx, dword [esi + 0x10]
call edx
jmp 0x4286fa
mov eax, dword [esi + 0x44]
call eax
mov ecx, dword [esp + 0x2c]
push 0x45ddc8
push ecx
call fcn.00432bde
mov edi, eax
add esp, 8
test edi, edi
je 0x42898e
push ebp
push 2
push 0
push edi
call fcn.00432a95
push edi
call fcn.00433fe1
push 0
push 0
push edi
mov ebp, eax
call fcn.00432a95
add esp, 0x1c
test ebp, ebp
jne 0x428748
push edi
call fcn.004321be
add esp, 4
jmp 0x42898d
cmp ebp, 0x800
jb 0x428760
lea edx, [ebp + 1]
push edx
call fcn.0042f5a6
add esp, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push edi
push ebp
push 1
push eax
call fcn.00433e27
push edi
mov ebp, eax
call fcn.004321be
add esp, 0x14
test ebp, ebp
je 0x42898d
cmp byte [esi + 0xe8], 0
je 0x428795
push str.KSReportNet:_SendRequest
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x6c], 0
je 0x42898d
cmp dword [esi + 0x68], 0
je 0x4287ba
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x14]
push 0
push ebp
push ebp
push ecx
push 0
push 0
push ebx
call edx
jmp 0x4287ca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x48]
push ebp
push eax
push 0
push 0
push ebx
call ecx
test eax, eax
je 0x42898d
cmp byte [esi + 0xe8], 0
je 0x4287e6
push str.KSReportNet:_PrepareResponse
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x6c], 0
je 0x42898d
cmp dword [esi + 0x68], 0
je 0x428806
mov edx, dword [esi + 0x18]
push 0
push ebx
call edx
test eax, eax
je 0x42898d
cmp byte [esi + 0xe8], 0
je 0x42881a
push str.KSReportNet:_QueryInfo_CODE
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x6c], 0
mov dword [esp + 0x2c], 0x800
je 0x42898d
cmp dword [esi + 0x68], 0
push 0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x98]
push eax
push ecx
je 0x42884d
mov edx, dword [esi + 0x1c]
push 0
push 0x13
push ebx
call edx
jmp 0x428855
mov edx, dword [esi + 0x4c]
push 0x13
push ebx
call edx
test eax, eax
je 0x42898d
lea eax, [esp + 0x94]
push eax
call fcn.00430d91
mov ecx, dword [esp + 0x38]
add esp, 4
cmp eax, 0xc8
sete dl
mov byte [esp + 0x13], dl
test ecx, ecx
je 0x428883
mov dword [ecx], eax
test dl, dl
je 0x42898d
cmp dword [esp + 0x28], 0
je 0x42898d
cmp byte [esi + 0xe8], 0
je 0x4288aa
push str.KSReportNet:_QueryInfo_Content
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esi + 0x6c], 0
mov dword [esp + 0x24], 0x800
je 0x42898d
cmp dword [esi + 0x68], 0
push 0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x98]
push ecx
push edx
je 0x4288dd
mov eax, dword [esi + 0x1c]
push 0
push 5
push ebx
call eax
jmp 0x4288e5
mov eax, dword [esi + 0x4c]
push 5
push ebx
call eax
test eax, eax
je 0x42898d
lea ecx, [esp + 0x94]
push ecx
call fcn.00430d91
add esp, 4
cmp byte [esi + 0xe8], 0
mov edi, eax
mov dword [esp + 0x18], 0
je 0x42891b
push str.KSReportNet:_ReadData
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test edi, edi
jle 0x42898d
mov ebp, dword [esp + 0x28]
cmp dword [esi + 0x6c], 0
je 0x42898d
cmp dword [esi + 0x68], 0
lea edx, [esp + 0x18]
push edx
push 0x7ff
lea eax, [esp + 0x9c]
push eax
push ebx
je 0x428947
mov ecx, dword [esi + 0x20]
jmp 0x42894a
mov ecx, dword [esi + 0x50]
call ecx
test eax, eax
je 0x42898d
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x94]
mov byte [esp + edx + 0x94], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428966
sub eax, edx
push eax
lea eax, [esp + 0x98]
push eax
mov eax, ebp
call fcn.0040d8e0
mov eax, dword [esp + 0x18]
cmp edi, eax
jbe 0x42898d
sub edi, eax
test edi, edi
jg 0x428923
pop ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KSReportNet_error_code:__x
lea ecx, [esp + 0x98]
push 0x800
push ecx
call fcn.0043387e
add esp, 0x10
cmp byte [esi + 0xe8], 0
je 0x4289c6
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x90]
cmp eax, ecx
je 0x4289de
push eax
call fcn.0043090f
add esp, 4
test ebx, ebx
je 0x4289fb
cmp dword [esi + 0x6c], 0
je 0x4289fb
cmp dword [esi + 0x68], 0
push ebx
je 0x4289f6
mov edx, dword [esi + 0x24]
call edx
jmp 0x4289fb
mov eax, dword [esi + 0x54]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x428a1c
cmp dword [esi + 0x6c], 0
je 0x428a1c
cmp dword [esi + 0x68], 0
push eax
je 0x428a17
mov ecx, dword [esi + 0x24]
call ecx
jmp 0x428a1c
mov edx, dword [esi + 0x54]
call edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x428a3d
cmp dword [esi + 0x6c], 0
je 0x428a3d
cmp dword [esi + 0x68], 0
push eax
je 0x428a38
mov eax, dword [esi + 0x24]
call eax
jmp 0x428a3d
mov ecx, dword [esi + 0x54]
call ecx
mov ecx, dword [esp + 0x2890]
movzx eax, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00430900
add esp, 0x2888
ret 0xc