Function at 0x4025d5
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x424640
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x4331f0]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x4331f0]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x14]
xor edi, edi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
push 0x2dfb9
lea eax, [esp + 0x30]
mov dword [esp + 0x2c4], edi
push eax
call fcn.00401898
push 0x20a
lea eax, [esp + 0xa0]
push edi
push eax
call fcn.00415c10
add esp, 0xc
lea eax, [esp + 0x9c]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
and dword [esp + 0x10], 0
mov edi, eax
and dword [esp + 0x14], 0
call fcn.004034b6
mov dword [esp + 0x10], eax
push str.warning
lea ecx, [esp + 0x70]
mov byte [esp + 0x2c4], 1
call fcn.00405646
cmp dword [ebp + 0xc], 2
mov byte [esp + 0x2c0], 2
jne 0x4026c2
push str.critical
call fcn.00413e10
pop ecx
push eax
push str.critical
lea ecx, [esp + 0x74]
call fcn.004055b5
push str.level
lea ecx, [esp + 0x40]
call fcn.00405646
lea eax, [esp + 0x6c]
mov byte [esp + 0x2c0], 3
push eax
lea ecx, [esp + 0x20]
call fcn.004010e9
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2c4], 4
push eax
lea ecx, [esp + 0x18]
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [esp + 0x1c]
call fcn.004011af
push 0
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 2
call fcn.00405a11
push str.type
lea ecx, [esp + 0x40]
call fcn.00405646
mov edx, esi
mov byte [esp + 0x2c0], 5
lea ecx, [esp + 0x54]
call fcn.0040698e
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 6
call fcn.00401130
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2c4], 7
push eax
lea ecx, [esp + 0x18]
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [esp + 0x1c]
call fcn.004011af
xor esi, esi
lea ecx, [esp + 0x54]
push esi
push 1
call fcn.00405a11
push esi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 2
call fcn.00405a11
push str.process
lea ecx, [esp + 0x40]
call fcn.00405646
test edi, edi
je 0x40280f
lea edx, [esp + 0x9c]
mov byte [esp + 0x2c0], 8
lea ecx, [esp + 0x54]
call fcn.0040698e
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 9
call fcn.00401130
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2c4], 0xa
push eax
lea ecx, [esp + 0x18]
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [esp + 0x1c]
call fcn.004011af
push esi
push 1
lea ecx, [esp + 0x5c]
call fcn.00405a11
jmp 0x40284c
push str.unknown_process
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 0xb
call fcn.00401168
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2c4], 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [esp + 0x1c]
call fcn.004011af
push esi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 2
call fcn.00405a11
push str.text
lea ecx, [esp + 0x40]
call fcn.00405646
mov byte [esp + 0x2c0], 0xd
lea ecx, [esp + 0x54]
mov edx, dword [esp + 0x18]
call fcn.0040698e
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c4], 0xe
call fcn.00401130
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0x2c4], 0xf
push eax
lea ecx, [esp + 0x18]
call fcn.00402c6f
mov ecx, eax
call fcn.004012b9
lea ecx, [esp + 0x1c]
call fcn.004011af
push esi
push 1
lea ecx, [esp + 0x5c]
call fcn.00405a11
push esi
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x2c8], 2
call fcn.00405a11
push 0x42cd1c
lea ecx, [esp + 0x40]
call fcn.00405646
lea eax, [esp + 0x3c]
mov byte [esp + 0x2c0], 0x10
push eax
lea ecx, [esp + 0x30]
call fcn.004012eb
mov ecx, eax
call fcn.00402c6f
mov edi, eax
mov ecx, edi
call fcn.004011af
push 8
mov dword [edi], 5
call fcn.00413594
mov esi, eax
pop ecx
mov dword [esp + 0x18], esi
mov byte [esp + 0x2c0], 0x11
test esi, esi
je 0x40293f
push ecx
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00402ef5
jmp 0x402941
xor esi, esi
mov dword [edi + 8], esi
lea ecx, [esp + 0x3c]
xor esi, esi
mov byte [esp + 0x2c0], 2
xor edi, edi
push esi
inc edi
push edi
call fcn.00405a11
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.00402388
mov edx, str._error_index
mov byte [esp + 0x2c0], 0x12
lea ecx, [esp + 0x54]
call fcn.004017de
push esi
push ecx
push esi
lea ecx, [esp + 0x90]
mov byte [esp + 0x2cc], 0x13
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00408bb9
cmp eax, 0xc8
lea ecx, [esp + 0x54]
push esi
push edi
sete bl
call fcn.00405e0a
push esi
push edi
lea ecx, [esp + 0x8c]
call fcn.00405a11
push esi
push edi
lea ecx, [esp + 0x74]
call fcn.00405a11
lea ecx, [esp + 0x10]
call fcn.00402cc8
lea ecx, [esp + 0x2c]
call fcn.004011af
mov al, bl
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.00412f2f
mov esp, ebp
pop ebp
ret 0x10