Function at 0x1004d870
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10298421
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x8cc
mov eax, dword [0x103680b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x6b8], ecx
mov eax, dword [ebp - 0x6b8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4e0], ecx
cmp dword [ebp + 8], 0
jne 0x1004d8d8
push 0x1031ae14
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x500
call fcn.10050830
jmp 0x1004e31d
push 0x1031ae2c
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x500
call fcn.10050830
push 0x1031ae44
lea ecx, [ebp - 0x2e4]
call fcn.10051590
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2e4]
push edx
lea eax, [ebp - 0x254]
push eax
call fcn.1004ce80
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2e4]
call fcn.100513c0
lea ecx, [ebp - 0x254]
call fcn.100506d0
movzx ecx, al
test ecx, ecx
je 0x1004d97f
push 0x208
push 0
lea edx, [ebp - 0x21c]
push edx
call fcn.1026c0f0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x254]
call fcn.10050830
lea ecx, [ebp - 0x47c]
call fcn.1004e340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.10050770
push eax
lea ecx, [ebp - 0x47c]
call fcn.1004d0b0
push 0
lea ecx, [ebp - 0x23c]
call fcn.1004fda0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x314]
push edx
lea ecx, [ebp - 0x47c]
call fcn.1004d1f0
mov dword [ebp - 0x724], eax
mov eax, dword [ebp - 0x724]
mov dword [ebp - 0x728], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x728]
push ecx
lea edx, [ebp - 0x26c]
push edx
call fcn.1004cd10
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x314]
call fcn.100508c0
push 0x1031ae48
lea ecx, [ebp - 0x760]
call fcn.100500c0
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x47c]
call fcn.1004d1b0
mov dword [ebp - 0x72c], eax
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x730], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x730]
push edx
lea eax, [ebp - 0x2fc]
push eax
call fcn.1004cdf0
add esp, 8
mov dword [ebp - 0x734], eax
mov ecx, dword [ebp - 0x734]
mov dword [ebp - 0x720], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x720]
push edx
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.1004fcf0
mov ecx, eax
call fcn.10064d40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2fc]
call fcn.100513c0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x32c]
call fcn.100508c0
push str.game_id
lea ecx, [ebp - 0x810]
call fcn.100500c0
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
push ecx
lea ecx, [ebp - 0x23c]
call fcn.1004fcf0
mov ecx, eax
call fcn.10064d40
lea ecx, [ebp - 0x284]
call fcn.10051670
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x23c]
call fcn.10064d80
lea ecx, [ebp - 0x6b4]
call fcn.1007f330
mov byte [ebp - 4], 0xb
push 0x1031ae68
lea ecx, [ebp - 0x35c]
call fcn.10051590
mov dword [ebp - 0x738], eax
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x73c], eax
mov byte [ebp - 4], 0xc
push str.get_client_skin.php
mov ecx, dword [ebp - 0x73c]
push ecx
lea edx, [ebp - 0x344]
push edx
call fcn.10064b60
add esp, 0xc
mov dword [ebp - 0x740], eax
mov eax, dword [ebp - 0x740]
mov dword [ebp - 0x744], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x744]
push ecx
lea ecx, [ebp - 0x6b4]
call fcn.1007f8e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x344]
call fcn.100513c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x35c]
call fcn.100513c0
push 0x1031ae98
lea ecx, [ebp - 0x2b4]
call fcn.10051590
mov byte [ebp - 4], 0xe
push 0x1031aeac
lea ecx, [ebp - 0x2cc]
call fcn.10051590
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x2b4]
push edx
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.1007f9d0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2cc]
call fcn.100513c0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b4]
call fcn.100513c0
push 0xffffffffffffffff
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x6b4]
call fcn.1007fab0
movzx edx, al
test edx, edx
je 0x1004e2c0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x6b4]
call fcn.1007f960
mov dword [ebp - 0x748], eax
mov ecx, dword [ebp - 0x748]
mov dword [ebp - 0x74c], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x74c]
push edx
lea ecx, [ebp - 0x808]
call fcn.10064e00
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x22c]
push ecx
call fcn.1004fdc0
add esp, 8
mov dword [ebp - 0x764], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x374]
call fcn.100513c0
push 0x1031aebc
lea ecx, [ebp - 0x800]
call fcn.100500c0
lea edx, [ebp - 0x800]
push edx
lea ecx, [ebp - 0x22c]
call fcn.1004fc90
mov byte [ebp - 0x6b9], al
movzx eax, byte [ebp - 0x6b9]
test eax, eax
je 0x1004e299
push 0x1031aec4
lea ecx, [ebp - 0x7d0]
call fcn.100500c0
lea ecx, [ebp - 0x7d0]
push ecx
lea edx, [ebp - 0x834]
push edx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x750], eax
mov ecx, dword [ebp - 0x750]
call fcn.10064e30
mov dword [ebp - 0x6c4], eax
cmp dword [ebp - 0x6c4], 0xc8
jne 0x1004e299
push str.flag
lea ecx, [ebp - 0x7e8]
call fcn.100500c0
push 0x1031aecc
lea ecx, [ebp - 0x7f0]
call fcn.100500c0
lea eax, [ebp - 0x7f0]
push eax
lea ecx, [ebp - 0x840]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6c8], eax
lea edx, [ebp - 0x7e8]
push edx
lea eax, [ebp - 0x8d0]
push eax
mov ecx, dword [ebp - 0x6c8]
call fcn.1004fc50
mov dword [ebp - 0x6cc], eax
lea ecx, [ebp - 0x38c]
push ecx
mov ecx, dword [ebp - 0x6cc]
call fcn.10064e50
mov dword [ebp - 0x6d0], eax
mov edx, dword [ebp - 0x6d0]
mov dword [ebp - 0x6d4], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x6d4]
push eax
lea ecx, [ebp - 0x29c]
push ecx
call fcn.1004cf60
add esp, 8
mov dword [ebp - 0x778], eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x38c]
call fcn.100513c0
push str.game_id_m
lea edx, [ebp - 0x29c]
push edx
call fcn.10064b40
add esp, 8
mov byte [ebp - 0x6ba], al
movzx eax, byte [ebp - 0x6ba]
test eax, eax
je 0x1004de1e
mov ecx, dword [ebp - 0x6b8]
mov dword [ecx + 0x590], 2
push 0x1031aee8
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x500
call fcn.10050830
lea edx, [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x578
call fcn.10051350
jmp 0x1004de53
push 0x1031af18
lea eax, [ebp - 0x29c]
push eax
call fcn.10064b40
add esp, 8
mov byte [ebp - 0x6bb], al
movzx ecx, byte [ebp - 0x6bb]
test ecx, ecx
je 0x1004de53
mov edx, dword [ebp - 0x6b8]
mov dword [edx + 0x590], 1
push 0x1031af24
lea ecx, [ebp - 0x7c8]
call fcn.100500c0
push 0x1031af1c
lea ecx, [ebp - 0x7e0]
call fcn.100500c0
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6d8], eax
lea edx, [ebp - 0x7c8]
push edx
mov ecx, dword [ebp - 0x6d8]
call fcn.1004fc70
mov byte [ebp - 0x6bc], al
movzx eax, byte [ebp - 0x6bc]
test eax, eax
je 0x1004df52
push 0x1031af30
lea ecx, [ebp - 0x774]
call fcn.100500c0
push 0x1031af28
lea ecx, [ebp - 0x76c]
call fcn.100500c0
lea ecx, [ebp - 0x76c]
push ecx
lea edx, [ebp - 0x858]
push edx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6dc], eax
lea eax, [ebp - 0x774]
push eax
lea ecx, [ebp - 0x864]
push ecx
mov ecx, dword [ebp - 0x6dc]
call fcn.1004fc50
mov dword [ebp - 0x6e0], eax
lea edx, [ebp - 0x3a4]
push edx
mov ecx, dword [ebp - 0x6e0]
call fcn.10064e50
mov dword [ebp - 0x6e4], eax
mov eax, dword [ebp - 0x6e4]
push eax
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x518
call fcn.10051410
lea ecx, [ebp - 0x3a4]
call fcn.100513c0
push 0x1031af3c
lea ecx, [ebp - 0x788]
call fcn.100500c0
push 0x1031af34
lea ecx, [ebp - 0x780]
call fcn.100500c0
lea ecx, [ebp - 0x780]
push ecx
lea edx, [ebp - 0x870]
push edx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6e8], eax
lea eax, [ebp - 0x788]
push eax
mov ecx, dword [ebp - 0x6e8]
call fcn.1004fc70
mov byte [ebp - 0x6bd], al
movzx ecx, byte [ebp - 0x6bd]
test ecx, ecx
je 0x1004e051
push 0x1031af48
lea ecx, [ebp - 0x798]
call fcn.100500c0
push 0x1031af40
lea ecx, [ebp - 0x790]
call fcn.100500c0
lea edx, [ebp - 0x790]
push edx
lea eax, [ebp - 0x87c]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6ec], eax
lea ecx, [ebp - 0x798]
push ecx
lea edx, [ebp - 0x888]
push edx
mov ecx, dword [ebp - 0x6ec]
call fcn.1004fc50
mov dword [ebp - 0x6f0], eax
lea eax, [ebp - 0x3bc]
push eax
mov ecx, dword [ebp - 0x6f0]
call fcn.10064e50
mov dword [ebp - 0x6f4], eax
mov ecx, dword [ebp - 0x6f4]
push ecx
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x530
call fcn.10051410
lea ecx, [ebp - 0x3bc]
call fcn.100513c0
push 0x1031af54
lea ecx, [ebp - 0x7a8]
call fcn.100500c0
push 0x1031af4c
lea ecx, [ebp - 0x7a0]
call fcn.100500c0
lea edx, [ebp - 0x7a0]
push edx
lea eax, [ebp - 0x894]
push eax
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6f8], eax
lea ecx, [ebp - 0x7a8]
push ecx
mov ecx, dword [ebp - 0x6f8]
call fcn.1004fc70
mov byte [ebp - 0x6be], al
movzx edx, byte [ebp - 0x6be]
test edx, edx
je 0x1004e150
push 0x1031af64
lea ecx, [ebp - 0x7b0]
call fcn.100500c0
push 0x1031af5c
lea ecx, [ebp - 0x7f8]
call fcn.100500c0
lea eax, [ebp - 0x7f8]
push eax
lea ecx, [ebp - 0x8a0]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x6fc], eax
lea edx, [ebp - 0x7b0]
push edx
lea eax, [ebp - 0x8ac]
push eax
mov ecx, dword [ebp - 0x6fc]
call fcn.1004fc50
mov dword [ebp - 0x700], eax
lea ecx, [ebp - 0x3d4]
push ecx
mov ecx, dword [ebp - 0x700]
call fcn.10064e50
mov dword [ebp - 0x704], eax
mov edx, dword [ebp - 0x704]
push edx
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x548
call fcn.10051410
lea ecx, [ebp - 0x3d4]
call fcn.100513c0
push 0x1031af74
lea ecx, [ebp - 0x7c0]
call fcn.100500c0
push 0x1031af6c
lea ecx, [ebp - 0x7b8]
call fcn.100500c0
lea eax, [ebp - 0x7b8]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x708], eax
lea edx, [ebp - 0x7c0]
push edx
mov ecx, dword [ebp - 0x708]
call fcn.1004fc70
mov byte [ebp - 0x6bf], al
movzx eax, byte [ebp - 0x6bf]
test eax, eax
je 0x1004e28a
push str.game_name
lea ecx, [ebp - 0x758]
call fcn.100500c0
push 0x1031af80
lea ecx, [ebp - 0x7d8]
call fcn.100500c0
lea ecx, [ebp - 0x7d8]
push ecx
lea edx, [ebp - 0x8c4]
push edx
lea ecx, [ebp - 0x22c]
call fcn.1004fcf0
mov dword [ebp - 0x70c], eax
lea eax, [ebp - 0x758]
push eax
lea ecx, [ebp - 0x8b8]
push ecx
mov ecx, dword [ebp - 0x70c]
call fcn.1004fc50
mov dword [ebp - 0x710], eax
lea edx, [ebp - 0x404]
push edx
mov ecx, dword [ebp - 0x710]
call fcn.10064e50
mov dword [ebp - 0x714], eax
mov eax, dword [ebp - 0x714]
mov dword [ebp - 0x718], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x718]
push ecx
lea edx, [ebp - 0x3ec]
push edx
call fcn.1004cf60
add esp, 8
mov dword [ebp - 0x71c], eax
mov eax, dword [ebp - 0x71c]
push eax
mov ecx, dword [ebp - 0x6b8]
add ecx, 0x560
call fcn.10051410
lea ecx, [ebp - 0x3ec]
call fcn.100513c0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x404]
call fcn.100513c0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x29c]
call fcn.100513c0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x22c]
call fcn.1004fd80
jmp 0x1004e2b0
mov dword [ebp - 4], 0xb
jmp 0x1004e2c0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x6b4]
call fcn.1007f7e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x284]
call fcn.100513c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.100513c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
call fcn.1004fd80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x47c]
call fcn.1004e390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.100508c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100ff9df
mov esp, ebp
pop ebp
ret 4