Function at 0x4014a0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
push ebp
push esi
mov dword [0x446710], edi
call fcn.004012c0
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
push str._Context_List_
push esi
call ebx
push ebp
push esi
call fcn.004012c0
push ebp
push esi
call fcn.004012c0
mov eax, dword [0x44651c]
mov ecx, dword [0x446518]
push eax
push ecx
push str.Number___lu__Actual_Id___lu
push esi
call ebx
push ebp
push esi
call fcn.004012c0
push str.database
push str.client
push 0x4204e4
push 0x4204e0
push 0x4204dc
push 0x4204d8
push 0x4204d4
push str.saved
push str.status
push str._9.9s_9.9s_8.8s_8.8s_8.8s_8.8s_8.8s__10.10s__s
push esi
call ebx
add esp, 0x64
push ebp
push esi
call fcn.004012c0
mov eax, dword [0x446518]
add esp, 8
cmp eax, edi
mov dword [esp + 0x1c], edi
jle 0x4015f9
mov dword [esp + 0x18], edi
mov edx, dword [0x446520]
add edi, edx
cmp dword [edi], 0xc9
je 0x4015d5
mov edx, dword [edi + 0xe]
mov ebx, dword [0x446224]
mov ecx, dword [edi + 0xa]
lea eax, [edx + edx*4]
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
shl eax, 1
sub eax, edx
lea ebx, [ebx + eax*2]
add eax, ebx
mov ebx, dword [0x44644c]
push eax
lea eax, [ecx*8]
sub eax, ecx
add ebx, ecx
shl eax, 2
sub eax, ecx
lea eax, [ebx + eax*8 + 0x18]
push eax
mov eax, dword [edi + 0x16]
push eax
mov eax, dword [edi + 0x12]
push eax
push edx
movsx edx, word [edi + 4]
push ecx
mov ecx, dword [edi + 6]
push ecx
push edx
call fcn.00405940
add esp, 4
push eax
mov eax, dword [edi]
push eax
call fcn.00405940
mov ebx, dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 4
push eax
push str._9.9s_9.9s_8ld_8ld_8ld_8ld_8ld__10.10s__s
push esi
call ebx
push ebp
push esi
call fcn.004012c0
add esp, 0x34
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [0x446518]
inc eax
add edi, 0x1a
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
jl 0x40154b
xor edi, edi
push ebp
push esi
call fcn.004012c0
push str._DataBase_List_
push esi
call ebx
push ebp
push esi
call fcn.004012c0
mov eax, dword [0x446220]
add esp, 0x18
cmp eax, edi
mov dword [esp + 0x10], edi
jle 0x40185f
mov dword [esp + 0x18], edi
mov ecx, dword [0x446224]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ecx + 0xcd]
lea ebx, [edx + ecx]
push eax
mov ecx, dword [ebx + 0xc9]
mov edx, dword [ebx + 0xc5]
mov eax, dword [ebx + 0xc1]
push ecx
push edx
push eax
push ebx
push str.Name:__15.15s__Min__5ld__Max__5ld__Act__5ld__Con__5ld
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push ebp
push esi
call fcn.004012c0
mov edi, dword [ebx + 0xd5]
mov eax, dword [ebx + 0xd9]
add esp, 0x24
cmp edi, eax
mov dword [esp + 0x1c], edi
je 0x401766
push 0x420404
push str.wait
push 0x4204e0
push 0x4204d8
push 0x4204d4
push str.saved
push str.status
push str._t_9.9s_9.9s_8.8s_8.8s_8.8s_8.8s_8.8s
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push ebp
push esi
call fcn.004012c0
mov eax, dword [ebx + 0xd9]
add esp, 0x2c
cmp edi, eax
je 0x401766
jmp 0x4016cd
mov edi, dword [esp + 0x1c]
mov edx, dword [ebx + 0xdd]
lea ecx, [edi + edi*2]
mov eax, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
cmp eax, 0xffffffff
je 0x401741
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [0x446520]
lea edi, [edx + eax*2]
mov edx, dword [ecx + 8]
mov eax, dword [0x446218]
sub edx, eax
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0xa]
sub eax, edx
mov edx, dword [edi + 6]
push eax
mov eax, dword [edi + 0x12]
push eax
push ecx
movsx eax, word [edi + 4]
push edx
push eax
call fcn.00405940
mov ecx, dword [edi]
add esp, 4
push eax
push ecx
call fcn.00405940
add esp, 4
push eax
push str._t_9.9s_9.9s_8ld_8ld_8ld_8ld_8ld
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push ebp
push esi
call fcn.004012c0
mov edi, dword [esp + 0x48]
add esp, 0x2c
lea eax, [edi + 1]
mov edi, dword [ebx + 0xd1]
mov edx, eax
mov ecx, dword [ebx + 0xd9]
sub edx, edi
neg edx
sbb edx, edx
and eax, edx
cmp eax, ecx
mov dword [esp + 0x1c], eax
jne 0x4016c9
mov eax, dword [ebx + 0xc5]
test eax, eax
jle 0x4017a7
push 0x4203b8
push str.time
push 0x4204e4
push 0x4203ac
push str.port
push str.context
push 0x420398
push str.state
push str._t_9.9s_8.8s_8.8s_8.8s_10.10s_10.10s_8.8s_8.8s
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x28
push ebp
push esi
call fcn.004012c0
mov edi, dword [0x44646c]
add esp, 8
xor ecx, ecx
test edi, edi
mov dword [esp + 0x1c], ecx
je 0x40183a
jmp 0x4017c7
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [ebx + 0xc5]
jge 0x40183a
mov eax, dword [ebx + 0xbd]
add eax, ecx
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
fld qword [edi + edx*8 + 0x60]
lea edi, [edi + edx*8]
call sub.MSVCRT.dll__ftol
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
push eax
mov eax, dword [edi + 0x1c]
push eax
xor eax, eax
mov ax, word [edi + 0x10]
push ecx
mov ecx, dword [edi + 0xc]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi]
push ecx
push edx
push eax
call fcn.00405940
add esp, 4
push eax
push str._t_9.9s_8ld_8ld_8lu_10ld_10ld_8ld_8ld
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
push ebp
push esi
call fcn.004012c0
mov ecx, dword [esp + 0x4c]
mov edi, dword [0x44646c]
add esp, 0x30
inc ecx
test edi, edi
mov dword [esp + 0x1c], ecx
jne 0x4017c3
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [0x446220]
inc eax
add edx, 0x97b
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
jl 0x401627
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret