Function at 0x4e350c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push 0xc
call fcn.005dc81a
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6b45a4
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6cdafd
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00401a1d
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e3583
push ebx
call fcn.005dc820
add esp, 4
call fcn.0042859a
mov dword [ebp - 0x14], eax
push 1
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e35b4
push ebx
call fcn.005dc820
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, 0x6b6f49
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, 0x6b51b8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e35f9
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e3609
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x20], 0
jne 0x4e361d
mov eax, 0
jmp 0x4e3ab4
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b6314
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6b6f56
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x14], eax
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, str.customgoods
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e3685
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e3695
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x1c], 0
jne 0x4e36a9
mov eax, 0
jmp 0x4e3ab4
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b6314
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.SELECT_limit_number_complete_number_limit_time_FROM_customgoods_WHERE_id
mov ecx, 7
call fcn.0040108c
add esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e37a2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4e37b2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4e37c2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4e37d2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4e37e2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4e37f2
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4e3802
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4e3812
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4e3822
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4e3832
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4e3842
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4e3852
push ebx
call fcn.005dc820
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x4e3866
mov eax, 0
jmp 0x4e3ab4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4e3879
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4e38a2
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
cmp dword [ebp - 0x14], eax
jg 0x4e38f8
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4e38d1
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4e38f8
mov eax, 1
jmp 0x4e38fd
mov eax, 0
test eax, eax
je 0x4e390f
mov eax, 0
jmp 0x4e3ab4
push str.0000_00_00_00:00:00
push dword [ebp - 0x10]
call fcn.00402bee
add esp, 8
cmp eax, 0
je 0x4e39c1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4e393b
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dd740
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
push 0
mov ebx, 0x5df7e0
call fcn.005dc82c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push 0x80000301
push 0
push 8
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 3
mov ebx, 0x5df240
call fcn.005dc82c
add esp, 0x28
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fld qword [ebp - 0x34]
fcomp qword [0x6b4769]
fnstsw ax
test ah, 1
je 0x4e39c1
mov eax, 1
jmp 0x4e39c6
mov eax, 0
test eax, eax
je 0x4e39d8
mov eax, 0
jmp 0x4e3ab4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4e39eb
mov eax, 0x6b4435
push eax
push 1
mov ebx, 0x5dda00
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x6b43f1]
fstp qword [ebp - 0x24]
push 0x80000601
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 1
mov ebx, 0x5ded50
call fcn.005dc82c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e3a47
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x6b4d58
push dword [0x84b794]
push 0x6b5a60
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x6b6314
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6cdb6f
push dword [ebp - 0xc]
push str.UPDATE_customgoods_SET_complete_number_
mov ecx, 9
call fcn.0040108c
add esp, 0x24
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x84b7a4
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4e3aaa
push ebx
call fcn.005dc820
add esp, 4
mov eax, 1
jmp 0x4e3ab4
push eax
mov ebx, dword [ebp - 4]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4e3ad5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4e3ae5
push ebx
call fcn.005dc820
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4e3af5
push ebx
call fcn.005dc820
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc