Function at 0x517e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c02b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
push ebp
push esi
lea esi, [ebx + 0x210]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [esp + 0x28], ebx
call edi
cmp dword [esp + 0x40], 1
jge 0x517eaf
xor al, al
jmp 0x5182e7
mov edx, dword [ebx + 0x2f0]
xor eax, eax
test edx, edx
jle 0x517ee3
mov ecx, dword [ebx + 0x2ec]
mov ebx, dword [esp + 0x38]
mov ebp, dword [ecx]
mov dword [esp + 0x1c], ebp
cmp dword [ebp], ebx
je 0x517edf
inc eax
add ecx, 4
cmp eax, edx
jl 0x517ec5
xor al, al
jmp 0x5182e7
test ebp, ebp
jne 0x517eea
xor al, al
jmp 0x5182e7
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
dec ebx
lea ecx, [esp + 0x14]
imul eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::CString_1
xor ebp, ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebp
call sub.MFC42.DLL_CString::CString_1
push str._accounts_info__r
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::operator
push esi
call edi
mov edi, dword [esp + 0x18]
xor ecx, ecx
test edi, edi
mov dword [esp + 0x38], ecx
jle 0x51820b
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x1c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x5181fe
mov eax, dword [esi + 0x38]
test eax, eax
je 0x5181fe
mov eax, dword [esp + 0x20]
cmp ebp, eax
jl 0x5181fe
mov edx, dword [esp + 0x3c]
add eax, edx
cmp ebp, eax
jge 0x5181fe
push str._account_info__r
lea ecx, [esp + 0x18]
inc ebp
call fcn.0059b7ac
mov eax, dword [esi + 0x74]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 0xac]
push ecx
push str._account__s__account__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059ba4c
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
mov byte [esp + 0x30], 2
dec eax
cmp eax, 0x1b
ja case.0x517fcf.2
jmp dword [eax*4 + 0x5182fc]
push 0x615464
jmp 0x5180a2
push 0x62d2cc
jmp 0x5180a2
push 0x62d2bc
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
jmp case.0x517fcf.16
push 0x62d2b0
jmp 0x5180a2
push 0x62d29c
jmp 0x5180a2
mov al, byte [esi + 0x132]
test al, al
jne 0x518029
push 0x62dd40
lea ecx, [esp + 0x44]
call fcn.0059b7ac
push 0x618864
jmp 0x5180a2
push 0x62d1fc
jmp 0x5180a2
push 0x62d1f0
jmp 0x5180a2
push 0x62d1e4
jmp 0x5180a2
push 0x62dd34
jmp 0x5180a2
push 0x62d1c8
jmp 0x5180a2
push 0x618850
jmp 0x5180a2
push 0x62d1a4
jmp 0x5180a2
push 0x62d198
jmp 0x5180a2
push 0x62d184
jmp 0x5180a2
push 0x62d170
jmp 0x5180a2
push 0x62d160
jmp 0x5180a2
mov al, byte [esi + 0x130]
test al, al
mov eax, 0x62d138
jne 0x518091
mov eax, 0x62d128
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
jmp case.0x517fcf.16
push 0x62dd28
lea ecx, [esp + 0x44]
call fcn.0059b7ac
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x10]
push ecx
push str._state__s__state__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059ba4c
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x10]
push ecx
push str._conn_time__s__conn_time__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059ba4c
mov ecx, dword [esi + 0x38]
lea edx, [esp + 0x10]
add ecx, 0x20
push ecx
push str._access_time__s__access_time__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059ba4c
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x5c]
push edx
push str._tx_count__d__tx_count__r
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059ba4c
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x64]
push eax
push str._tx_byte__d__tx_byte__r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0059ba4c
mov eax, dword [esi + 0x38]
lea edx, [esp + 0x10]
mov ecx, dword [eax + 0x58]
push ecx
push str._rx_count__d__rx_count__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
call fcn.0059ba4c
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x10]
mov edx, dword [ecx + 0x60]
push edx
push str._rx_byte__d__rx_byte__r
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call fcn.0059ba4c
mov edx, dword [esi + 0x38]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 0x54]
push eax
push str._switch_count__d__switch_count__r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0059ba4c
push str.__account_info__r
lea ecx, [esp + 0x18]
call fcn.0059b7ac
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
inc ecx
cmp ecx, edi
mov dword [esp + 0x38], ecx
jl 0x517f41
push str.__accounts_info__r
lea ecx, [esp + 0x18]
call fcn.0059b7ac
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x208]
lea edi, [eax + 0x208]
mov ecx, edi
call dword [edx + 0x1c]
mov esi, dword [esp + 0x44]
push str._list_info__r
mov ecx, esi
call fcn.0059b7ac
push ebp
lea eax, [esp + 0x14]
push str._rec_count__d__rec_count__r
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0059ba4c
inc ebx
lea edx, [esp + 0x10]
push ebx
push str._page_id__d__page_id__r
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0059ba4c
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + ebp - 1]
cdq
idiv ecx
lea ecx, [esp + 0x10]
push eax
push str._total_page__d__total_page__r
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.0059ba4c
push str.__list_info__r
mov ecx, esi
call fcn.0059b7ac
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0059ba4c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10