Function at 0x42c030
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x454350]
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.004062e0
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.00434060
add esp, 8
push str.SELECT_heart_count_FROM_LoveHeartCount_WHERE_Number0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
push ecx
call fcn.00408880
add esp, 8
cmp eax, 1
jne 0x42c103
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
movsx edx, ax
cmp edx, 0x64
jne 0x42c0ed
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
push str.UPDATE_LoveHeartCount_SET_heart_count0_WHERE_Number0
mov eax, dword [ebp + 8]
add eax, 0x7d80
push eax
call fcn.00408880
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
jmp 0x42c103
push str.heart_count
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408c10
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x34fa8
jbe 0x42c156
push str.UPDATE_LoveHeartCount_SET_heart_count0_WHERE_Number0
mov edx, dword [ebp + 8]
add edx, 0x7d80
push edx
call fcn.00408880
add esp, 8
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov eax, dword [ebp - 0x20]
push eax
push str.UPDATE_LoveHeartCount_SET_heart_count__d_where_Number0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
push ecx
call fcn.00408880
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
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 + 0xf080]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042a830
add esp, 8
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf04c]
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, 0x7d80
push edx
call fcn.00408880
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov eax, dword [ebp + 0x10]
add eax, 3
push eax
call fcn.0042aa60
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x42c346
call fcn.00435c51
cdq
mov ecx, 0x34fa8
idiv ecx
cmp edx, dword [ebp - 4]
jne 0x42c346
mov edx, dword [ebp + 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx + 0xf080]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042a830
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x42c292
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 + 0xf04c]
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, 0x7d80
push eax
call fcn.00408880
add esp, 0x18
jmp 0x42c2c0
mov ecx, dword [ebp + 0x10]
add ecx, 0xd
push ecx
push 0x445454
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, 0x7d80
push ecx
call fcn.00408880
add esp, 0x18
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408ad0
mov ecx, dword [ebp + 8]
add ecx, 0x7d80
call fcn.00408a80
mov byte [ebp - 0x19], 1
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 4]
je 0x42c31e
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x48
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0xf04c]
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 0x42c346
push 0x445454
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.00407670
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00434051
mov esp, ebp
pop ebp
ret