Function at 0x431100
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.DELETE_FROM__s.dbo.Race_LastWinners
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 + 0xc]
movzx eax, byte [edx + 3]
test eax, eax
jle 0x4311a9
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 3]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.INSERT_INTO__s.dbo.Race_LastWinners__AccountID_Name_Seconds__SELECT_TOP__d_AccountID__Name__Seconds_FROM__s.dbo.Race_Data_ORDER_BY_Seconds_ASC
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x14
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 + 8]
add eax, 0xf030
push eax
push str.DELETE_FROM__s.dbo.Race_Data
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 byte [ebp - 0xf0], 0
xor edx, edx
mov dword [ebp - 0xef], edx
mov dword [ebp - 0xeb], edx
mov word [ebp - 0xe7], dx
push 0xd1
push 0
lea eax, [ebp - 0xe5]
push eax
call fcn.00435470
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 3]
push eax
push str.SELECT_TOP__d_AccountID__Name__Seconds_FROM__s.dbo.Race_LastWinners_ORDER_BY_Seconds_ASC
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x4312c7
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
je 0x4312c7
mov eax, dword [ebp - 4]
imul eax, eax, 0x16
lea ecx, [ebp + eax - 0xf0]
push ecx
push str.AccountID
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov edx, dword [ebp - 4]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xe5]
push eax
push str.Name
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407ca0
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
movsx edx, ax
cmp edx, 0x64
jne 0x431266
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov dword [ebp - 0xf4], 0
jmp 0x4312f0
mov eax, dword [ebp - 0xf4]
add eax, 1
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [ebp - 4]
jge 0x4314a4
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0x14]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0x12]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0x11]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0x10]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xf]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xe]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xd]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0x13]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xc]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xb]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 0xa]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 9]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 7]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + edx + 6]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx + 4]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx + 0x1c]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx + 0x18]
push ecx
mov edx, dword [ebp - 0xf4]
imul edx, edx, 0x16
lea eax, [ebp + edx - 0xe5]
push eax
mov ecx, dword [ebp - 0xf4]
imul ecx, ecx, 0x16
lea edx, [ebp + ecx - 0xf0]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.INSERT_INTO__s.dbo.Titan_Rewards__AccountID_Name_Zen_VipMoney_Num_Lvl_Opt_Luck_Skill_Dur_Excellent_Ancient_JOH_Sock1_Sock2_Sock3_Sock4_Sock5_Days_SerialFFFFFFFE__VALUES___s__s__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d__d_
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x5c
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
jmp 0x4312e1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret