Function at 0x4f2644
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x21c
mov dword [ebp - 0x134], 0x80c9e4
mov dword [ebp - 0x130], 0x992b7f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0x4f2bd1
mov dword [ebp - 0x124], esp
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x148], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x154], 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 - 0x148], 0x25
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 - 0x148], 0x24
call fcn.008b5758
jmp 0x4f2794
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x23
call fcn.004f06d0
mov dword [ebp - 0x160], eax
mov dword [esp + 4], str.SELECT__id__FROM__guild_ranks__WHERE__guild_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x160]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], str._AND__level__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
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 - 0x154]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x148], 0x22
call eax
jmp 0x4f292b
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x178], edx
sub edx, 0xc
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x174], 0x9aba1c
je 0x4f29d2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x178]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x20
call fcn.00815de4
test eax, eax
jg 0x4f29d2
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x174]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f29d2
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x164], 0
jne 0x4f2e4d
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov dword [ebp - 0x148], 4
call fcn.0092bb18
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 3
call fcn.00939554
jmp 0x4f2b4c
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x210], eax
sub eax, 0xc
mov dword [ebp - 0x20c], eax
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x20c], 0x9aba1c
je 0x4f2d56
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x210]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 1
call fcn.00815de4
test eax, eax
jg 0x4f2d56
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x20c]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f2d56
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x148], 5
call fcn.008b57ec
jmp 0x4f2dba
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x148], 6
call fcn.00939e54
jmp 0x4f2e19
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x150], 0
jmp 0x4f3c55
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov dword [ebp - 0x148], 0x1f
call fcn.0092bb18
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1e
call fcn.00939554
jmp 0x4f2f80
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x18c], eax
sub eax, 0xc
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x188], 0x9aba1c
je 0x4f3029
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1c
call fcn.00815de4
test eax, eax
jg 0x4f3029
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x188]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f3029
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
mov dword [esp + 4], edx
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x148], 0x23
call eax
sub esp, 4
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xf8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d9
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1b
call fcn.0092bb18
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x158]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x148], 0x1a
call eax
mov dword [ebp - 0x190], eax
mov dword [esp + 4], str.UPDATE__players__SET__rank_id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x190]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], 0x9b5ab3
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00987ad4
jmp 0x4f3213
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1a4], edx
sub edx, 0xc
mov dword [ebp - 0x1a0], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1a0], 0x9aba1c
je 0x4f3396
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1a4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x18
call fcn.00815de4
test eax, eax
jg 0x4f3396
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1a0]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f3396
lea eax, [ebp - 0x118]
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 eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1b8], eax
sub eax, 0xc
mov dword [ebp - 0x1b4], eax
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1b4], 0x9aba1c
je 0x4f345b
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1b8]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x16
call fcn.00815de4
test eax, eax
jg 0x4f345b
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1b4]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f345b
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
mov edx, dword [ebp - 0x158]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x148], 0x23
call eax
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x154]
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x148], 0x15
call eax
movzx eax, al
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x1d0], eax
sub eax, 0xc
mov dword [ebp - 0x1cc], eax
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1cc], 0x9aba1c
je 0x4f357a
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1d0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x13
call fcn.00815de4
test eax, eax
jg 0x4f357a
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1cc]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f357a
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.00922348
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0x118]
mov dword [esp], eax
mov dword [ebp - 0x148], 0xa
call fcn.0092bb18
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 9
call fcn.00939554
jmp 0x4f36e7
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x1fc], eax
sub eax, 0xc
mov dword [ebp - 0x1f8], eax
lea edx, [ebp - 0x118]
mov dword [esp + 4], edx
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1f8], 0x9aba1c
je 0x4f378d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1fc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 7
call fcn.00815de4
test eax, eax
jg 0x4f378d
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1f8]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f378d
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x148], 0xb
call fcn.008b57ec
jmp 0x4f37f1
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0xc
call fcn.00939e54
jmp 0x4f3850
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x150], eax
jmp 0x4f3c55
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x150]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret