Function at 0x42baf4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d030
mov eax, dword fs:[0]
push eax
mov eax, 0x3254
call fcn.00449020
mov eax, dword [0x4a6554]
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 eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x3228], eax
mov eax, dword [ebp + 0x20]
push 1
lea ecx, [ebp - 0x3220]
push ecx
mov dword [ebp - 0x3224], eax
mov eax, dword [esi + 0x30]
mov ebx, 0x3e8
push ebx
push eax
call fcn.0042a6cc
add esp, 0x10
cmp eax, 3
jne 0x42bba7
mov eax, dword [ebp - 0x3228]
mov esi, dword [eax + 0x104]
mov eax, dword [ebp + 0x10]
push 0
push dword [eax]
mov eax, dword [ebp + 0x18]
push str.wlid
push dword [ebp - 0x3224]
push dword [eax]
push dword [edi]
call fcn.0042b13f
add esp, 0x18
push esi
push str.WaitFirstJob_IDLE__dBytes_r
call fcn.00447033
add eax, 0x40
push eax
call fcn.004480de
add esp, 0xc
jmp 0x42bee8
cmp eax, 2
jne 0x42bd16
push str.WaitFirstJob_E_WAITDOWNJOB_SVRRESP_First_r_n
call fcn.00447033
add eax, 0x40
push eax
call fcn.004480de
pop ecx
pop ecx
lea eax, [ebp - 0x1854]
push eax
mov ecx, esi
call fcn.00425b33
lea eax, [ebp - 0x1810]
push eax
lea ecx, [ebp - 0x3244]
call fcn.004039c0
lea eax, [ebp - 0x3244]
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004274b0
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x3244]
call fcn.00401660
lea eax, [ebp - 0x188c]
push eax
mov ecx, esi
call fcn.00425aea
test eax, eax
je 0x42bca9
push dword [ebp - 0x3220]
mov ecx, dword [ebp - 0x3228]
call fcn.0042a28a
mov ecx, esi
call fcn.00425b87
test eax, eax
je 0x42bc92
push dword [ebp - 0x1888]
mov ecx, esi
call fcn.00425aaa
mov ecx, dword [ebp - 0x3228]
lea eax, [ebp - 0x1868]
push eax
push dword [ebp - 0x1888]
call fcn.00429573
mov eax, dword [ebp - 0x1888]
shr eax, 0x13
mov dword [esi + 0x34], 4
jne 0x42bc76
xor eax, eax
inc eax
mov ecx, dword [esi + 0x70]
cmp eax, ecx
jb 0x42bc7f
mov eax, ecx
push ebx
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x10]
push dword [eax]
push str.wlrc
jmp 0x42bed3
push ebx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], 5
push dword [eax]
push str.wlrs
jmp 0x42bed3
lea eax, [ebp - 0x188c]
push eax
mov ecx, esi
call fcn.00425acc
test eax, eax
je 0x42bce9
push dword [ebp - 0x188c]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], 8
push dword [eax]
push str.wlrha
push dword [ebp - 0x3224]
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [edi]
call fcn.0042b205
jmp 0x42bee5
push ebx
call fcn.0044a335
pop ecx
add eax, 4
mov ecx, esi
mov dword [esi + 0x74], eax
call fcn.0042b779
push dword [ebp - 0x188c]
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x34], 2
push dword [eax]
push str.wlrrs
jmp 0x42bcd2
cmp eax, 1
jne 0x42be42
lea eax, [ebp - 0x1854]
push eax
mov ecx, esi
call fcn.00425b33
lea eax, [ebp - 0x1810]
push eax
lea ecx, [ebp - 0x3260]
call fcn.004039c0
xor ebx, ebx
lea eax, [ebp - 0x3260]
inc ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.004274b0
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x3260]
call fcn.00401660
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42bd75
cmp eax, 0xffffffff
jne 0x42be19
cmp dword [ebp - 0x188c], 0xc8
jne 0x42be19
mov eax, dword [ebp - 0x1888]
cmp eax, dword [ebp - 0x1960]
jne 0x42be19
lea eax, [ebp - 0x188c]
push eax
mov ecx, esi
call fcn.00425aea
test eax, eax
je 0x42bee8
push dword [ebp - 0x3220]
mov ecx, dword [ebp - 0x3228]
call fcn.0042a28a
mov ecx, esi
call fcn.00425b87
test eax, eax
je 0x42be12
push dword [ebp - 0x1888]
mov ecx, esi
call fcn.00425aaa
mov ecx, dword [ebp - 0x3228]
lea eax, [ebp - 0x1868]
push eax
push dword [ebp - 0x1888]
call fcn.00429573
mov eax, dword [ebp - 0x1888]
shr eax, 0x13
mov dword [esi + 0x34], 4
jne 0x42be02
mov eax, ebx
mov ecx, dword [esi + 0x70]
cmp eax, ecx
jb 0x42be0b
mov eax, ecx
push 0
jmp 0x42bc80
push 0
jmp 0x42bc93
mov ecx, esi
call fcn.0042b779
push 0
call fcn.0044a335
add eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esi + 0x34], 2
push dword [eax]
push str.wlej
jmp 0x42bea9
test eax, eax
jne 0x42be76
push ebx
call dword [0x4842f0]
mov ecx, esi
call fcn.0042b779
push 0
call fcn.0044a335
add eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esi + 0x34], 2
push dword [eax]
push str.wlih
jmp 0x42bea9
cmp eax, 5
jne 0x42bec0
push ebx
call dword [0x4842f0]
mov ecx, esi
call fcn.0042b779
push 0
call fcn.0044a335
add eax, 4
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esi + 0x34], 2
push dword [eax]
push str.wlnw
push dword [ebp - 0x3224]
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [edi]
call fcn.0042b13f
add esp, 0x1c
jmp 0x42bee8
mov eax, dword [ebp + 0x10]
push 0
mov dword [esi + 0x34], 8
push dword [eax]
push str.wlraa
push dword [ebp - 0x3224]
mov eax, dword [ebp + 0x18]
push dword [eax]
push dword [edi]
call fcn.0042b13f
add esp, 0x18
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.00447fc5
leave
ret