Function at 0x4131b7
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x6f733e
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040cce4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x413225
push ebx
call fcn.0059e734
add esp, 4
cmp dword [ebp - 4], 0
jne 0x413249
push 0
mov eax, 1
mov ebx, 0x608780
call fcn.0059e740
add esp, 4
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov eax, 1
mov ebx, 0x608890
call fcn.0059e740
add esp, 0x10
push 0x80000301
push 0
push dword [0x944f28]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f24]
test eax, eax
jne 0x41328c
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f20]
test eax, eax
jne 0x4132a2
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f1c]
test eax, eax
jne 0x4132b8
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f18]
test eax, eax
jne 0x4132ce
mov eax, 0x6f5d0e
push eax
push 5
mov eax, 5
mov ebx, 0x61df60
call fcn.0059e740
add esp, 0x40
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4133eb
call fcn.004139d2
push 0x80000301
push 0
push dword [0x944f28]
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f24]
test eax, eax
jne 0x41331a
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f20]
test eax, eax
jne 0x413330
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f1c]
test eax, eax
jne 0x413346
mov eax, 0x6f5d0e
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x944f18]
test eax, eax
jne 0x41335c
mov eax, 0x6f5d0e
push eax
push 5
mov eax, 5
mov ebx, 0x61df60
call fcn.0059e740
add esp, 0x40
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4133eb
mov eax, 0x6f734d
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413399
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov eax, 5
mov ebx, 0x61e050
call fcn.0059e740
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov eax, 1
mov ebx, 0x6088b0
call fcn.0059e740
add esp, 0x10
mov eax, 0
jmp 0x4139ba
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x413415
push 0x25d
push 0x4017d82
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x413432
push 0x25d
push 0x4017d82
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0xc]
add ebx, 0x18
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
test eax, eax
je 0x413463
push eax
mov ebx, eax
call fcn.0040111a
inc eax
push eax
call fcn.0059e722
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x413474
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x6f735c
push dword [ebp - 0xc]
push str.SELECT__FROM__account__WHERE__account___
mov ecx, 3
call fcn.00401185
add esp, 0xc
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4134a8
mov eax, 0x6f5d0e
push eax
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x61e0b0
call fcn.0059e740
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4134dd
push ebx
call fcn.0059e734
add esp, 4
mov eax, dword [ebp - 0x28]
and eax, 1
xor eax, 1
test eax, eax
je 0x413558
mov eax, 0x6f738a
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413506
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov eax, 5
mov ebx, 0x61e050
call fcn.0059e740
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov eax, 1
mov ebx, 0x6088b0
call fcn.0059e740
add esp, 0x10
mov eax, 0
jmp 0x4139ba
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov eax, 5
mov ebx, 0x61e170
call fcn.0059e740
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000401
push 0
lea eax, [ebp - 0x18]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.gold_coin
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov eax, 5
mov ebx, 0x61e210
call fcn.0059e740
add esp, 0x28
push 0x80000401
push 0
lea eax, [ebp - 0x20]
push eax
push reloc.WS2_32.dll_connect
push 0
push str.silver_coin
push 0x80000301
push 0
push dword [ebp - 0x10]
push 3
mov eax, 5
mov ebx, 0x61e210
call fcn.0059e740
add esp, 0x28
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov eax, 5
mov ebx, 0x61e1c0
call fcn.0059e740
add esp, 0x10
fild qword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0xc]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401596
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
fild qword [ebp - 0x20]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
call fcn.00401596
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
xor eax, eax
cmp dword [ebp - 0x14], 0
jl 0x413667
jg 0x413666
cmp dword [ebp - 0x18], 0x77359400
jbe 0x413667
inc eax
test eax, eax
je 0x41367d
mov dword [ebp - 0x18], 0x77359400
mov dword [ebp - 0x14], 0
xor eax, eax
cmp dword [ebp - 0x1c], 0
jl 0x413691
jg 0x413690
cmp dword [ebp - 0x20], 0x77359400
jbe 0x413691
inc eax
test eax, eax
je 0x4136a7
mov dword [ebp - 0x20], 0x77359400
mov dword [ebp - 0x1c], 0
xor eax, eax
cmp dword [ebp - 0x14], 0
jg 0x4136b8
jl 0x4136b7
cmp dword [ebp - 0x18], 0
jae 0x4136b8
inc eax
test eax, eax
jne 0x4136dd
xor eax, eax
cmp dword [ebp - 0x1c], 0
jg 0x4136d1
jl 0x4136d0
cmp dword [ebp - 0x20], 0
jae 0x4136d1
inc eax
test eax, eax
jne 0x4136dd
xor eax, eax
jmp 0x4136e2
mov eax, 1
test eax, eax
je 0x413754
mov eax, 0x6f73ad
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x413702
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov eax, 5
mov ebx, 0x61e050
call fcn.0059e740
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov eax, 1
mov ebx, 0x6088b0
call fcn.0059e740
add esp, 0x10
mov eax, 0
jmp 0x4139ba
push 0x80000301
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x5a0e90
call fcn.0059e73a
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp + 0xc]
push 1
mov ebx, 0x5a0e90
call fcn.0059e73a
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x6f73ba
push dword [ebp - 0xc]
push str.__CHECKSUM_upper_md5_concat_account_PASSWORD_LPAD_conv_privilege__10__16___8__0__blocked_time_LPAD_conv_gold_coin__10__16__8_0__LPAD_conv_silver_coin__10__16__8_0__coin_password_unlock_coin_password_time_trade_lock_time_permit_ip_permit_id_ABCDEF____WHERE_account__
push dword [ebp - 0x28]
push str._gold_coin__gold_coin
push dword [ebp - 0x24]
push str.UPDATE_account_SET_silver_coin__silver_coin
mov ecx, 7
call fcn.00401185
add esp, 0x1c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4137cf
push ebx
call fcn.0059e734
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4137df
push ebx
call fcn.0059e734
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x4137f2
mov eax, 0x6f5d0e
push eax
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x61e0b0
call fcn.0059e740
add esp, 0x1c
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x413824
push ebx
call fcn.0059e734
add esp, 4
push 0x6f73ba
push dword [ebp - 0xc]
push str.update_account_set_checksumUPPER_checksum__WHERE_account__
mov ecx, 3
call fcn.00401185
add esp, 0xc
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x413854
mov eax, 0x6f5d0e
push eax
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov eax, 5
mov ebx, 0x61e0b0
call fcn.0059e740
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x413886
push ebx
call fcn.0059e734
add esp, 4
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov eax, 5
mov ebx, 0x61e050
call fcn.0059e740
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov eax, 1
mov ebx, 0x6088b0
call fcn.0059e740
add esp, 0x10
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x4138f2
push 0x906
push 0x4017d82
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41390f
push 0x906
push 0x4017d82
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x24]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
mov ebx, dword [0x944f04]
call fcn.00402194
push ebx
push ecx
mov eax, dword [ebp + 8]
dec eax
jns 0x413951
push 0x949
push 0x4017d82
push 4
call fcn.0059e728
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41396e
push 0x949
push 0x4017d82
push 1
call fcn.0059e728
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x24]
mov ebx, dword [ebx + 8]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.00413e29
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.00412a5b
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4139b0
push ebx
call fcn.0059e734
add esp, 4
mov eax, 1
jmp 0x4139ba
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4139cb
push ebx
call fcn.0059e734
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14