Function at 0x4ed502
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1cc
mov dword [ebp - 0x124], 0x80c9e4
mov dword [ebp - 0x120], 0x992a47
lea eax, [ebp - 0x18]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0x4eda55
mov dword [ebp - 0x114], esp
lea eax, [ebp - 0x13c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x138], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00815f44
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x1c
call fcn.00939a94
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 0x1b
call fcn.008b5758
jmp 0x4ed652
mov dword [esp + 4], str.SELECT__rank_id__FROM__players__WHERE__id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x138], 0x1a
call fcn.00987374
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], 0x9b58cf
mov dword [esp], eax
call fcn.00987374
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x144]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x138], 0x19
call eax
jmp 0x4ed7af
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x164], edx
sub edx, 0xc
mov dword [ebp - 0x160], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x160], 0x9aba1c
je 0x4ed856
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x164]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x17
call fcn.00815de4
test eax, eax
jg 0x4ed856
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x160]
mov dword [esp], edx
call fcn.00929958
jmp 0x4ed856
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922348
cmp dword [ebp - 0x150], 0
jne 0x4edc80
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x138], 4
call fcn.0092bb18
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 3
call fcn.00939554
jmp 0x4ed9d0
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1c0], edx
sub edx, 0xc
mov dword [ebp - 0x1bc], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1bc], 0x9aba1c
je 0x4edb89
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 1
call fcn.00815de4
test eax, eax
jg 0x4edb89
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1bc]
mov dword [esp], edx
call fcn.00929958
jmp 0x4edb89
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 5
call fcn.008b57ec
jmp 0x4edbed
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 6
call fcn.00939e54
jmp 0x4edc4c
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x138], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x140], 0
jmp 0x4ee4b0
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b5d52
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x16
call fcn.0092bb18
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x138], 0x15
call eax
jmp 0x4eddba
test eax, eax
setne byte [ebp - 0x165]
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x17c], edx
sub edx, 0xc
mov dword [ebp - 0x178], edx
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x178], 0x9aba1c
je 0x4ede6c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x17c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x13
call fcn.00815de4
test eax, eax
jg 0x4ede6c
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x178]
mov dword [esp], edx
call fcn.00929958
jmp 0x4ede6c
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x138], 0x1a
call eax
movzx eax, byte [ebp - 0x165]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x138], 0xa
call fcn.0092bb18
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 9
call fcn.00939554
jmp 0x4ee00e
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1ac], edx
sub edx, 0xc
mov dword [ebp - 0x1a8], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1a8], 0x9aba1c
je 0x4ee0b4
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1ac]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 7
call fcn.00815de4
test eax, eax
jg 0x4ee0b4
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a8]
mov dword [esp], edx
call fcn.00929958
jmp 0x4ee0b4
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 0xb
call fcn.008b57ec
jmp 0x4ee118
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0xc
call fcn.00939e54
jmp 0x4ee177
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x138], 0xffffffff
call fcn.00816174
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x140], edx
jmp 0x4ee4b0
lea eax, [ebp - 0x13c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x140]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret