Function at 0x430403
Capabilities:
Check http status code
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x13e8]
mov eax, 0x1468
call fcn.0044fbe0
mov eax, dword [0x46f190]
xor eax, ebp
mov dword [ebp + 0x13e4], eax
mov eax, dword [ebp + 0x13f0]
push ebx
push esi
push edi
xor ebx, ebx
push 0x38
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x80], ebx
call fcn.00438440
mov esi, 0x7fe
push esi
lea eax, [ebp - 0x1a]
push ebx
push eax
mov word [ebp - 0x1c], bx
call fcn.00438440
push esi
lea eax, [ebp + 0x7e6]
push ebx
push eax
mov word [ebp + 0x7e4], bx
call fcn.00438440
add esp, 0x24
push ebx
push 0x80
push 2
push ebx
push 3
push 0x40000000
push edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x30], eax
je 0x430630
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x7e4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x28]
mov edi, 0x400
mov esi, 0x471c10
mov ecx, esi
mov dword [ebp - 0x80], 0x3c
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x50], edi
call fcn.0042ff5e
push str.MyAgent
mov eax, esi
call fcn.0042fe08
cmp eax, ebx
mov dword [ebp - 0x44], eax
je 0x430627
movzx ecx, word [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov eax, esi
call fcn.0042fe2f
cmp eax, ebx
mov dword [ebp - 0x40], eax
je 0x43061f
push dword [ebp - 0x74]
lea ecx, [ebp + 0x7e4]
push ecx
push 0x465824
push eax
mov eax, esi
call fcn.0042fe5d
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x430617
push eax
mov ecx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 4
call fcn.0042fed8
test eax, eax
je 0x43060f
push dword [ebp - 0x20]
mov eax, esi
call fcn.0042fef8
test eax, eax
je 0x43060f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x20000013
push dword [ebp - 0x20]
call fcn.0042ff0f
test eax, eax
je 0x43060f
cmp dword [ebp - 0x3c], 0xc8
jne 0x43060f
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x20000005
push dword [ebp - 0x20]
mov dword [ebp - 0x28], ebx
call fcn.0042ff0f
test eax, eax
mov esi, dword [ebp - 0x28]
jne 0x430596
mov esi, ebx
push 0x3ff
lea eax, [ebp + 0xfe5]
push ebx
push eax
mov byte [ebp + 0xfe4], bl
call fcn.00438440
add esp, 0xc
cmp dword [0x471c78], ebx
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp + 0xfe4]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ebx
je 0x4305d3
call dword [0x471c30]
jmp 0x4305d9
call dword [0x471c60]
cmp eax, ebx
je 0x4305ff
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x4305ff
add dword [ebp - 0x2c], eax
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp + 0xfe4]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x430596
cmp esi, ebx
je 0x430608
cmp esi, dword [ebp - 0x2c]
jne 0x43060f
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x20]
call fcn.0042ff42
mov eax, dword [ebp - 0x40]
call fcn.0042ff42
mov eax, dword [ebp - 0x44]
call fcn.0042ff42
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x13e4]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004372f9
add ebp, 0x13e8
leave
ret 4