Function at 0x415210
Capabilities:
Check http status code
Print debug messages
Reference http user-agent string
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b0
mov eax, dword [0x44d008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
sub esp, 0x18
mov dword [ebp - 0x458], ebx
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x45c], edi
push 0x44f0e0
call fcn.0040b2e0
lea eax, [ebp - 0x498]
push eax
call fcn.0041b680
push eax
lea eax, [ebp - 0x4b0]
push eax
call fcn.0041fe60
cmp dword [eax + 0x14], 8
jb 0x415267
mov eax, dword [eax]
push eax
call fcn.004206f0
mov ecx, dword [ebp - 0x49c]
mov esi, eax
cmp ecx, 8
jb 0x4152af
mov edx, dword [ebp - 0x4b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4152a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158a3
push ecx
push edx
call fcn.00420d4c
add esp, 8
mov ecx, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 7
mov word [ebp - 0x4b0], ax
cmp ecx, 0x10
jb 0x415306
mov edx, dword [ebp - 0x498]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4152fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158a3
push ecx
push edx
call fcn.00420d4c
add esp, 8
push 0x53b2070f
push esi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
call fcn.004205c0
sub esp, 0x18
mov esi, eax
mov ecx, esp
push 0x44f200
call fcn.0040b2e0
lea eax, [ebp - 0x498]
push eax
call fcn.0041b680
cmp dword [eax + 0x14], 0x10
jb 0x415351
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [ebp - 0x484]
mov esi, eax
mov dword [ebp - 0x454], esi
cmp ecx, 0x10
jb 0x415396
mov edx, dword [ebp - 0x498]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41538c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4158a8
push ecx
push edx
call fcn.00420d4c
add esp, 8
push 0xe23b96e7
push esi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
call fcn.004205c0
push 0xbc1ee529
push dword [ebp - 0x454]
mov esi, eax
call fcn.004205c0
push 0xbadb5dbe
push dword [ebp - 0x454]
mov dword [ebp - 0x46c], eax
call fcn.004205c0
push 0x6e003e7d
push dword [ebp - 0x454]
mov dword [ebp - 0x464], eax
call fcn.004205c0
push 0xe71d2bb0
push dword [ebp - 0x454]
mov dword [ebp - 0x470], eax
call fcn.004205c0
push 0x8473df46
push dword [ebp - 0x454]
mov dword [ebp - 0x460], eax
call fcn.004205c0
push 0xbba88572
push dword [ebp - 0x454]
mov dword [ebp - 0x450], eax
call fcn.004205c0
push 0x960cb4c6
push dword [ebp - 0x454]
mov dword [ebp - 0x474], eax
call fcn.004205c0
push 0x4ddde966
push dword [ebp - 0x454]
mov dword [ebp - 0x478], eax
call fcn.004205c0
push 0xf8e419e0
push dword [ebp - 0x454]
mov dword [ebp - 0x480], eax
call fcn.004205c0
push 0
push 0
push 0
push 1
push str.Mozilla_5.0__Windows_NT_5.1__AppleWebKit_5362__KHTML__like_Gecko__Chrome_40.0.834.0_Mobile_Safari_5362
mov dword [ebp - 0x47c], eax
call esi
mov dword [ebp - 0x468], eax
test eax, eax
jne 0x415558
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.0040b2e0
sub esp, 0x18
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.0040b2e0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov ecx, edi
push ebx
call fcn.00415210
mov ecx, dword [ebp + 0x28]
cmp ecx, 0x10
jb 0x4154ff
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4154f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41589e
push ecx
push edx
call fcn.00420d4c
add esp, 8
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
cmp ecx, 0x10
jb 0x415545
mov edx, dword [ebp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41553b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41589e
push ecx
push edx
call fcn.00420d4c
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004208c0
mov esp, ebp
pop ebp
ret 0x3c
push 4
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x420], 0xf4240
push ecx
push 6
push eax
call dword [ebp - 0x464]
cmp dword [ebp + 0x28], 0x10
lea ecx, [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov edx, 0x50
cmovae ecx, dword [ebp + 0x14]
mov eax, 0x1bb
push 0
push 0
push 3
push 0
cmp esi, 1
push 0
cmovne eax, edx
movzx eax, ax
push eax
push ecx
push dword [ebp - 0x468]
call dword [ebp - 0x46c]
mov ecx, eax
lea eax, [ebp + 0x2c]
test ecx, ecx
jne 0x4155d5
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040b2e0
sub esp, 0x18
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.0040b2e0
push esi
jmp 0x4154c0
cmp dword [ebp + 0x40], 0x10
push 0
cmovae eax, dword [ebp + 0x2c]
push 0
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [ebp - 0x470]
mov esi, eax
test esi, esi
jne 0x41561f
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.0040b2e0
sub esp, 0x18
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.0040b2e0
mov eax, dword [ebp + 0x10]
push eax
jmp 0x4154c0
push 0xa0000000
push 0xffffffffffffffff
push str.Content_Type:_application_octet_stream__boundary____
push esi
call dword [ebp - 0x460]
test eax, eax
je 0x4155fa
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0
add eax, 0xc
movlpd qword [ebp - 0x448], xmm0
push 0
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x44c]
push 0
push eax
push esi
movlpd qword [ebp - 0x440], xmm0
movlpd qword [ebp - 0x438], xmm0
movlpd qword [ebp - 0x42c], xmm0
mov dword [ebp - 0x44c], 0x28
call dword [ebp - 0x450]
test eax, eax
je 0x4155fa
push dword [ebp - 0x454]
push dword [ebp + 0xc]
push ebx
push esi
call fcn.00415190
test al, al
je 0x4155fa
push 0xdd41c1e5
push dword [ebp - 0x454]
mov edi, 0xc
call fcn.004205c0
mov dword [ebp - 0x460], eax
mov ebx, str._r_n_________r_n
lea ecx, [ebp - 0x450]
push ecx
push edi
push ebx
push esi
call eax
test eax, eax
je 0x4157f6
add ebx, dword [ebp - 0x450]
mov eax, dword [ebp - 0x460]
sub edi, dword [ebp - 0x450]
jne 0x4156c3
push 0
push 8
push 0
push esi
call dword [ebp - 0x474]
test eax, eax
jne 0x415730
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.0040b2e0
sub esp, 0x18
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.0040b2e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x45c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x458]
jmp 0x4154c6
mov ebx, dword [ebp - 0x478]
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push eax
push esi
call ebx
test eax, eax
je 0x4157aa
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x4157aa
cmp eax, 0x401
jae 0x4158ad
mov byte [ebp + eax - 0x414], 0
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call ebx
test eax, eax
jne 0x415760
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x41c], 0
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x424], 4
push eax
push 0x20000013
push esi
call dword [ebp - 0x47c]
push esi
call dword [ebp - 0x480]
cmp dword [ebp - 0x41c], 0xc8
je 0x4154cb
jmp 0x4156fc
sub esp, 0x18
lea eax, [ebp + 0x2c]
mov ecx, esp
push eax
call fcn.0040b2e0
sub esp, 0x18
lea eax, [ebp + 0x14]
mov ecx, esp
push eax
call fcn.0040b2e0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x45c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0x458]
call fcn.00415210
mov ecx, dword [ebp + 0x28]
cmp ecx, 0x10
jb 0x41585a
mov edx, dword [ebp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415850
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41589e
push ecx
push edx
call fcn.00420d4c
add esp, 8
mov ecx, dword [ebp + 0x40]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0xf
mov byte [ebp + 0x14], 0
cmp ecx, 0x10
jb 0x415545
mov edx, dword [ebp + 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41553b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41553b
call fcn.00427422
call fcn.00427422
call fcn.00427422
call fcn.004209f0
int3