Function at 0x4d888a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0x11c]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov esi, eax
mov dword [esp + 8], 0x3f
mov dword [esp + 4], str.SELECT__key____value__FROM__global_storage__WHERE__world_id__
lea eax, [ebp - 0x114]
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], esi
lea eax, [ebp - 0x114]
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 8], 1
mov dword [esp + 4], 0x7dcca9
mov dword [esp], eax
call fcn.00757358
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov dword [ebp - 0x60], 0x7bf7b0
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4d89d4
mov edx, dword [ebp - 0x104]
cmp eax, edx
jbe 0x4d8982
lea edx, [ebp - 0x35]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.00704498
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d89fd
lea eax, [ebp - 0x3d]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x100]
mov dword [esp + 4], eax
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.00704498
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d89fd
lea eax, [ebp - 0xec]
mov dword [esp + 4], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00703510
jmp 0x4d89fd
lea eax, [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d8a2a
test ebx, ebx
je 0x4d8cef
lea edi, [ebp - 0x4c]
mov eax, dword [ebx]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x51]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dc4b4
lea edx, [ebp - 0x58]
mov dword [esp], edx
call fcn.007041ec
lea eax, [ebp - 0x58]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
lea edx, [ebp - 0x5c]
mov dword [esp], edx
call esi
sub esp, 4
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x45]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7dcd68
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x8def28
mov eax, dword [0x8def2c]
mov dword [esp + 4], eax
mov dword [esp], 0x8def24
call fcn.0074c700
mov esi, eax
mov edx, 0x8def28
cmp edx, eax
je 0x4d8ac8
mov eax, dword [ebp - 0x50]
cmp eax, dword [esi + 0x10]
jae 0x4d8b39
mov dword [ebp - 0x30], 0x7bf7b0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00704290
lea eax, [ebp - 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], 0x8def24
call fcn.0074c844
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d8b2e
lea eax, [ebp - 0x30]
mov dword [esp], eax
call fcn.0070479c
lea eax, [ebp - 0x5c]
mov dword [esp + 4], eax
add esi, 0x14
mov dword [esp], esi
call fcn.00703510
mov eax, dword [ebp - 0x4c]
sub eax, 0xc
mov dword [ebp - 0x130], eax
mov esi, 0x7bf7a4
cmp eax, esi
je 0x4d8bd9
cmp dword [0x8e6f60], 0
je 0x4d8b84
mov dword [esp + 4], 0xffffffff
lea eax, [eax + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x134], eax
jmp 0x4d8b9f
mov edx, dword [ebp - 0x130]
mov edx, dword [edx + 8]
mov dword [ebp - 0x134], edx
mov eax, edx
dec eax
mov edx, dword [ebp - 0x130]
mov dword [edx + 8], eax
cmp dword [ebp - 0x134], 0
jg 0x4d8bd9
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call fcn.00702c78
jmp 0x4d8bd9
mov eax, dword [ebp - 0x5c]
sub eax, 0xc
mov dword [ebp - 0x130], eax
cmp esi, eax
je 0x4d8c6f
cmp dword [0x8e6f60], 0
je 0x4d8c11
mov dword [esp + 4], 0xffffffff
lea eax, [eax + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x134], eax
jmp 0x4d8c2c
mov edx, dword [ebp - 0x130]
mov edx, dword [edx + 8]
mov dword [ebp - 0x134], edx
mov eax, edx
dec eax
mov edx, dword [ebp - 0x130]
mov dword [edx + 8], eax
cmp dword [ebp - 0x134], 0
jg 0x4d8c6f
lea eax, [ebp - 0x23]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call fcn.00702c78
jmp 0x4d8c6f
mov eax, dword [ebp - 0x58]
sub eax, 0xc
mov dword [ebp - 0x130], eax
cmp esi, eax
je 0x4d8cd7
cmp dword [0x8e6f60], 0
je 0x4d8c9f
mov dword [esp + 4], 0xffffffff
lea eax, [eax + 8]
mov dword [esp], eax
call fcn.006b2de0
mov esi, eax
jmp 0x4d8cae
mov edx, dword [ebp - 0x130]
mov esi, dword [edx + 8]
lea eax, [esi - 1]
mov dword [edx + 8], eax
test esi, esi
jg 0x4d8cd7
lea eax, [ebp - 0x22]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
call fcn.00702c78
jmp 0x4d8cd7
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
test al, al
jne 0x4d8a35
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
lea eax, [ebp - 0x3e]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7da2d2
lea eax, [ebp - 0x44]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x44]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xf0]
test al, 3
jne 0x4d8d36
mov ebx, 0
jmp 0x4d8d3f
mov eax, dword [ebp - 0xec]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x4d8d77
mov ebx, dword [ebp - 0x44]
sub ebx, 0xc
cmp ebx, 0x7bf7a4
je 0x4d8dd1
cmp dword [0x8e6f60], 0
je 0x4d8da5
mov dword [esp + 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.006b2de0
mov esi, eax
jmp 0x4d8dae
mov esi, dword [ebx + 8]
lea eax, [esi - 1]
mov dword [ebx + 8], eax
test esi, esi
jg 0x4d8dd1
lea eax, [ebp - 0x21]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00702c78
jmp 0x4d8dd1
mov dword [ebp - fcn.006668d4], vtable.o.14.0
mov dword [ebp - 0xe8], 0x824814
mov dword [ebp - 0x114], 0x824800
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7da2d2
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x20]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xf0]
test al, 3
jne 0x4d8e36
mov ebx, 0
jmp 0x4d8e3f
mov eax, dword [ebp - 0xec]
mov ebx, dword [eax - 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xec]
mov dword [esp + 4], eax
lea eax, [ebp - 0x110]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x4d8e77
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d8e8b
mov edx, 0x8d18a0
mov eax, dword [edx]
dec eax
mov dword [edx], eax
test eax, eax
jne 0x4d8f50
mov dword [esp + 4], 0
mov dword [esp], 0x8d18a4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
sub esp, 8
mov edi, 0x8d18a8
mov dword [esp + 4], 0x80000000
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub esp, 8
test eax, 0x40000000
jne 0x4d8f50
cmp eax, 0x80000000
je 0x4d8f50
mov esi, dword [0x8d18a8]
mov edx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
mov dword [ebp - 0x12c], edx
mov eax, esi
or eax, 0x40000000
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [ebp - 0x12c]
sub esp, 0xc
cmp esi, eax
je 0x4d8f11
mov esi, eax
jmp 0x4d8eee
test esi, 0x40000000
jne 0x4d8f50
mov dword [esp], 0x8d18a8
call fcn.0064673c
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
sub esp, 4
jmp 0x4d8f50
mov eax, dword [0x8210c4]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [ebp + eax - 0x11c], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0x114], eax
mov dword [ebp - fcn.00718768], 0x838ce8
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0070479c
jmp 0x4d8fbb
mov dword [ebp - method.c_streambufIwSt11char_traitsIwEE.virtual_0], vtable.c_streambufIwSt11char_traitsIwEE.0
lea ebx, [ebp - 0x11c]
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0072e050
mov eax, dword [0x8210c8]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [ebx + eax], edx
mov eax, dword [0x8210d4]
mov dword [ebp - 0x114], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210d8]
mov dword [ebx + eax + 8], edx
mov eax, dword [0x8210cc]
mov dword [ebp - 0x11c], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210d0]
mov dword [ebx + eax], edx
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xe8], 0x839710
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00750944
mov al, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret