Function at 0x3852ba0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x28]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
mov dword [esp + 0x28], edx
mov esi, 0x1b6686c8
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x24]
mov edi, edi
cmp esi, 0x16b9a71d
jg 0x3852e47
je 0x3852df1
cmp esi, 0xf450061
jg 0x3852d44
je 0x3852cee
cmp esi, 0x8075aed
je 0x3852c88
cmp esi, 0x8290e48
jne 0x3852cd6
test ebp, ebp
je 0x3852c2e
mov ecx, str.i_r_m_r_9Br_n
call fcn.038533b0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x3852c32
mov esi, dword [esp + 0x1c]
mov eax, dword [0x385e404]
test eax, eax
jne 0x3852c56
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x99ebd4d5
mov ecx, eax
call fcn.03853d50
mov dword [0x385e404], eax
push 0
push 0x844cc300
push 0
push 0
push 0
push dword [esp + 0x50]
push esi
push edi
call eax
mov ecx, esi
mov ebx, eax
call fcn.03853350
test ebx, ebx
mov esi, 0x1402cc84
mov eax, 0xf450061
cmovne esi, eax
jmp 0x3852be0
mov eax, dword [0x385e020]
test eax, eax
jne 0x3852cac
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x9fc26543
mov ecx, eax
call fcn.03853d50
mov dword [0x385e020], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x24]
call eax
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x18], eax
mov esi, 0x2c178272
mov eax, 0x16b9a71d
cmovne esi, eax
call fcn.038540f0
cmp esi, 0x2c178272
jne 0x3852be0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test ebp, ebp
je 0x3852cfa
mov esi, dword [ebp + 4]
mov edi, dword [ebp]
jmp 0x3852cfe
xor esi, esi
xor edi, edi
mov eax, dword [0x385e16c]
test eax, eax
jne 0x3852d22
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x40f2fa77
mov ecx, eax
call fcn.03853d50
mov dword [0x385e16c], eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x4c]
push ebx
call eax
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xeae5cc6
add esi, 0x212e91c7
jmp 0x3852bda
cmp esi, 0x1402cc84
je 0x3852dc0
cmp esi, 0x16a7e0b5
jne 0x3852cd6
mov ecx, 0x200
mov dword [esp + 0x20], 0x200
call fcn.03854190
mov esi, eax
test esi, esi
je 0x3852db6
mov eax, dword [0x385de90]
test eax, eax
jne 0x3852d90
mov ecx, 0x6bd100a4
call fcn.03853df0
mov edx, 0x89b6eba9
mov ecx, eax
call fcn.03853d50
mov dword [0x385de90], eax
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
call eax
test eax, eax
jne 0x3852daf
sub esp, 8
mov edx, esi
call fcn.03855620
add esp, 8
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.038540f0
mov esi, 0x8075aed
jmp 0x3852be0
mov eax, dword [0x385e094]
test eax, eax
jne 0x3852de4
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.03853d50
mov dword [0x385e094], eax
push edi
call eax
mov esi, 0x1e0b0199
jmp 0x3852be0
mov eax, dword [0x385de3c]
test eax, eax
jne 0x3852e15
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x101993a1
mov ecx, eax
call fcn.03853d50
mov dword [0x385de3c], eax
push 0
push 0
push 3
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x34]
call eax
mov edi, eax
mov esi, 0x1e0b0199
test edi, edi
mov dword [esp + 0x24], edi
mov eax, 0x8290e48
cmovne esi, eax
jmp 0x3852be0
cmp esi, 0x1e0b0199
jg 0x3852e9a
je 0x3852f37
cmp esi, 0x18a5a270
je 0x3852e73
cmp esi, 0x1b6686c8
jne 0x3852cd6
mov esi, 0x16a7e0b5
jmp 0x3852be0
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.03852930
mov ecx, dword [esp + 0x10]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x10], ecx
mov esi, 0x212e91c7
jmp 0x3852be0
cmp esi, 0x212e91c7
je 0x3852f06
cmp esi, 0x2fdcee8d
jne 0x3852cd6
mov eax, dword [0x385e360]
mov dword [esp + 0x30], 4
test eax, eax
jne 0x3852eda
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x1ecf5d06
mov ecx, eax
call fcn.03853d50
mov dword [0x385e360], eax
push 0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push 0x20000013
push ebx
call eax
test eax, eax
je 0x3852e90
cmp dword [esp + 0x34], 0xc8
jne 0x3852e90
mov esi, 0x18a5a270
jmp 0x3852be0
mov eax, dword [0x385e094]
test eax, eax
jne 0x3852f2a
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.03853d50
mov dword [0x385e094], eax
push ebx
call eax
mov esi, 0x1402cc84
jmp 0x3852be0
mov eax, dword [0x385e094]
test eax, eax
jne 0x3852f5b
mov ecx, 0x10bdc591
call fcn.03853df0
mov edx, 0x31afdd90
mov ecx, eax
call fcn.03853d50
mov dword [0x385e094], eax
push dword [esp + 0x18]
call eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret