Function at 0x4dd750
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
push 0x11
push 0x406eac
push edi
call fcn.004b0d70
add esp, 0xc
test eax, eax
je 0x4dd77c
mov eax, dword [esi + 0xd4]
cmp eax, 0x191
je 0x4dd7a5
push 0x13
push 0x406e04
push edi
call fcn.004b0d70
add esp, 0xc
test eax, eax
je 0x4dd827
mov eax, dword [esi + 0xd4]
cmp eax, 0x197
jne 0x4dd827
cmp eax, 0x197
push edi
sete byte [esp + 0x18]
call fcn.004b61f0
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4dd7c5
pop edi
pop esi
lea eax, [ebx + 0x1b]
pop ebx
ret
test esi, esi
je 0x4dd802
cmp byte [esi + 0x68a], 0
je 0x4dd802
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4dd7e2
cmp dword [eax + 4], 1
jl 0x4dd802
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4dd802
mov eax, dword [ecx]
cmp dword [eax + 8], 1
jl 0x4dd802
push edi
push 0x40ce8c
push ecx
push esi
call fcn.004ab3e0
add esp, 0x10
push ebx
push dword [esp + 0x18]
push esi
call fcn.004b77f0
push ebx
mov esi, eax
call dword [fcn.00401038]
add esp, 0x10
test esi, esi
je 0x4dda36
pop edi
mov eax, esi
pop esi
pop ebx
ret
push 0xf
push 0x4067d0
push edi
call fcn.004b0d70
add esp, 0xc
test eax, eax
je 0x4dd8a8
mov ecx, dword [esi + 0xd4]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x4dd88a
test esi, esi
je 0x4dda36
cmp byte [esi + 0x68a], 0
je 0x4dda36
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4dd875
cmp dword [eax + 4], 1
jl 0x4dda36
push ecx
push 0x40ceac
push esi
call fcn.004ab3a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
add eax, 0x70
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.004bcc20
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 5
push 0x4056f0
push 0xb
push 0x4067e0
push edi
call fcn.004b6140
add esp, 0x14
test al, al
jne 0x4dda2e
push 0x12
push 0x4067ec
push edi
call fcn.004b0d70
add esp, 0xc
test eax, eax
je 0x4dd995
mov ecx, dword [esi + 0xd4]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x4dd92e
test esi, esi
je 0x4dda36
cmp byte [esi + 0x68a], 0
je 0x4dda36
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4dd919
cmp dword [eax + 4], 1
jl 0x4dda36
push ecx
push 0x40cee0
push esi
call fcn.004ab3a0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 7
push 0x405db0
push 0x12
push 0x4067ec
push edi
call fcn.004b6140
add esp, 0x14
test al, al
je 0x4dda36
test esi, esi
je 0x4dd978
cmp byte [esi + 0x68a], 0
je 0x4dd978
mov eax, dword [esi + 0xca8]
test eax, eax
je 0x4dd96a
cmp dword [eax + 4], 1
jl 0x4dd978
push 0x40cf14
push esi
call fcn.004ab3a0
add esp, 8
mov eax, dword [esp + 0x18]
push 1
mov byte [eax + 0x7c], 1
add eax, 0x30
push eax
push esi
call fcn.004e21c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 5
push 0x4056f0
push 0x11
push 0x406da0
push edi
call fcn.004b6140
add esp, 0x14
test al, al
jne 0x4dda2e
push 7
push 0x40cf30
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4dda36
mov al, byte [edi + 7]
cmp al, 0x30
je 0x4dd9d0
cmp al, 0x31
jne 0x4dda36
cmp byte [edi + 8], 0x20
jne 0x4dda36
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x4dda36
mov dl, byte [edi + 0xa]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4dda36
mov dh, byte [edi + 0xb]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x4dda36
mov al, byte [edi + 0xc]
cmp al, 0x30
jl 0x4dda02
cmp al, 0x39
jle 0x4dda36
movsx eax, cl
pop edi
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0c], eax
xor eax, eax
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
mov byte [eax + 0x7d], 1
pop edi
pop esi
xor eax, eax
pop ebx
ret