Function at 0x401198
Capabilities:
Contain obfuscated stackstrings
Delete file
Read .ini file
Resolve function by parsing pe exports

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