Function at 0x1001455f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 0xc
call fcn.10031423
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x100bbef7
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0xc
call fcn.10031423
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x100bbb5e
push 1
push 1
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x100bc9d1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1001463b
push ebx
call fcn.1003141d
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x10032c00
call fcn.10031429
add esp, 0x10
mov dword [ebp - 0x24], eax
push str._LIMIT_1
push dword [ebp - 0x24]
push str.SELECT_name_type_status_config_FROM_reward_WHERE_id_
mov ecx, 3
call fcn.1000106f
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001468d
push ebx
call fcn.1003141d
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100146a1
push ebx
call fcn.1003141d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x10014779
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x10014789
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x10014799
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100147a9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100147b9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x100147c9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x100147d9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x100147e9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100147f9
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10014809
push ebx
call fcn.1003141d
add esp, 4
cmp dword [ebp - 0x4c], 0
jne 0x10014898
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x100bcca6
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 0x2875
mov eax, 0x100bbf53
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push 0x65
call fcn.10010218
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x10014870
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10014880
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10014890
push ebx
call fcn.1003141d
add esp, 4
mov eax, dword [ebp - 0x30]
jmp 0x10014a36
push 1
push 1
push 0x101a86f8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push 0xc8
mov eax, str.code
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100148eb
push ebx
call fcn.1003141d
add esp, 4
push 1
mov eax, 0x100bc7f5
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10014917
push ebx
call fcn.1003141d
add esp, 4
push dword [ebp - 8]
mov eax, 0x100bc461
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x54]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10014944
push ebx
call fcn.1003141d
add esp, 4
lea eax, [ebp - 0x10]
push eax
mov eax, str.name
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10014972
push ebx
call fcn.1003141d
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, str.type
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100149a0
push ebx
call fcn.1003141d
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov eax, str.status
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x48]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100149ce
push ebx
call fcn.1003141d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
mov eax, str.config
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x4c]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x100149fc
push ebx
call fcn.1003141d
add esp, 4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
push 1
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x10014a36
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10014a57
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10014a67
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10014a77
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10014a87
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10014a97
push ebx
call fcn.1003141d
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.1003141d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4