Function at 0x403610
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push esi
push str.SELECT__FROM_BankEx_WHERE_AccountID___s
push 0x440e30
call fcn.00416550
add esp, 0xc
test al, al
je 0x403821
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x403821
push str.Money
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40365f
or eax, eax
or edx, 0xffffffff
jmp 0x403670
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422114
add esp, 4
mov esi, dword [ebp + 0xc]
push str.Bless
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40368c
or eax, eax
jmp 0x40369d
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Soul
mov dword [esi + 0x18], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x4036b3
or eax, eax
jmp 0x4036c4
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Chaos
mov dword [esi + 0x1c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x4036da
or eax, eax
jmp 0x4036eb
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Creation
mov dword [esi + 0x20], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x403701
or eax, eax
jmp 0x403712
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Life
mov dword [esi + 0x24], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x403728
or eax, eax
jmp 0x403739
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Harmony
mov dword [esi + 0x28], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40374f
or eax, eax
jmp 0x403760
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.Guardian
mov dword [esi + 0x2c], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x403776
or eax, eax
jmp 0x403787
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.LowStone
mov dword [esi + 0x30], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x40379d
or eax, eax
jmp 0x4037ae
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.HighStone
mov dword [esi + 0x34], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x4037c4
or eax, eax
jmp 0x4037d5
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
push str.GemStone
mov dword [esi + 0x38], eax
call fcn.004167c0
cmp eax, 0xffffffff
jne 0x4037eb
or eax, eax
jmp 0x4037fc
shl eax, 0xe
add eax, 0x441a62
push eax
call fcn.00422137
add esp, 4
mov dword [esi + 0x3c], eax
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov al, 1
pop esi
pop ecx
pop ebp
ret 8
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x440e3c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp + 0xc]
push esi
push str.INSERT_INTO_BankEx__AccountID_Bless_Soul_Chaos_Creation_Life_Harmony_Guardian_LowStone_HighStone_GemStone_Money__VALUES___s_0_0_0_0_0_0_0_0_0_0_0_
push 0x440e30
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
call fcn.00416550
add esp, 0xc
test al, al
jne 0x4037ff
pop esi
pop ecx
pop ebp
ret 8