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

Disassembly:
push 0xffffffffffffffff
push 0x5bb108
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 0x51413f
xor al, al
jmp 0x514577
mov edx, dword [ebx + 0x2f0]
xor eax, eax
test edx, edx
jle 0x514173
mov ecx, dword [ebx + 0x2ec]
mov ebx, dword [esp + 0x38]
mov ebp, dword [ecx]
mov dword [esp + 0x1c], ebp
cmp dword [ebp], ebx
je 0x51416f
inc eax
add ecx, 4
cmp eax, edx
jl 0x514155
xor al, al
jmp 0x514577
test ebp, ebp
jne 0x51417a
xor al, al
jmp 0x514577
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 0x51449b
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 0x51448e
mov eax, dword [esi + 0x38]
test eax, eax
je 0x51448e
mov eax, dword [esp + 0x20]
cmp ebp, eax
jl 0x51448e
mov edx, dword [esp + 0x3c]
add eax, edx
cmp ebp, eax
jge 0x51448e
push str._account_info__r
lea ecx, [esp + 0x18]
inc ebp
call fcn.00596c9a
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.00596f3a
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, 0x1a
ja case.0x51425f.2
jmp dword [eax*4 + 0x51458c]
push 0x60f464
jmp 0x514332
push 0x626ed4
jmp 0x514332
push 0x626ec4
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
jmp case.0x51425f.16
push 0x626eb8
jmp 0x514332
push 0x626ea4
jmp 0x514332
mov al, byte [esi + 0x12e]
test al, al
jne 0x5142b9
push 0x627930
lea ecx, [esp + 0x44]
call fcn.00596c9a
push 0x612848
jmp 0x514332
push 0x626e7c
jmp 0x514332
push 0x626e70
jmp 0x514332
push 0x626e64
jmp 0x514332
push 0x627924
jmp 0x514332
push 0x626e48
jmp 0x514332
push 0x612834
jmp 0x514332
push 0x626e34
jmp 0x514332
push 0x626e28
jmp 0x514332
push 0x626e14
jmp 0x514332
push 0x626e00
jmp 0x514332
push 0x626df0
jmp 0x514332
mov al, byte [esi + 0x12c]
test al, al
mov eax, 0x626dc8
jne 0x514321
mov eax, 0x626db8
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator
jmp case.0x51425f.16
push 0x6179b4
lea ecx, [esp + 0x44]
call fcn.00596c9a
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.00596f3a
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.00596f3a
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.00596f3a
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.00596f3a
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.00596f3a
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.00596f3a
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.00596f3a
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.00596f3a
push str.__account_info__r
lea ecx, [esp + 0x18]
call fcn.00596c9a
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 0x5141d1
push str.__accounts_info__r
lea ecx, [esp + 0x18]
call fcn.00596c9a
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.00596c9a
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.00596f3a
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.00596f3a
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.00596f3a
push str.__list_info__r
mov ecx, esi
call fcn.00596c9a
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00596f3a
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