Function at 0x401870
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x41bb9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
call fcn.00417a1a
xor edi, edi
mov eax, 0x41dc38
mov dword [esp + 0x2c], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc0], eax
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], eax
lea ecx, [esi + 0xdc]
mov byte [esp + 0x2c], 2
call fcn.00410afc
lea ecx, [esi + 0xe4]
mov byte [esp + 0x2c], 3
call fcn.00410afc
lea ecx, [esi + 0xec]
mov byte [esp + 0x2c], 4
call fcn.00410afc
lea ecx, [esi + 0xf4]
mov byte [esp + 0x2c], 5
call fcn.00410afc
lea ecx, [esi + 0xfc]
mov byte [esp + 0x2c], 6
call fcn.00410afc
lea ecx, [esi + 0x104]
mov byte [esp + 0x2c], 7
call fcn.00410afc
lea ecx, [esi + 0x10c]
mov byte [esp + 0x2c], 8
call fcn.00410afc
lea ecx, [esi + 0x130]
mov byte [esp + 0x2c], 9
call fcn.004014c0
push edi
push edi
push 0xcf8000
push 0x80
mov ecx, esi
mov byte [esp + 0x3c], 0xa
mov dword [esi], 0x41db44
call fcn.00418425
push 0x194
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0xb
je 0x401991
push fcn.004089b0
push 0x4089a0
lea ebx, [eax + 4]
push 0xa
push 0x28
push ebx
mov dword [eax], 0xa
call fcn.00409531
jmp 0x401993
xor ebx, ebx
push 0x324
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x14c], ebx
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0xc
je 0x4019d7
push fcn.00408370
push 0x408350
lea ebx, [eax + 4]
push 0x14
push 0x28
push ebx
mov dword [eax], 0x14
call fcn.00409531
jmp 0x4019d9
xor ebx, ebx
push 0x2dc
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x114], ebx
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0xd
je 0x401a1f
push fcn.00401140
push 0x401120
lea ebx, [eax + 4]
push 0x1a
push 0x1c
push ebx
mov dword [eax], 0x1a
call fcn.00409531
mov eax, ebx
jmp 0x401a21
xor eax, eax
push 0x57c
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x118], eax
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0xe
je 0x401a65
push fcn.00401580
push 0x401560
lea ebx, [eax + 4]
push 0x19
push 0x38
push ebx
mov dword [eax], 0x19
call fcn.00409531
jmp 0x401a67
xor ebx, ebx
push 0x284
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x11c], ebx
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0xf
je 0x401aad
push fcn.00401660
push 0x401640
lea ebx, [eax + 4]
push 0x14
push 0x20
push ebx
mov dword [eax], 0x14
call fcn.00409531
mov eax, ebx
jmp 0x401aaf
xor eax, eax
push 0x14
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x120], eax
call fcn.0041521b
push 0x154
mov dword [esi + 0x198], eax
call fcn.0041521b
add esp, 8
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0x10
je 0x401b00
push fcn.00401580
push 0x401560
lea ebx, [eax + 4]
push 6
push 0x38
push ebx
mov dword [eax], 6
call fcn.00409531
jmp 0x401b02
xor ebx, ebx
push 0xcc
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x124], ebx
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0x11
je 0x401b46
push fcn.004014b0
push 0x401490
lea ebx, [eax + 4]
push 5
push 0x28
push ebx
mov dword [eax], 5
call fcn.00409531
jmp 0x401b48
xor ebx, ebx
push 0x7c
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x128], ebx
call fcn.0041521b
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x2c], 0x12
je 0x401b8b
push fcn.004011b0
push 0x401190
lea ebx, [eax + 4]
push 3
push 0x28
push ebx
mov dword [eax], 3
call fcn.00409531
mov eax, ebx
jmp 0x401b8d
xor eax, eax
push 0x50
mov byte [esp + 0x30], 0xa
mov dword [esi + 0x12c], eax
call fcn.0041521b
add esp, 4
mov dword [esi + 0x19c], eax
call fcn.0041a9d3
mov ebx, dword [eax + 4]
mov eax, dword [0x424944]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 0x14
xor ebp, ebp
push ebp
lea eax, [esp + 0x14]
push str.Name_d
push eax
call fcn.00410997
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x18]
push 0
push ecx
push str.Top10Players
push edx
mov ecx, ebx
call fcn.0041a5ef
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x15
call fcn.00414ffa
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0x14
call fcn.00414f51
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401c29
mov eax, dword [esi + 0x14c]
push 0x4241c8
lea ecx, [edi + eax + 4]
push ecx
jmp 0x401c35
mov edx, dword [esi + 0x14c]
push eax
lea eax, [edi + edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
lea ecx, [esp + 0x14]
push str.Stage_d
push ecx
call fcn.00410997
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebx
push 0xffffffffffffffff
push edx
push str.Top10Players
call fcn.0041a583
cmp eax, 0xffffffff
jne 0x401c6b
mov eax, 1
mov ecx, dword [esi + 0x14c]
push ebp
lea edx, [esp + 0x14]
push str.Points_d
push edx
mov dword [edi + ecx + 0x14], eax
call fcn.00410997
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, ebx
push 0xffffffffffffffff
push eax
push str.Top10Players
call fcn.0041a583
mov ecx, eax
mov edx, dword [esi + 0x14c]
inc ecx
push ebp
neg ecx
sbb ecx, ecx
push str.Date_d
and ecx, eax
lea eax, [esp + 0x18]
push eax
mov dword [edi + edx + 0x18], ecx
call fcn.00410997
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x1c]
push 0
push ecx
push str.Top10Players
push edx
mov ecx, ebx
call fcn.0041a5ef
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0x16
call fcn.00414ffa
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 0x14
call fcn.00414f51
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x401d13
mov eax, dword [esi + 0x14c]
push 0x4241c8
lea ecx, [edi + eax + 0x1c]
push ecx
jmp 0x401d1f
mov edx, dword [esi + 0x14c]
push eax
lea eax, [edi + edx + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0x28
inc ebp
cmp edi, 0x190
jl 0x401bc4
mov ecx, dword [esi + 0x14c]
mov byte [esp + 0x2c], 0x13
mov edx, dword [ecx + 0x18]
lea ecx, [esp + 0x10]
mov dword [esi + 0x194], edx
mov dword [esi + 0x1bc], 0
call fcn.00414f51
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0xa
call fcn.00414f51
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret