Function at 0x41d3a0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
mov ebx, dword [edi]
mov dword [esp + 0x28], ebx
mov eax, dword [ebx + 0x98]
cmp eax, esi
mov dword [esp + 0x1c], eax
jne 0x41d3cd
mov dword [esp + 0x1c], 0xe10
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
push edx
mov dword [esp + 0x1c], esi
mov ecx, dword [edi + eax*4 + 0x98]
mov eax, dword [esp + 0x44]
push eax
push 0x42c644
push ebx
mov dword [esp + 0x30], ecx
call fcn.004149c0
add esp, 0x10
mov eax, dword [edi + 0x15c]
cmp eax, esi
je 0x41d412
push eax
call dword [0x428ef8]
add esp, 4
mov dword [edi + 0x15c], esi
call fcn.0041dbf0
cmp eax, esi
mov dword [esp + 0x2c], eax
je 0x41d817
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x428c64
call fcn.00413620
mov ebp, eax
add esp, 0xc
cmp ebp, esi
mov dword [esp + 0x3c], ebp
je 0x41d817
push 1
push ebp
push 0x42c63c
push edi
call fcn.0041d8e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41d575
mov edi, 0x42d680
push 0x42c634
push ebx
mov ebp, edi
call fcn.0041d890
add esp, 8
test eax, eax
jne 0x41d499
mov eax, dword [esp + 0x3c]
push eax
push 0x42c628
call fcn.00413620
mov edi, eax
add esp, 8
test edi, edi
jne 0x41d499
mov esi, 0x1b
push 0x42a8d0
push ebx
call fcn.0041d890
add esp, 8
test eax, eax
jne 0x41d4b0
mov ebp, 0x42c608
test esi, esi
jne 0x41d55f
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x41d4cb
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x140]
jmp 0x41d4d0
mov ecx, 0x42d680
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x13c]
test eax, eax
jne 0x41d4e3
mov eax, 0x42d680
push ebp
mov ebp, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x50]
push edi
push eax
push ecx
push 0x42c5e4
push ebp
call fcn.0041de60
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x41d519
mov edx, dword [esp + 0x38]
push ebp
push edx
call fcn.0041e0e0
add esp, 8
mov esi, eax
test edi, edi
je 0x41d52c
cmp byte [edi], 0
je 0x41d52c
push edi
call dword [0x428ef8]
add esp, 4
test esi, esi
jne 0x41d55f
push 0x4282c0
push ebp
call fcn.0041de60
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d55f
mov ecx, dword [esp + 0x38]
lea eax, [ebx + 0x8394]
push eax
push ecx
push ebp
call fcn.0041dc10
mov esi, eax
add esp, 0xc
test esi, esi
je 0x41d56d
push 0x42c5c4
push ebx
call fcn.00414a30
add esp, 8
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
push ebp
call dword [0x428ef8]
xor ebp, ebp
add esp, 4
cmp esi, ebp
jne 0x41d824
lea esi, [ebx + 0x2e4]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov byte [esp + 0x3c], 1
mov al, byte [esp + 0x3c]
test al, al
je 0x41d7ce
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41d84a
mov edx, dword [edi + 0x8c]
mov eax, dword [edi + 0x88]
push edx
push eax
call fcn.00414fa0
push edx
push eax
call fcn.00415000
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
mov eax, dword [esp + 0x2c]
add esp, 0x10
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
sub eax, edx
test eax, eax
jle 0x41d7fc
mov ecx, dword [esp + 0x20]
push 0x3e8
push 0xffffffffffffffff
push ecx
call fcn.0041f460
add esp, 0xc
cmp eax, 0xffffffff
je 0x41d7aa
test eax, eax
je 0x41d7c0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
mov eax, 0x4000
sub eax, edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
push edi
call fcn.00414cc0
add esp, 0x14
test eax, eax
jl 0x41d7c0
je 0x41d64f
mov byte [esp + 0x3c], 0
jmp 0x41d7c0
mov eax, dword [esp + 0x24]
test eax, eax
jg 0x41d66e
mov byte [esp + 0x3c], 0
mov dword [esp + 0x18], 1
push 0x42c5ac
jmp 0x41d7b7
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
add edx, eax
test eax, eax
mov dword [esp + 0x14], edx
jle 0x41d7c0
mov ecx, dword [esp + 0x10]
inc ebp
cmp byte [ecx], 0xa
jne 0x41d78e
mov al, byte [ebx + 0x19c]
test al, al
je 0x41d6ae
push edi
push ebp
push esi
push 1
push ebx
call fcn.00414d60
add esp, 0x14
mov cl, byte [ebx + 0x18c]
mov eax, 2
test cl, cl
je 0x41d6c2
mov eax, 3
push ebp
push esi
push eax
push ebx
call fcn.00414c20
add esp, 0x10
test eax, eax
jne 0x41d884
mov al, byte [esi]
cmp al, 0xd
je 0x41d645
cmp al, 0xa
je 0x41d645
mov bl, byte [esi + ebp]
push 0x11
push esi
push 0x42a794
mov byte [esi + ebp], 0
call fcn.00413800
mov edi, dword [esp + 0x44]
add esp, 0xc
test eax, eax
je 0x41d714
mov eax, dword [edi + 0x1b8]
cmp eax, 0x191
je 0x41d735
push 0x13
push esi
push 0x42a780
call fcn.00413800
add esp, 0xc
test eax, eax
je 0x41d74a
mov eax, dword [edi + 0x1b8]
cmp eax, 0x197
jne 0x41d74a
push esi
push eax
push edi
call fcn.0041d100
add esp, 0xc
test eax, eax
jne 0x41d884
jmp 0x41d776
add edi, 0x1b8
lea edx, [esp + 0x30]
push edi
push edx
push 0x42c59c
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x10
cmp eax, 2
jne 0x41d776
mov ecx, dword [esp + 0x28]
mov eax, dword [edi]
mov dword [ecx + 0x8384], eax
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
mov byte [esi + ebp], bl
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
xor ebp, ebp
lea esi, [edx + 1]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x2c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x41d688
jmp 0x41d7c0
mov dword [esp + 0x18], 1
push 0x42c570
push ebx
call fcn.00414a30
add esp, 8
cmp dword [esp + 0x14], 0x4000
jb 0x41d59c
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41d84a
cmp dword [ebx + 0x8384], 0xc8
je 0x41d7eb
push edi
call fcn.0041cdc0
add esp, 4
mov eax, dword [edi + 0x15c]
test eax, eax
je 0x41d82e
xor esi, esi
jmp 0x41d3f8
push 0x42c548
push ebx
call fcn.00414a30
add esp, 8
mov eax, 0x38
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x24
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, dword [edi + 0x1b8]
cmp eax, 0xc8
je 0x41d857
push eax
push 0x42c518
push ebx
call fcn.00414a30
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 0x38
pop ebx
add esp, 0x24
ret
mov eax, dword [edi + 0x13c]
push eax
call fcn.0040ad90
push 0x42c4f0
mov dword [edi + 0x13c], 0
push ebx
mov byte [ebx + 0x8374], 1
call fcn.004149c0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret