Function at 0x4340d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov eax, ecx
mov edi, edx
push eax
push 0x4abeb4
push str.SELECT__id___send_name___send_id___dest_name___dest_id___title___message___time___status___zeny___type__FROM___s__WHERE__id____d
push dword [0x4ad1b4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], eax
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
je 0x434dc5
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x434dc5
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x434dc5
push eax
mov eax, dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [ebp - 0x20], eax
call eax
mov dword [esi + 0x3e4], eax
test eax, eax
je 0x434db1
push dword [esi + 0x3e0]
mov eax, dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
mov dword [ebp - 0x24], eax
call eax
mov ebx, dword [sym.imp.libmysql.dll_mysql_num_fields]
mov dword [esi + 0x3e8], eax
mov esi, dword [0x4ad1b4]
mov dword [ebp - 8], ebx
test esi, esi
je 0x43418b
cmp dword [esi + 0x3e4], 0
je 0x43418b
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x434187
push eax
call ebx
test eax, eax
je 0x434187
mov esi, dword [esi + 0x3e4]
mov esi, dword [esi]
jmp 0x43418e
xor esi, esi
jmp 0x43418e
mov esi, dword [ebp - 0x28]
push esi
call fcn.0046d2ec
mov dword [edi], eax
add esp, 4
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x4341cb
cmp dword [edi + 0x3e4], 0
je 0x4341cb
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4341c9
push eax
call ebx
cmp eax, 1
jbe 0x4341c9
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 4]
jmp 0x4341cb
xor esi, esi
mov ecx, dword [ebp - 4]
mov edi, esi
add ecx, 8
mov edx, 0x17
sub edi, ecx
mov byte [ecx + 0x17], 0
nop
mov al, byte [ecx + edi]
dec edx
mov byte [ecx], al
inc ecx
test al, al
je 0x4341f1
test edx, edx
jne 0x4341e0
jmp 0x434201
test edx, edx
je 0x434201
push edx
push 0
push ecx
call fcn.00461440
add esp, 0xc
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434233
cmp dword [edi + 0x3e4], 0
je 0x434233
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434231
push eax
call ebx
cmp eax, 2
jbe 0x434231
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 8]
jmp 0x434233
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, dword [0x4ad1b4]
mov dword [ecx + 4], eax
test edi, edi
je 0x434274
cmp dword [edi + 0x3e4], 0
je 0x434274
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434272
push eax
call ebx
cmp eax, 3
jbe 0x434272
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0xc]
jmp 0x434274
xor esi, esi
mov ecx, dword [ebp - 4]
mov edi, esi
add ecx, 0x24
mov edx, 0x17
sub edi, ecx
mov byte [ecx + 0x17], 0
mov al, byte [ecx + edi]
dec edx
mov byte [ecx], al
inc ecx
test al, al
je 0x434298
test edx, edx
jne 0x434287
jmp 0x4342a8
test edx, edx
je 0x4342a8
push edx
push 0
push ecx
call fcn.00461440
add esp, 0xc
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x4342da
cmp dword [edi + 0x3e4], 0
je 0x4342da
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4342d8
push eax
call ebx
cmp eax, 4
jbe 0x4342d8
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x10]
jmp 0x4342da
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, dword [0x4ad1b4]
mov dword [ecx + 0x20], eax
test edi, edi
je 0x43431b
cmp dword [edi + 0x3e4], 0
je 0x43431b
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434319
push eax
call ebx
cmp eax, 5
jbe 0x434319
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x14]
jmp 0x43431b
xor esi, esi
mov ecx, dword [ebp - 4]
mov edi, esi
add ecx, 0x3c
mov edx, 0x27
sub edi, ecx
mov byte [ecx + 0x27], 0
nop
mov al, byte [ecx + edi]
dec edx
mov byte [ecx], al
inc ecx
test al, al
je 0x434341
test edx, edx
jne 0x434330
jmp 0x434351
test edx, edx
je 0x434351
push edx
push 0
push ecx
call fcn.00461440
add esp, 0xc
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434383
cmp dword [edi + 0x3e4], 0
je 0x434383
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434381
push eax
call ebx
cmp eax, 6
jbe 0x434381
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x18]
jmp 0x434383
xor esi, esi
mov ecx, dword [ebp - 4]
mov edi, esi
add ecx, 0x64
mov edx, 0x1f3
sub edi, ecx
mov byte [ecx + 0x1f3], 0
nop dword [eax]
mov al, byte [ecx + edi]
dec edx
mov byte [ecx], al
inc ecx
test al, al
je 0x4343b1
test edx, edx
jne 0x4343a0
jmp 0x4343c1
test edx, edx
je 0x4343c1
push edx
push 0
push ecx
call fcn.00461440
add esp, 0xc
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x4343f3
cmp dword [edi + 0x3e4], 0
je 0x4343f3
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4343f1
push eax
call ebx
cmp eax, 7
jbe 0x4343f1
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x1c]
jmp 0x4343f3
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, dword [0x4ad1b4]
cdq
mov dword [ecx + 0x270], eax
mov dword [ecx + 0x274], edx
test edi, edi
je 0x43443e
cmp dword [edi + 0x3e4], 0
je 0x43443e
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x43443c
push eax
call ebx
cmp eax, 8
jbe 0x43443c
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x20]
jmp 0x43443e
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, dword [0x4ad1b4]
mov dword [ecx + 0x268], eax
test edi, edi
je 0x434482
cmp dword [edi + 0x3e4], 0
je 0x434482
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434480
push eax
call ebx
cmp eax, 9
jbe 0x434480
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x24]
jmp 0x434482
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov edi, dword [0x4ad1b4]
mov dword [ecx + 0x278], eax
test edi, edi
je 0x4344c6
cmp dword [edi + 0x3e4], 0
je 0x4344c6
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4344c4
push eax
call ebx
cmp eax, 0xa
jbe 0x4344c4
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x28]
jmp 0x4344c6
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [ecx + 0x258], eax
test eax, eax
jne 0x4344e3
mov eax, dword [0x4aa214]
jmp 0x4344ed
cmp eax, 2
jne 0x434506
mov eax, dword [0x4aa218]
test eax, eax
jle 0x434506
imul eax, eax, 0x15180
cdq
add eax, dword [ecx + 0x270]
adc edx, dword [ecx + 0x274]
jmp 0x434514
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x260], eax
mov dword [ecx + 0x264], edx
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434559
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434559
push eax
call dword [sym.imp.libmysql.dll_mysql_free_result]
mov dword [edi + 0x3e0], 0
mov dword [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
push ecx
push 0xcd
mov edx, str.D:_ragnarokbr_rathena_srccharint_mail.cpp
mov dword [ebp - 0x2c], 0x400
mov ecx, 0x401
call fcn.00444690
mov dword [ebp - 0x34], eax
mov edx, 0xce
mov dword [ebp - 0x30], eax
mov ecx, str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.SELECT__amount___nameid___refine___attribute___identify___unique_id___bound___enchantgrade_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
call fcn.00443180
add esp, 0x14
xor edi, edi
nop dword [eax]
push edi
push str.__card_d_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
push 0xd0
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
inc edi
add esp, 0x18
cmp edi, 4
jl 0x4345a0
xor edi, edi
nop dword [eax]
push edi
push str.___option_id_d_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
push 0xd2
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
push edi
push str.___option_val_d_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
push 0xd3
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
push edi
push str.___option_parm_d_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
push 0xd4
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
inc edi
add esp, 0x48
cmp edi, 5
jl 0x4345d0
push 0x4abfb4
push str._FROM___s_
lea eax, [ebp - 0x34]
push eax
push str.mail_loadmessage
push 0xd6
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push str._WHERE__id____d
push eax
push str.mail_loadmessage
push 0xd7
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
push str._ORDER_BY__index__ASC
lea eax, [ebp - 0x34]
mov edx, 0xd8
push eax
push str.mail_loadmessage
mov ecx, str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443180
add esp, 0x3c
lea eax, [ebp - 0x34]
push 5
push str._LIMIT__d
push eax
push str.mail_loadmessage
push 0xd9
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
call fcn.00443060
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [0x4ad1b4]
mov byte [eax], 0
call fcn.0043d8e0
add esp, 0x20
cmp eax, 0xffffffff
jne 0x434923
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x4346ef
push 0xdc
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x434727
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x434718
mov byte [edx], 0
push dword [ecx]
push 0xdc
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x43472f
push 0xdc
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x434769
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x434769
push eax
mov eax, dword [sym.imp.libmysql.dll_mysql_free_result]
call eax
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x3e8], 0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x434e59
movzx eax, word [edx - 2]
lea edi, [edx - 0xc]
test ax, ax
jne 0x4347f4
mov eax, dword [edx - 0x18]
lea ecx, [edx - 0x18]
cmp dword [edx + eax], 0x7eadbeaf
je 0x4347b0
push 0x42a
push str.D:_ragnarokbr_rathena_srccommon_strlib.cpp
push edx
push str.Memory_manager:_args_of_aFree_0x_p_is_overflowed_pointer__s_line__d_n
call fcn.00442810
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffff
mov word [edi + 0xa], ax
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 8]
test edx, edx
je 0x4347c8
mov dword [edx + 8], eax
jmp 0x4347cd
mov dword [0x51e4a4], eax
mov edx, dword [ecx + 8]
test edx, edx
je 0x4347da
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx]
sub dword [0x51e4a8], eax
push ecx
call fcn.00473a86
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [edi]
mov ebx, edi
sub ebx, esi
cmp ebx, 0xa018
jbe 0x434823
push 0x42a
push str.D:_ragnarokbr_rathena_srccommon_strlib.cpp
push edx
push str.Memory_manager:_args_of_aFree_0x_p_is_invalid_pointer__s_line__d_n
call fcn.00442810
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x43484d
push str.StringBuf_Destroy
push 0x42a
push str.D:_ragnarokbr_rathena_srccommon_strlib.cpp
push edx
push str.Memory_manager:_args_of_aFree_0x_p_is_freed_pointer__s:_d__s_n
call fcn.00442810
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + edx], 0x7eadbeaf
jne 0x43478f
sub dword [0x51e4a8], eax
mov dword [edi], 0
cmp word [esi + 0x12], 0
ja 0x43487a
push str.Memory_manager:_assertion_block__unit_used___0_failed__n
call fcn.00442810
add esp, 4
mov eax, 0xffff
add word [esi + 0x12], ax
mov eax, dword [esi + 4]
jne 0x4348d1
test eax, eax
je 0x4348ba
mov ecx, dword [esi + 8]
cmp eax, 0x513888
jne 0x4348a3
movzx eax, word [esi + 0xe]
mov dword [eax*4 + 0x51d920], ecx
jmp 0x4348a6
mov dword [eax + 8], ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4348b3
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [esi + 4], 0
mov eax, dword [0x51d920]
mov dword [esi + 8], eax
xor al, al
mov dword [0x51d920], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x434903
movzx eax, word [esi + 0xe]
mov eax, dword [eax*4 + 0x51d920]
test eax, eax
je 0x4348e7
mov dword [eax + 4], esi
movzx ecx, word [esi + 0xe]
mov dword [esi + 4], 0x513888
mov eax, dword [ecx*4 + 0x51d920]
mov dword [esi + 8], eax
mov dword [ecx*4 + 0x51d920], esi
mov ax, word [esi + 0x14]
xor edx, edx
mov word [edi + 0xa], ax
lea eax, [ebx - 0x18]
movzx ecx, word [esi + 0xc]
div ecx
mov word [esi + 0x14], ax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
push 0x181
add eax, 0x27c
push 0
push eax
call fcn.00461440
add esp, 0xc
mov dword [ebp - 0x14], 0
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434d54
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434d54
push eax
call dword [ebp - 0x20]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x434d40
push dword [edi + 0x3e0]
call dword [ebp - 0x24]
mov dword [edi + 0x3e8], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x4349af
cmp dword [edi + 0x3e4], 0
je 0x4349af
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4349ad
push eax
call ebx
test eax, eax
je 0x4349ad
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi]
jmp 0x4349af
xor esi, esi
imul ebx, dword [ebp - 0x14], 0x4d
push esi
add ebx, dword [ebp - 4]
mov dword [ebp - 0x1c], ebx
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x284], ax
test edi, edi
je 0x4349fc
cmp dword [edi + 0x3e4], 0
je 0x4349fc
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4349fa
push eax
call dword [ebp - 8]
cmp eax, 1
jbe 0x4349fa
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 4]
jmp 0x4349fc
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a591
mov edi, dword [0x4ad1b4]
add esp, 0xc
mov dword [ebx + 0x280], eax
test edi, edi
je 0x434a42
cmp dword [edi + 0x3e4], 0
je 0x434a42
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434a40
push eax
call dword [ebp - 8]
cmp eax, 2
jbe 0x434a40
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 8]
jmp 0x434a42
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov byte [ebx + 0x28b], al
test edi, edi
je 0x434a84
cmp dword [edi + 0x3e4], 0
je 0x434a84
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434a82
push eax
call dword [ebp - 8]
cmp eax, 3
jbe 0x434a82
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0xc]
jmp 0x434a84
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov byte [ebx + 0x28c], al
test edi, edi
je 0x434ac6
cmp dword [edi + 0x3e4], 0
je 0x434ac6
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434ac4
push eax
call dword [ebp - 8]
cmp eax, 4
jbe 0x434ac4
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x10]
jmp 0x434ac6
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov byte [ebx + 0x28a], al
test edi, edi
je 0x434b08
cmp dword [edi + 0x3e4], 0
je 0x434b08
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434b06
push eax
call dword [ebp - 8]
cmp eax, 5
jbe 0x434b06
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x14]
jmp 0x434b08
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a5d7
mov edi, dword [0x4ad1b4]
add esp, 0xc
mov dword [ebx + 0x2bc], eax
mov dword [ebx + 0x2c0], edx
test edi, edi
je 0x434b54
cmp dword [edi + 0x3e4], 0
je 0x434b54
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434b52
push eax
call dword [ebp - 8]
cmp eax, 6
jbe 0x434b52
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x18]
jmp 0x434b54
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov byte [ebx + 0x2bb], al
test edi, edi
je 0x434b96
cmp dword [edi + 0x3e4], 0
je 0x434b96
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434b94
push eax
call dword [ebp - 8]
cmp eax, 7
jbe 0x434b94
mov esi, dword [edi + 0x3e4]
mov esi, dword [esi + 0x1c]
jmp 0x434b96
xor esi, esi
push esi
call fcn.0046d2ec
mov byte [ebx + 0x2c8], al
add esp, 4
mov eax, dword [ebp - 0x1c]
add eax, 0x28d
mov dword [ebx + 0x2b6], 0
mov dword [ebp - 0x10], 0
mov ebx, 0x20
mov dword [ebp - 0xc], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434bfe
cmp dword [edi + 0x3e4], 0
je 0x434bfe
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434bfc
push eax
call dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, 8
cmp ecx, eax
jae 0x434bfc
mov esi, dword [edi + 0x3e4]
mov esi, dword [ebx + esi]
jmp 0x434bfe
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a591
mov ecx, dword [ebp - 0xc]
add ebx, 4
inc dword [ebp - 0x10]
add esp, 0xc
mov dword [ecx], eax
add ecx, 4
mov dword [ebp - 0xc], ecx
cmp ebx, 0x30
jl 0x434bc6
mov eax, dword [ebp - 0x1c]
mov ebx, 0xd
add eax, 0x29f
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
nop dword [eax + eax]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x434c79
cmp dword [edi + 0x3e4], 0
je 0x434c79
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434c77
push eax
call dword [ebp - 8]
lea ecx, [ebx - 1]
cmp ecx, eax
jae 0x434c77
mov esi, dword [edi + 0x3e4]
mov eax, dword [ebp - 0xc]
mov esi, dword [esi + eax + 0x30]
jmp 0x434c79
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edi, dword [0x4ad1b4]
mov word [ecx - 2], ax
test edi, edi
je 0x434cbf
cmp dword [edi + 0x3e4], 0
je 0x434cbf
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434cbd
push eax
call dword [ebp - 8]
cmp ebx, eax
jae 0x434cbd
mov esi, dword [edi + 0x3e4]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + esi + 0x34]
jmp 0x434cbf
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edi, dword [0x4ad1b4]
mov word [ecx], ax
test edi, edi
je 0x434d07
cmp dword [edi + 0x3e4], 0
je 0x434d07
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x434d05
push eax
call dword [ebp - 8]
lea ecx, [ebx + 1]
cmp ecx, eax
jae 0x434d05
mov esi, dword [edi + 0x3e4]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + esi + 0x38]
jmp 0x434d07
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x10]
add ebx, 3
add dword [ebp - 0xc], 0xc
add esp, 4
mov byte [ecx + 2], al
add ecx, 5
mov dword [ebp - 0x10], ecx
cmp ebx, 0x1c
jl 0x434c40
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 5
jge 0x434d54
mov ebx, dword [ebp - 8]
jmp 0x434942
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov ecx, dword [ebp - 0x34]
mov edx, str.D:_ragnarokbr_rathena_srccommon_strlib.cpp
push str.StringBuf_Destroy
push 0x42a
call fcn.004449e0
mov esi, dword [0x4ad1b4]
add esp, 8
test esi, esi
je 0x434da8
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x434da8
push eax
mov eax, dword [sym.imp.libmysql.dll_mysql_free_result]
call eax
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x3e8], 0
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x10]
mov dword [esi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x434de0
push 0xb2
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x434e18
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x434e09
mov byte [edx], 0
push dword [ecx]
push 0xb2
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x434e20
push 0xb2
push str.D:_ragnarokbr_rathena_srccharint_mail.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x434e59
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x434e59
push eax
call dword [sym.imp.libmysql.dll_mysql_free_result]
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x3e8], 0
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret