Function at 0x42cc30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
push 0x14
push 0x30
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405400
add esp, 0xc
mov byte [ebp - 0x19], 0
mov edx, dword [ebp + 0x10]
add edx, 0xd
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00435fa0
add esp, 8
push str.SELECT_heart_count_FROM_LoveHeartCount_WHERE_Number0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 8
cmp eax, 1
jne 0x42cd03
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
jne 0x42cced
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push str.UPDATE_LoveHeartCount_SET_heart_count0_WHERE_Number0
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
jmp 0x42cd03
push str.heart_count
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x34fa8
jbe 0x42cd56
push str.UPDATE_LoveHeartCount_SET_heart_count0_WHERE_Number0
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov eax, dword [ebp - 0x20]
push eax
push str.UPDATE_LoveHeartCount_SET_heart_count__d_where_Number0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
add edx, 0xd
push edx
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax + 0xf0d4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042b2d0
add esp, 8
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf0a0]
push edx
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push str.INSERT_INTO_LoveHeartAll___Number__Id__Server__Name___Values___d___s__s__s_
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
call fcn.0042b500
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x42cf46
call fcn.00437bb1
cdq
mov ecx, 0x34fa8
idiv ecx
cmp edx, dword [ebp - 4]
jne 0x42cf46
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx + 0xf0d4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042b2d0
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x42ce92
mov eax, dword [ebp + 0x10]
add eax, 0xd
push eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x48
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0xf0a0]
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.INSERT_INTO_LoveHeart___Number__Id__Server__Name___Values___d___s__s__s_
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x18
jmp 0x42cec0
mov ecx, dword [ebp + 0x10]
add ecx, 0xd
push ecx
push 0x44758c
mov edx, dword [ebp + 0x10]
add edx, 3
push edx
mov eax, dword [ebp - 0x20]
push eax
push str.INSERT_INTO_LoveHeart___Number__Id__Server__Name___Values___d___s__s__s_
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov byte [ebp - 0x19], 1
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
je 0x42cf1e
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf0a0]
push edx
mov eax, dword [ebp + 0x10]
add eax, 0xd
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
push str._LOVE_HEART__Event_Winner_:__s:_s___Server_:__s
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax]
call edx
add esp, 0x14
jmp 0x42cf46
push 0x44758c
mov eax, dword [ebp + 0x10]
add eax, 0xd
push eax
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
push str._LOVE_HEART__Event_Winner_:__s:_s___Server_:__s
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax]
call edx
add esp, 0x14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
movzx ecx, byte [ebp - 0x1b]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret