Function at 0x460c10
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a676
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4b4
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x460d32
mov esi, 0xf
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x7c], bl
push 0xa
push str.Name_NULL
lea ecx, [ebp - 0x80]
call fcn.004031a0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
push ebx
push 0x5b45eb
lea ecx, [ebp - 0x48]
call fcn.004031a0
mov byte [ebp - 4], 1
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0xec], bl
push ebx
push 0x5b45eb
lea ecx, [ebp - 0xf0]
call fcn.004031a0
mov byte [ebp - 4], 2
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 0xb4], bl
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0xb8]
call fcn.004031a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x114], ebx
mov byte [ebp - 0x124], bl
push esi
push str..Creatures.cpp
lea ecx, [ebp - 0x128]
call fcn.004031a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
push eax
push ebx
lea ecx, [ebp - 0x48]
push ecx
push ebx
lea edx, [ebp - 0xf0]
push edx
lea eax, [ebp - 0xb8]
push eax
push 0x582
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x394]
call fcn.0054a580
push 0x5d7834
lea edx, [ebp - 0x394]
push edx
call fcn.0055a7d2
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460d37
sub eax, edx
cmp eax, 0x1e
jb 0x460e65
mov esi, 0xf
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x60], bl
push 0x22
push str.strlen_Name__CHARACTER_NAME_LENGTH
lea ecx, [ebp - 0x64]
call fcn.004031a0
mov dword [ebp - 4], 5
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x88], ebx
mov byte [ebp - 0x98], bl
push ebx
push 0x5b45eb
lea ecx, [ebp - 0x9c]
call fcn.004031a0
mov byte [ebp - 4], 6
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460da0
sub eax, edx
mov edi, eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc0], ebx
mov byte [ebp - 0xd0], bl
push 0xc
push str.strlen_Name_
lea ecx, [ebp - 0xd4]
call fcn.004031a0
mov byte [ebp - 4], 7
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf8], ebx
mov byte [ebp - 0x108], bl
push 0x10
push str.assertion_failed
lea ecx, [ebp - 0x10c]
call fcn.004031a0
mov byte [ebp - 4], 8
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x130], ebx
mov byte [ebp - 0x140], bl
push esi
push str..Creatures.cpp
lea ecx, [ebp - 0x144]
call fcn.004031a0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x64]
push eax
push ebx
lea ecx, [ebp - 0x9c]
push ecx
push edi
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x10c]
push eax
push 0x583
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x40c]
call fcn.0054a580
push 0x5d7834
lea edx, [ebp - 0x40c]
push edx
call fcn.0055a7d2
mov dword [ebp - 4], 0xa
mov eax, dword [ebp + 8]
push eax
call fcn.0045d0c0
add esp, 4
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
jne 0x460f5e
mov eax, dword [0x635e94]
cmp eax, 0xc8
jl 0x460f45
push str.NumberOfBuddies_BUDDIES
lea ecx, [ebp - 0x358]
call fcn.00403d40
mov byte [ebp - 4], 0xb
push 0x5b45eb
lea ecx, [ebp - 0x2cc]
call fcn.00403d40
mov byte [ebp - 4], 0xc
push str.NumberOfBuddies
lea ecx, [ebp - 0x1b4]
call fcn.00403d40
mov byte [ebp - 4], 0xd
push str.assertion_failed
lea ecx, [ebp - 0x160]
call fcn.00403d40
mov byte [ebp - 4], 0xe
push str..Creatures.cpp
lea ecx, [ebp - 0x1ec]
call fcn.00403d40
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x358]
push ecx
push ebx
lea edx, [ebp - 0x2cc]
push edx
mov eax, dword [0x635e94]
push eax
lea ecx, [ebp - 0x1b4]
push ecx
lea edx, [ebp - 0x160]
push edx
push 0x589
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x484]
call fcn.0054a580
push 0x5d7834
lea ecx, [ebp - 0x484]
push ecx
call fcn.0055a7d2
mov edi, eax
mov dword [ebp - 0x14], edi
inc eax
mov dword [0x635e94], eax
cmp byte [ebp + 0x10], bl
je 0x46103b
jmp 0x461035
cmp dword [0x635e94], 0xc8
jle 0x46101e
push 0x5b89f0
lea ecx, [ebp - 0x304]
call fcn.00403d40
mov byte [ebp - 4], 0x10
push 0x5b45eb
lea ecx, [ebp - 0x224]
call fcn.00403d40
mov byte [ebp - 4], 0x11
push str.NumberOfBuddies
lea ecx, [ebp - 0x33c]
call fcn.00403d40
mov byte [ebp - 4], 0x12
push str.assertion_failed
lea ecx, [ebp - 0x25c]
call fcn.00403d40
mov byte [ebp - 4], 0x13
push str..Creatures.cpp
lea ecx, [ebp - 0x2e8]
call fcn.00403d40
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x304]
push edx
push ebx
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [0x635e94]
push ecx
lea edx, [ebp - 0x33c]
push edx
lea eax, [ebp - 0x25c]
push eax
push 0x58e
lea ecx, [ebp - 0x2e8]
push ecx
lea ecx, [ebp - 0x3d0]
call fcn.0054a580
push 0x5d7834
lea edx, [ebp - 0x3d0]
push edx
call fcn.0055a7d2
mov eax, edi
imul eax, eax, 0x2c
add eax, 0x633c30
mov dword [ebp - 0x28], eax
cmp byte [ebp + 0x10], bl
je 0x46103b
cmp byte [eax + 0x22], bl
jne 0x46103b
inc dword [0x635e90]
mov esi, edi
imul esi, esi, 0x2c
add esi, 0x633c30
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
lea edx, [esi + 4]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x461054
mov cl, byte [ebp + 0x10]
mov byte [esi + 0x22], cl
mov dword [esi + 0x24], ebx
mov edx, dword [ebp + 8]
push edx
call fcn.0050b210
mov dword [esi + 0x28], eax
push edi
call fcn.00460910
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret