Function at 0x40ff03
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9ac
push edi
mov dword [ebp - 0x9a4], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9a8], eax
cmp dword [ebp - 0x9a8], 0xc9
ja case.0x40ff4f.6
mov edx, dword [ebp - 0x9a8]
xor ecx, ecx
mov cl, byte [edx + 0x4104cb]
jmp dword [ecx*4 + 0x4104af]
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.00411630
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
and eax, 0xff
test eax, eax
je 0x4100d9
mov ecx, dword [ebp + 8]
push ecx
push str.SELECT__FROM_account_WHERE_id_u_LIMIT_1
lea edx, [ebp - 0x2c]
push edx
call fcn.00403190
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402490
push eax
mov eax, dword [ebp - 0x9a4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x9a4]
mov eax, dword [edx + 0x10]
mov edx, dword [eax]
call dword [edx + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00411cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402820
test eax, eax
jne 0x41000a
mov eax, dword [ebp + 8]
push eax
push str.rcd_not_found_in_account_where_id_u
call fcn.00402b20
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00411cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004032e0
jmp 0x41049e
push 1
lea ecx, [ebp - 0x18]
call fcn.00411d20
mov dword [ebp - 0x9ac], eax
mov ecx, dword [ebp - 0x9ac]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x9ac]
call dword [edx + 0x10]
mov dword [ebp - 0x9b0], eax
mov eax, dword [ebp - 0x9b0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x9b0]
call dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x12
lea ecx, [ebp - 0x18]
call fcn.00411d20
mov dword [ebp - 0x9b4], eax
mov eax, dword [ebp - 0x9b4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x9b4]
call dword [edx + 0x10]
mov dword [ebp - 0x9b8], eax
mov eax, dword [ebp - 0x9b8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x9b8]
call dword [edx + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
push 1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x9a4]
call fcn.0040d588
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00411cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004032e0
jmp 0x410143
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
and eax, 0xff
test eax, eax
je 0x410143
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str.server_dismatch_in_account_event__account__s__u___cur_server:_s__new_server:_s
call fcn.00402b20
add esp, 0x14
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x41049e
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.004117b0
lea eax, [ebp - 0x58c]
push eax
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.00411900
push eax
lea ecx, [ebp - 0x30]
call fcn.004162c0
and eax, 0xff
test eax, eax
je 0x4101a1
mov ecx, dword [ebp + 8]
push ecx
push str.account_event_end_fee_offline_error__account:_u_not_found.
call fcn.00402b20
add esp, 8
jmp 0x4102e9
lea ecx, [ebp - 0x30]
call fcn.004123c0
add eax, 4
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x9a4]
cmp dword [edx + 0x10], 0
je 0x4102bc
mov ecx, dword [ebp - 0x34]
add ecx, 0x28
call dword [sym.imp.MSVCP60.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
and eax, 0xff
test eax, eax
jne 0x4102bc
mov al, byte [0x426260]
mov byte [ebp - 0x70], al
xor ecx, ecx
mov dword [ebp - 0x6f], ecx
mov dword [ebp - 0x6b], ecx
mov dword [ebp - 0x67], ecx
mov dword [ebp - 0x63], ecx
mov word [ebp - 0x5f], cx
mov byte [ebp - 0x5d], cl
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
lea edx, [ebp - 0x70]
push edx
call fcn.00408582
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.004123c0
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x28
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x70]
push ecx
nop
nop
nop
nop
nop
lea edx, [ebp - 0x48]
push edx
call fcn.00403190
add esp, 0x14
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00402490
push eax
mov ecx, dword [ebp - 0x9a4]
add ecx, 0x14
call fcn.004181a8
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x10
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00403190
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402490
push eax
push 1
mov ecx, dword [ebp - 0x9a4]
add ecx, 0x14
call fcn.00418273
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004032e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004032e0
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x9a4]
call fcn.0040d588
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x590]
push ecx
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.00411790
jmp 0x41049e
jmp 0x41049e
jmp 0x41049e
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.00411630
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
call dword [sym.imp.MSVCP60.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
and eax, 0xff
test eax, eax
jne 0x410387
push 0x64
push 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x27c]
call fcn.00410ed0
push 0x14
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00410c40
push 0xffffffffffffffff
push 5
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [ebp - 0x268]
push edx
lea ecx, [ebp - 0x798]
call dword [sym.imp.MyNet.dll_public:_void___thiscall_IMyMessage::constructor_void_const___int__int_]
push eax
mov eax, dword [ebp - 0x9a4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x9a4]
mov eax, dword [edx + 0xc]
mov edx, dword [eax]
call dword [edx + 0x10]
jmp 0x41049e
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9a4]
add ecx, 0xa4
call fcn.00411630
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
call dword [sym.imp.MSVCP60.dll_public:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::empty_void_const]
and eax, 0xff
test eax, eax
jne 0x410487
mov cl, byte [0x426264]
mov byte [ebp - 0x380], cl
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x37f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea edx, [ebp - 0x380]
push edx
mov ecx, dword [ebp - 0x280]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov eax, dword [ebp - 0x9a4]
mov ecx, dword [eax + 0xc8]
mov edx, dword [ebp - 0x9a4]
mov eax, dword [edx + 0xc8]
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
je 0x410487
push 0x65
push 0
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x588]
call fcn.00410ed0
push 0x14
lea edx, [ebp - 0x588]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x574]
call fcn.00410c40
push 0xffffffffffffffff
push 5
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x574]
push ecx
lea ecx, [ebp - 0x9a0]
call dword [sym.imp.MyNet.dll_public:_void___thiscall_IMyMessage::constructor_void_const___int__int_]
push eax
mov edx, dword [ebp - 0x9a4]
mov ecx, dword [edx + 0xc]
mov eax, dword [ebp - 0x9a4]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
call dword [eax + 0x10]
jmp 0x41049e
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.unknow_account_event_type:_u__account:_u
call fcn.00402b20
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0xc