Function at 0x40f8a7
Capabilities:
Contain obfuscated stackstrings
Delete file
Read .ini file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f4
mov edx, dword [0x467ccc]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x28], esi
push edi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0xc], ebx
cmp edx, 0x114e
jne 0x40f8ec
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [0x467ccc]
xor ecx, ecx
mov eax, dword [0x4191e8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4191ec]
mov dword [ebp - 0x20], eax
cmp edx, 0xb54
jne 0x40f946
lea eax, [ebp - 0x238]
push eax
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringW]
xor ecx, ecx
lea eax, [ebp - 0x6f0]
push ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [0x467ccc]
mov eax, dword [0x4191f0]
mov esi, 0xc6ef3720
mov dword [ebp - 0x14], eax
mov eax, dword [0x4191f4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0x20
mov eax, ebx
shl eax, 4
mov dword [ebp - 8], eax
cmp edx, 0x4c3
jne 0x40f988
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [0x467ccc]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
mov ecx, 0xedeb2e40
mov dword [ebp - 8], eax
cmp edx, 0xfa9
mov eax, dword [0x44d2f4]
cmove eax, ecx
mov dword [0x44d2f0], 0x9150ce2e
mov dword [0x44d2f4], eax
lea eax, [esi + ebx]
shr ebx, 5
add ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp edx, 0x976
jne 0x40f9ee
xor ecx, ecx
lea eax, [ebp - 0x6f0]
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [0x43947c], 0
mov edx, dword [0x467ccc]
mov eax, dword [ebp - 0x24]
xor ebx, eax
xor ebx, dword [ebp - 8]
sub edi, ebx
cmp edx, 0x5b6
jne 0x40fa14
push 0
lea eax, [ebp - 0x6f0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VerLanguageNameA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 4], 0
and eax, 0x4dd0071b
sub dword [ebp - 4], 0x2273eb88
mov ebx, 0x3a7cd587
add dword [ebp - 4], 0x2273eb8c
mov ecx, dword [ebp - 4]
mov edx, edi
mov ebx, dword [ebp - 0xc]
mov eax, edi
and dword [0x439478], 0
shl edx, cl
add edx, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x20]
xor edx, eax
lea eax, [esi + edi]
xor edx, eax
sub ebx, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1f0], 0x58bfb700
mov dword [ebp - 0x34], 0xb7b3100
mov dword [ebp - 0x194], 0x22f7a0fa
mov dword [ebp - 0x3c], 0x5f8d6f12
mov dword [ebp - 0x124], 0x3da0bd0c
mov dword [ebp - 0x44], 0x1087ed95
mov dword [ebp - 0x1ec], 0x5c8ac66f
mov dword [ebp - 0x4c], 0x2d497a6a
mov dword [ebp - 0x12c], 0xb363ce9
mov dword [ebp - 0x54], 0x72923bd1
mov dword [ebp - 0x19c], 0x6b593f5
mov dword [ebp - 0x5c], 0x17dbad6b
mov dword [ebp - 0x134], 0x5244f954
mov dword [ebp - 0x64], 0x50dac3ea
mov dword [ebp - 0x1d4], 0x487bde5c
mov dword [ebp - 0x6c], 0xa733708
mov dword [ebp - 0x13c], 0x3b2217e1
mov dword [ebp - 0x74], 0x3ad48611
mov dword [ebp - 0x1a4], 0x45e56c5f
mov dword [ebp - 0x7c], 0x1ad1c0ab
mov dword [ebp - 0x144], 0x29549cb0
mov dword [ebp - 0x84], 0x59f0f79a
mov dword [ebp - 0x1f4], 0x29e91f29
mov dword [ebp - 0x8c], 0x721e902e
mov dword [ebp - 0x14c], 0x4d15f5c6
mov dword [ebp - 0x94], 0x6831fb04
mov dword [ebp - 0x1ac], 0x3c255892
mov dword [ebp - 0x9c], 0x5816a642
mov dword [ebp - 0x154], 0x7ae9c89
mov dword [ebp - 0xa4], 0x3fe3b511
mov dword [ebp - 0x1dc], 0x7e65d0c1
mov dword [ebp - 0xac], 0x2cb8ca30
mov dword [ebp - 0x15c], 0x7000ce59
mov dword [ebp - 0xb4], 0x6dc6d44
mov dword [ebp - 0x1b4], 0x497f93f5
mov dword [ebp - 0xbc], 0x4e3080de
mov dword [ebp - 0x164], 0x6642cffb
mov dword [ebp - 0xc4], 0x51ded34b
mov dword [ebp - 0x1f8], 0xf893257
mov dword [ebp - 0xcc], 0x48ebaf87
mov dword [ebp - 0x16c], 0x3a1b15c5
mov dword [ebp - 0xd4], 0x2fc96ae9
mov dword [ebp - 0x1bc], 0x771f1d46
mov dword [ebp - 0xdc], 0xf638532
mov dword [ebp - 0x174], 0x22b6e9e1
mov dword [ebp - 0xe4], 0xf8107c6
mov dword [ebp - 0x1e4], 0xc977849
mov dword [ebp - 0xec], 0x7a375fc2
mov dword [ebp - 0x17c], 0x222631ea
mov dword [ebp - 0xf4], 0x72e34194
mov dword [ebp - 0x1c4], 0x53e810b
mov dword [ebp - 0xfc], 0x765bd3bd
mov dword [ebp - 0x184], 0xfc2b546
mov dword [ebp - 0x104], 0x5a3570f9
mov dword [ebp - 0x2c], 0x799057b7
mov dword [ebp - 0x10c], 0x7d8d8fad
mov dword [ebp - 0x18c], 0x183b8b6c
mov dword [ebp - 0x114], 0x208237f3
mov dword [ebp - 0x1cc], 0x37857544
mov dword [ebp - 0x11c], 0x194d6bc7
mov dword [ebp - 0x30], 0x761e73a
mov dword [ebp - 0x38], 0x23b5b072
mov dword [ebp - 0x40], 0x28dd809d
mov dword [ebp - 0x48], 0x4bae779b
mov dword [ebp - 0x50], 0x31f852be
mov dword [ebp - 0x58], 0x2d27aa
mov dword [ebp - 0x60], 0x3b164838
mov dword [ebp - 0x68], 0x2828d0ee
mov dword [ebp - 0x70], 0x13bc3fda
mov dword [ebp - 0x78], 0x32032ef2
mov dword [ebp - 0x80], 0x66131123
mov dword [ebp - 0x88], 0x5fd083d9
mov dword [ebp - 0x90], 0x5095c0f2
mov dword [ebp - 0x98], 0x191d2124
mov dword [ebp - 0xa0], 0x26972506
mov dword [ebp - 0xa8], 0x436837e6
mov dword [ebp - 0xb0], 0x6e37dce0
mov dword [ebp - 0xb8], 0x48ceb1ee
mov dword [ebp - 0xc0], 0x135da928
mov dword [ebp - 0xc8], 0x498338b7
mov dword [ebp - 0xd0], 0x1dcc46f6
mov dword [ebp - 0xd8], 0x3725547b
mov dword [ebp - 0xe0], 0x5e007fae
mov dword [ebp - 0xe8], 0x14444bb8
mov dword [ebp - 0xf0], 0x69cfd0dc
mov dword [ebp - 0xf8], 0x31b82d41
mov dword [ebp - 0x100], 0x633ae043
mov dword [ebp - 0x108], 0x5a8da93d
mov dword [ebp - 0x110], 0x55998bc1
mov dword [ebp - 0x118], 0x4bdbdfa5
mov dword [ebp - 0x120], 0x3a998bf2
mov dword [ebp - 0x128], 0x279d3dec
mov dword [ebp - 0x130], 0x66a87b65
mov dword [ebp - 0x138], 0x22513e86
mov dword [ebp - 0x140], 0x9e3e723
mov dword [ebp - 0x148], 0x277c2432
mov dword [ebp - 0x150], 0x3ed62a3
mov dword [ebp - 0x158], 0x5171fe35
mov dword [ebp - 0x160], 0x25314484
mov dword [ebp - 0x168], 0x1665fe93
mov dword [ebp - 0x170], 0x2162be98
mov dword [ebp - 0x178], 0x55d5cb43
mov dword [ebp - 0x180], 0x598c0136
mov dword [ebp - 0x188], 0x6c22b187
mov dword [ebp - 0x190], 0x2fcaa1cc
mov dword [ebp - 0x198], 0x6167089e
mov dword [ebp - 0x1a0], 0x66f75803
mov dword [ebp - 0x1a8], 0x585cb709
mov dword [ebp - 0x1b0], 0x27007ca
mov dword [ebp - 0x1b8], 0x28381a77
mov dword [ebp - 0x1c0], 0x3808fdae
mov dword [ebp - 0x1c8], 0x4f9bfef4
mov dword [ebp - 0x1d0], 0x31e750c5
mov dword [ebp - 0x1d8], 0x5713314d
mov dword [ebp - 0x1e0], 0x43138e95
mov dword [ebp - 0x1e8], 0x126a3b55
mov edx, dword [0x467ccc]
cmp edx, 0x1d5
jne 0x40fee7
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
push 0
call dword [sym.imp.KERNEL32.dll_GetTapeStatus]
mov edx, dword [0x467ccc]
add esi, 0x61c88647
dec dword [ebp - 0x10]
jne 0x40f962
mov esi, dword [ebp - 0x28]
mov dword [esi], ebx
cmp edx, 0xa6d
jne 0x40ff2c
xor ebx, ebx
lea eax, [ebp - 0x228]
push 0x30
push ebx
push eax
mov dword [ebp - 0x22c], ebx
call fcn.00408f80
add esp, 0xc
lea eax, [ebp - 0x22c]
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigW]
mov dword [esi + 4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret