Function at 0x4ab250
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
sub esp, 0x2ac
mov dl, byte [0x5937a0]
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x2d], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x31], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x35], eax
mov byte [esp + 0x2c], dl
mov word [esp + 0x39], ax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x2c0]
cmp eax, ebx
jne 0x4ab2bb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2ac
ret 4
mov dword [eax], ebx
mov ecx, dword [0x5a0f78]
push 0x3f
mov eax, dword [ecx + 0x9c]
push eax
call fcn.004c2940
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
lea edx, [esp + 0x48]
push str.russian
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 0x14
test eax, eax
je 0x4ab31a
mov edi, str.english
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x5965b8
push str._smailbox.
lea ecx, [esp + 0x84]
push 0xff
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea edx, [esp + 0x17c]
lea eax, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
jne 0x4ab365
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2ac
ret 4
xor edi, edi
mov dword [esp + 0x1c], edi
test byte [esp + 0x17c], 0x10
jne 0x4ab606
lea ecx, [esp + 0x1a8]
push 0x58b5a4
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4ab3bc
lea esi, [eax + 1]
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 1
jge 0x4ab3bc
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4ab606
test ebx, ebx
je 0x4ab3cc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jl 0x4ab417
lea ecx, [edi + 0x1180]
push ecx
call fcn.004c2e90
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4ab626
test ebx, ebx
je 0x4ab406
mov ecx, edi
mov esi, ebx
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004c2eb0
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebp
add eax, 0x10
mov ebx, ebp
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1a8]
lea edx, [esp + 0x7c]
push ecx
push 0x5965b8
push str._smailbox_s
push 0xff
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [esp + 0x2c]
add esp, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x7c]
push 0x581660
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4ab5fb
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push ebp
push 1
lea edx, [esp + 0x28]
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4ab49a
cmp dword [esp + 0x20], 0x190
je 0x4ab568
push 0
push 0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ebp
push 1
lea edi, [edx + ecx]
push 0xe0
push edi
call ebx
add esp, 0x10
cmp eax, 1
jne 0x4ab5ed
cmp dword [edi], 0
jle 0x4ab5ed
mov eax, dword [edi + 0x48]
test eax, eax
jle 0x4ab5ed
cmp dword [esp + 0x20], 0x190
je 0x4ab5cd
push 0
push 0xe0
push ebp
call dword [sym.imp.MSVCRT.dll_fseek]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll__filelength]
mov esi, eax
add esp, 0x10
sub esi, 0xe0
test esi, esi
jle 0x4ab5cd
cmp esi, 0xf4240
jge 0x4ab5cd
lea ecx, [esi + 0x10]
push ecx
call fcn.004c2e90
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ab5cd
push ebp
push 1
push esi
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, 1
push ebp
jne 0x4ab5bb
call dword [sym.imp.MSVCRT.dll_fclose]
mov ecx, dword [esp + 0x1c]
add esp, 4
lea edx, [esp + 0x1a8]
mov dword [edi + 0xd0], ebx
push edx
push edi
mov dword [edi + 0xd4], esi
call fcn.004ab010
jmp 0x4ab5c4
push ebp
push 1
lea eax, [esp + 0x34]
push 0x10
push eax
call ebx
lea ecx, [esp + 0x8c]
push 0x1e240
push ecx
call fcn.00409920
add esp, 0x18
mov ecx, 4
lea edi, [esp + 0x2c]
lea esi, [esp + 0x7c]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4ab49a
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esp + 0x14]
jmp 0x4ab606
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push ebx
call fcn.004c2eb0
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
inc ecx
add eax, 0xe0
mov dword [edi + 0xd0], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov ebx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x17c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4ab64d
mov edi, dword [esp + 0x1c]
jmp 0x4ab36b
test ebx, ebx
je 0x4ab633
push ebx
call fcn.004c2eb0
add esp, 4
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2ac
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2c0]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ecx], eax
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2ac
ret 4