Function at 0x1000f5c0
Capabilities:
Contain obfuscated stackstrings
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005889b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x1006f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [ebp - 0x220], 0
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jne 0x1000f63e
xor ecx, ecx
jmp 0x1000f650
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f647
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x278]
call fcn.100054b0
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.100101b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x1000f694
inc eax
push eax
push dword [ebp - 0x278]
call fcn.10005380
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x10075758
cmp dword [0x1007576c], 0x10
cmovae eax, dword [0x10075758]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x248], 0x2c
mov al, 0x63
xor al, byte [ebp - 0x248]
mov cl, 0x5c
xor cl, byte [ebp - 0x248]
mov ch, 0x42
mov byte [ebp - 0x247], al
mov bl, 0x45
mov byte [ebp - 0x25d], ch
mov ah, 0x43
mov al, byte [ebp - 0x25d]
mov dl, 0x58
mov byte [ebp - 0x246], cl
mov dh, 2
mov cl, byte [ebp - 0x248]
mov bh, 0x65
xor al, cl
mov byte [ebp - 0x249], bl
mov byte [ebp - 0x23f], al
xor ah, cl
mov al, byte [ebp - 0x249]
xor dl, cl
xor al, cl
mov byte [ebp - 0x243], ah
mov byte [ebp - 0x23e], al
xor bl, cl
lea eax, [ebp - 0x247]
mov byte [ebp - 0x23d], 0
push eax
lea eax, [ebp - 0x118]
mov byte [ebp - 0x245], dl
xor ch, cl
mov byte [ebp - 0x244], bl
xor dh, cl
mov byte [ebp - 0x242], ch
xor bh, cl
mov byte [ebp - 0x241], dh
push eax
mov byte [ebp - 0x240], bh
mov byte [ebp - 0x23d], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
jne 0x1000f7a2
xor ecx, ecx
jmp 0x1000f7b9
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f7b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x238]
call fcn.100054b0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dh, 0x6f
mov al, 0x2b
mov byte [ebp - 0x258], dh
xor al, dh
mov byte [ebp - 0x251], 0
mov ah, 0x1f
mov byte [ebp - 0x257], al
xor ah, dh
mov byte [ebp - 0x23d], 0
mov byte [ebp - 0x253], ah
mov cl, 0x37
xor cl, dh
mov byte [ebp - 0x251], 0
mov dl, 0x3b
mov byte [ebp - 0x256], cl
xor dl, dh
mov byte [ebp - 0x23d], 0
mov ch, 0xa
mov byte [ebp - 0x255], dl
xor ch, dh
mov bl, 0x16
xor bl, dh
mov byte [ebp - 0x252], ch
mov dh, 0x75
mov byte [ebp - 0x254], bl
mov al, 0x31
mov byte [ebp - 0x244], dh
xor al, dh
mov ah, 5
xor ah, dh
mov byte [ebp - 0x243], al
mov byte [ebp - 0x23f], ah
mov cl, 0x2d
lea eax, [ebp - 0x118]
mov dl, 0x21
push eax
push 0
lea eax, [ebp - 0x257]
mov ch, 0x10
push eax
mov bl, 0xc
lea eax, [ebp - 0x243]
xor cl, dh
xor dl, dh
xor bl, dh
mov byte [ebp - 0x242], cl
xor ch, dh
mov byte [ebp - 0x241], dl
push eax
mov byte [ebp - 0x240], bl
mov byte [ebp - 0x23e], ch
call esi
mov edi, 1
test eax, eax
jns 0x1000f8a4
mov dword [0x10075788], 0
jmp 0x1000f8af
cmp eax, 1
cmovg eax, edi
mov dword [0x10075788], eax
mov byte [ebp - 0x244], 0x59
mov al, 0xa
xor al, byte [ebp - 0x244]
mov bl, 0x35
mov byte [ebp - 0x243], al
mov ah, bl
mov al, byte [ebp - 0x244]
mov cl, 0x32
xor cl, al
mov byte [ebp - 0x249], 0x38
xor bl, al
mov byte [ebp - 0x242], cl
xor ah, al
mov byte [ebp - 0x240], bl
mov dl, 0x30
mov byte [ebp - 0x23f], ah
xor dl, al
mov byte [ebp - 0x23a], 0
mov ch, 0x18
mov byte [ebp - 0x241], dl
xor ch, al
mov byte [ebp - 0x24f], 0
mov dh, 0x2b
mov byte [ebp - 0x23e], ch
xor dh, al
mov byte [ebp - 0x23a], 0
mov bh, 0x3c
mov byte [ebp - 0x23d], dh
xor bh, al
mov byte [ebp - 0x24f], 0
mov al, byte [ebp - 0x249]
mov ah, 0x10
xor al, byte [ebp - 0x244]
mov cl, 0x79
mov byte [ebp - 0x23b], al
xor cl, ah
mov al, 0x5d
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], bh
mov dl, 0x63
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 0x73
mov byte [ebp - 0x251], dl
xor bl, ah
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [ebp - 0x243]
mov byte [ebp - 0x250], bl
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000f99e
mov dword [0x1007578c], 0
jmp 0x1000f9a9
cmp eax, 1
cmovg eax, edi
mov dword [0x1007578c], eax
mov cl, 0x33
mov dword [ebp - 0x248], 0x5d567433
mov dword [ebp - 0x244], 0x5a65565a
xor eax, eax
mov dword [ebp - 0x240], 0x5f515a40
mov word [ebp - 0x23c], 0x56
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xc
jae 0x1000f9e9
mov cl, byte [ebp - 0x248]
jmp 0x1000f9d4
mov ah, 2
mov byte [ebp - 0x24f], 0
mov al, 0x4f
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23b], 0
mov cl, 0x6b
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x71
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x61
xor bl, ah
mov byte [ebp - 0x251], dl
lea eax, [ebp - 0x118]
mov byte [ebp - 0x250], bl
push eax
push 1
lea eax, [ebp - 0x247]
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000fa57
mov dword [0x10075790], 0
jmp 0x1000fa62
cmp eax, 1
cmovg eax, edi
mov dword [0x10075790], eax
mov cl, 0x25
mov byte [ebp - 0x248], 0x40
mov ah, cl
mov byte [ebp - 0x249], 0x30
xor cl, byte [ebp - 0x248]
mov al, 0x12
xor al, byte [ebp - 0x248]
mov dl, 0x2e
mov byte [ebp - 0x247], al
mov bl, 0x24
mov al, byte [ebp - 0x249]
mov ch, 0x32
mov byte [ebp - 0x246], cl
mov dh, 3
mov cl, byte [ebp - 0x248]
mov bh, 0x21
xor al, cl
mov byte [ebp - 0x25d], ah
mov byte [ebp - 0x23f], al
xor ah, cl
mov al, byte [ebp - 0x25d]
xor dl, cl
xor al, cl
mov byte [ebp - 0x243], ah
xor bl, cl
mov byte [ebp - 0x23e], al
mov ah, 0x1a
mov byte [ebp - 0x245], dl
xor ch, cl
mov byte [ebp - 0x244], bl
xor dh, cl
mov byte [ebp - 0x254], ah
xor bh, cl
mov byte [ebp - 0x23d], 0
mov al, 0x57
mov byte [ebp - 0x24f], 0
xor al, ah
mov byte [ebp - 0x242], ch
mov cl, 0x73
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x241], dh
mov dl, 0x69
mov byte [ebp - 0x240], bh
xor dl, ah
mov byte [ebp - 0x23d], 0
mov bl, 0x79
mov byte [ebp - 0x252], cl
xor bl, ah
mov byte [ebp - 0x251], dl
lea eax, [ebp - 0x118]
mov byte [ebp - 0x250], bl
push eax
push 1
lea eax, [ebp - 0x247]
mov byte [ebp - 0x24f], 0
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000fb65
mov dword [0x10075798], 0
jmp 0x1000fb70
cmp eax, 1
cmovg eax, edi
mov dword [0x10075798], eax
mov cl, 0x6e
mov dword [ebp - 0x248], 0xf3c6e
mov dword [ebp - 0x244], 0x9000705
xor eax, eax
mov dword [ebp - 0x240], 0xb08082b
mov word [ebp - 0x23c], 0x1a0d
mov byte [ebp - 0x23a], 0
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x1000fbb7
mov cl, byte [ebp - 0x248]
jmp 0x1000fba2
mov ah, 0x7e
mov byte [ebp - 0x24f], 0
mov al, 0x33
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23a], 0
mov cl, 0x17
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0xd
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x1d
xor bl, ah
mov byte [ebp - 0x251], dl
lea eax, [ebp - 0x118]
mov byte [ebp - 0x250], bl
push eax
push 1
lea eax, [ebp - 0x247]
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000fc25
mov dword [0x1007579c], 0
jmp 0x1000fc30
cmp eax, 1
cmovg eax, edi
mov dword [0x1007579c], eax
mov byte [ebp - 0x244], 0x6d
mov al, 0x2a
xor al, byte [ebp - 0x244]
xor dl, dl
mov byte [ebp - 0x243], al
mov bl, 8
mov al, byte [ebp - 0x244]
mov ah, 0x39
xor ah, al
mov byte [ebp - 0x24f], 0
xor dl, al
mov byte [ebp - 0x23f], ah
xor dh, dh
mov byte [ebp - 0x241], dl
mov bh, bl
mov byte [ebp - 0x23b], dh
xor bl, al
mov byte [ebp - 0x23b], 0
xor dh, al
mov byte [ebp - 0x240], bl
xor bh, al
mov byte [ebp - 0x23d], dh
mov ah, 0x38
mov byte [ebp - 0x23c], bh
mov cl, 0xc
mov byte [ebp - 0x254], ah
xor cl, al
mov byte [ebp - 0x24f], 0
mov ch, 4
mov byte [ebp - 0x242], cl
xor ch, al
mov cl, 0x51
mov al, 0x75
mov byte [ebp - 0x23e], ch
xor al, ah
xor cl, ah
mov dl, 0x4b
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 0x5b
mov byte [ebp - 0x251], dl
xor bl, ah
lea eax, [ebp - 0x118]
push eax
push 0
lea eax, [ebp - 0x243]
mov byte [ebp - 0x250], bl
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000fd05
mov dword [0x10075794], 0
jmp 0x1000fd14
mov ecx, 0x18
cmp eax, ecx
cmovg eax, ecx
mov dword [0x10075794], eax
mov cl, 0x42
mov dword [ebp - 0x248], 0x2f230142
mov dword [ebp - 0x244], 0x10233027
xor eax, eax
mov dword [ebp - 0x240], 0x27252c23
mov byte [ebp - 0x23c], 0
nop dword [eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xb
jae 0x1000fd55
mov cl, byte [ebp - 0x248]
jmp 0x1000fd40
mov ah, 0x4c
mov byte [ebp - 0x24f], 0
mov al, 1
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], 0
mov cl, 0x25
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x3f
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x2f
xor bl, ah
mov byte [ebp - 0x251], dl
lea eax, [ebp - 0x118]
mov byte [ebp - 0x250], bl
push eax
push 0
lea eax, [ebp - 0x247]
push eax
lea eax, [ebp - 0x253]
push eax
call esi
test eax, eax
jns 0x1000fdc3
mov dword [0x100757a0], 0
jmp 0x1000fdd2
mov ecx, 0x14
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100757a0], eax
mov byte [ebp - 0x25c], 0x15
mov al, 0x45
xor al, byte [ebp - 0x25c]
mov cl, 0x74
xor cl, byte [ebp - 0x25c]
mov ah, 0x7a
mov byte [ebp - 0x25b], al
mov dh, 0x43
mov byte [ebp - 0x25a], cl
mov dl, 0x61
mov cl, byte [ebp - 0x25c]
mov ch, 0x66
mov byte [ebp - 0x249], 0x70
xor ah, cl
mov al, byte [ebp - 0x249]
xor dh, cl
xor al, cl
mov byte [ebp - 0x25d], 0x62
mov byte [ebp - 0x253], al
xor dl, cl
mov al, byte [ebp - 0x25d]
xor ch, cl
xor al, cl
mov byte [ebp - 0x257], ah
mov byte [ebp - 0x252], al
mov ah, 0x54
mov byte [ebp - 0x255], dh
mov al, 0x72
mov dh, 0x37
mov byte [ebp - 0x259], dl
xor al, dh
mov byte [ebp - 0x256], ch
xor ah, dh
mov byte [ebp - 0x243], al
mov byte [ebp - 0x23f], ah
mov bl, 0x7d
xor bl, cl
mov byte [ebp - 0x251], 0
lea eax, [ebp - 0x118]
mov byte [ebp - 0x258], bl
push eax
mov bh, 0x7c
mov byte [ebp - 0x23d], 0
xor bh, cl
mov byte [ebp - 0x251], 0
mov cl, 0x51
mov byte [ebp - 0x254], bh
push 1
lea eax, [ebp - 0x25b]
mov byte [ebp - 0x244], dh
mov dl, cl
mov byte [ebp - 0x23d], 0
push eax
mov ch, 0x43
lea eax, [ebp - 0x243]
mov bl, 0x52
xor cl, dh
xor dl, dh
mov byte [ebp - 0x242], cl
xor bl, dh
mov byte [ebp - 0x241], dl
xor ch, dh
mov byte [ebp - 0x240], bl
push eax
mov byte [ebp - 0x23e], ch
call esi
test eax, eax
jns 0x1000feea
mov dword [0x100757a4], 0
jmp 0x1000fef7
xor ecx, ecx
cmp eax, 1
cmovg eax, ecx
mov dword [0x100757a4], eax
mov ah, 0x1a
mov byte [ebp - 0x24f], 0
mov al, 0x5b
mov byte [ebp - 0x254], ah
mov cl, 0x6f
mov byte [ebp - 0x24f], 0
xor cl, ah
mov dword [ebp - 0x248], 0x777b4212
mov dl, 0x6e
mov byte [ebp - 0x252], cl
mov bl, 0x75
mov dword [ebp - 0x244], 0x6a577771
xor al, ah
mov dword [ebp - 0x240], 0x7c737a71
xor dl, ah
mov byte [ebp - 0x253], al
xor bl, ah
mov byte [ebp - 0x251], dl
mov byte [ebp - 0x250], bl
mov cl, 0x12
mov word [ebp - 0x23c], 0x7775
xor eax, eax
mov byte [ebp - 0x23a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x1000ff85
mov cl, byte [ebp - 0x248]
jmp 0x1000ff70
lea eax, [ebp - 0x118]
mov byte [ebp - 0x23a], 0
push eax
push 0
lea eax, [ebp - 0x253]
push eax
lea eax, [ebp - 0x247]
push eax
call esi
test eax, eax
jns 0x1000ffb5
mov dword [0x100757a8], 0
jmp 0x1000ffc0
cmp eax, 1
cmovg eax, edi
mov dword [0x100757a8], eax
mov al, 0x29
mov byte [ebp - 0x244], 0x7a
xor al, byte [ebp - 0x244]
mov dh, 0x14
mov byte [ebp - 0x243], al
mov ah, 0x11
mov al, byte [ebp - 0x244]
mov cl, 0xe
mov bh, dh
mov byte [ebp - 0x23b], 0
xor cl, al
mov byte [ebp - 0x23b], 0
mov dl, 0x15
mov byte [ebp - 0x242], cl
mov bl, 0x19
mov dword [ebp - 0x25c], 0x737f4616
mov ch, 0x33
mov dword [ebp - 0x258], 0x6e537375
xor ah, al
mov dword [ebp - 0x254], 0x78777e75
xor dl, al
mov byte [ebp - 0x23f], ah
xor bl, al
mov byte [ebp - 0x241], dl
xor ch, al
mov byte [ebp - 0x240], bl
xor dh, al
mov byte [ebp - 0x23e], ch
xor bh, al
mov byte [ebp - 0x23d], dh
mov byte [ebp - 0x23c], bh
mov cl, 0x16
mov word [ebp - 0x250], 0x7371
xor eax, eax
mov byte [ebp - 0x24e], 0
xor byte [ebp + eax - 0x25b], cl
inc eax
cmp eax, 0xd
jae 0x10010076
mov cl, byte [ebp - 0x25c]
jmp 0x10010061
lea eax, [ebp - 0x118]
mov byte [ebp - 0x24e], 0
push eax
push 0
lea eax, [ebp - 0x243]
push eax
lea eax, [ebp - 0x25b]
push eax
call esi
test eax, eax
jns 0x100100a6
mov dword [0x100757ac], 0
jmp 0x100100b1
cmp eax, 1
cmovg eax, edi
mov dword [0x100757ac], eax
mov ah, 0x69
mov byte [ebp - 0x24f], 0
mov dl, 5
mov byte [ebp - 0x254], ah
mov al, 0x3a
mov byte [ebp - 0x24f], 0
mov cl, 0xc
mov dword [ebp - 0x248], 0x606c5505
mov bl, dl
mov dword [ebp - 0x244], 0x7d406066
xor cl, ah
mov dword [ebp - 0x240], 0x6b646d66
xor al, ah
mov byte [ebp - 0x252], cl
xor dl, ah
mov byte [ebp - 0x253], al
xor bl, ah
mov byte [ebp - 0x251], dl
mov byte [ebp - 0x250], bl
mov cl, 5
mov word [ebp - 0x23c], 0x6062
xor eax, eax
mov byte [ebp - 0x23a], 0
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x10010136
mov cl, byte [ebp - 0x248]
jmp 0x10010121
lea eax, [ebp - 0x118]
mov byte [ebp - 0x23a], 0
push eax
push 0
lea eax, [ebp - 0x253]
push eax
lea eax, [ebp - 0x247]
push eax
call esi
test eax, eax
jns 0x10010166
mov dword [0x100757b0], 0
jmp 0x10010171
cmp eax, 1
cmovg eax, edi
mov dword [0x100757b0], eax
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x10010189
inc eax
push eax
push dword [ebp - 0x238]
call fcn.10005380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10054720
mov esp, ebp
pop ebp
ret