Function at 0x443141
Capabilities:
Check http status code

Disassembly:
push 0x184
mov eax, 0x5981c1
call fcn.0054636d
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
and dword [ebp - 0x18], 0
push 5
push str.admin
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004068ce
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041ec0a
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00406661
xor eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x40], al
push eax
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 4
mov byte [ebp - 0x160], al
call fcn.00403d90
mov eax, dword [ebx]
lea ecx, [ebp - 0x160]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 5
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
mov dword [ebp - 0x134], eax
lea ecx, [ebp - 0x190]
lea eax, [ebp - 0x134]
push eax
call fcn.00441d7a
lea eax, [ebp - 0x160]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x180], ebx
call fcn.004035c6
mov dword [ebp - 0x168], ebx
push 2
push 1
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x190]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040368c
mov dword [ebp - 0x18], ebx
mov esi, 0x404093
mov byte [ebp - 4], 8
push esi
push 2
push 0x18
lea eax, [ebp - 0x190]
push eax
call fcn.005461b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x10]
push 2
push 1
push eax
push ecx
lea ecx, [ebp - 0x144]
call fcn.0040368c
push ebx
push ebx
push 0x20
push 2
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call fcn.00407419
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040442e
lea ecx, [ebp - 0x58]
call fcn.00406661
push dword [ebp - 0x144]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
call fcn.00406b57
push esi
push 1
push 0x18
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.005461b0
push ebx
push 2
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0044859e
add esp, 0x10
mov ecx, dword [ebp - 0x130]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
call dword [eax + 0x40]
mov ecx, dword [ebp - 0x130]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x130]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x130]
push 0x7d0
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp dword [edi + 0x10], ebx
je 0x443342
push 0xd
push str.Authorization
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.004068ce
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x28]
push edi
push edx
mov byte [ebp - 4], 0xd
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00406661
call fcn.00414680
push 3
push 0x59f5ec
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.004068ce
mov esi, dword [ebp - 0x130]
lea eax, [ebp - 0x134]
push eax
push ecx
push ecx
mov eax, esp
mov byte [ebp - 4], 0xe
mov dword [eax], 0x59eeb0
mov dword [eax + 4], 2
lea eax, [ebp - 0x58]
push eax
call fcn.00412dfc
add esp, 0x10
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x58]
call fcn.00406661
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.00406661
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x138], ebx
test ecx, ecx
je 0x4433ea
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], ecx
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x63ebd0
push eax
call fcn.00447ba2
mov ecx, dword [ebp - 0x138]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x44342b
call fcn.0040569b
mov ecx, dword [ebp - 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x1c]
cmp eax, 0xc8
jne 0x443512
push 0xd
push str.Authorization
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.004068ce
mov ecx, dword [ebp - 0x14c]
lea edx, [ebp - 0x28]
push edi
push edx
mov byte [ebp - 4], 0x13
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x12
mov bl, al
call fcn.00406661
test bl, bl
je 0x4434bc
call fcn.0040c461
push 4
push eax
lea ecx, [ebp - 0x128]
call fcn.0040bd69
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x14
push str.Updated_authorization_for_remote_tasks
push eax
call fcn.00401609
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x12
call fcn.0040bf50
mov ecx, dword [ebp - 0x14c]
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x15
push eax
call fcn.0041b906
pop ecx
pop ecx
mov ecx, dword [ebp - 0x150]
lea esi, [ebp - 0x40]
push esi
push eax
mov byte [ebp - 4], 0x16
mov edx, dword [ecx]
call dword [edx + 0x1c]
movzx esi, al
neg esi
sbb esi, esi
add esi, 4
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x17
call fcn.00406b57
lea ecx, [ebp - 0x58]
call fcn.00406661
jmp 0x443555
push 1
push str.AgentErrors.log
lea ecx, [ebp - 0x128]
call fcn.0040bd69
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x128]
push str.Failed_to_execute_remote_task:_POST__admin_n
push eax
call fcn.00401609
pop ecx
pop ecx
push eax
call fcn.004015e9
pop ecx
pop ecx
lea ecx, [ebp - 0x128]
call fcn.0040bf50
push 4
pop esi
mov ecx, dword [ebp - 0x148]
test ecx, ecx
je 0x443564
call fcn.0040569b
mov ecx, dword [ebp - 0x12c]
test ecx, ecx
je 0x443573
call fcn.0040569b
push dword [ebp - 0x160]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x1a
call fcn.00406b57
lea ecx, [ebp - 0x40]
call fcn.00406661
lea ecx, [ebp - 0x70]
call fcn.00406661
mov eax, esi
call fcn.00546317
ret 4