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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058adb
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x10070014]
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 0x1000f79e
xor ecx, ecx
jmp 0x1000f7b0
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f7a7
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x278]
call fcn.10005550
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.10010310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x1000f7f4
inc eax
push eax
push dword [ebp - 0x278]
call fcn.10005420
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x10076770
cmp dword [0x10076784], 0x10
cmovae eax, dword [0x10076770]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x248], 0x7e
mov al, 0x31
xor al, byte [ebp - 0x248]
mov cl, 0xe
xor cl, byte [ebp - 0x248]
mov ch, 0x10
mov byte [ebp - 0x247], al
mov bl, 0x17
mov byte [ebp - 0x25d], ch
mov ah, 0x11
mov al, byte [ebp - 0x25d]
mov dl, 0xa
mov byte [ebp - 0x246], cl
mov dh, 0x50
mov cl, byte [ebp - 0x248]
mov bh, 0x37
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 0x1000f902
xor ecx, ecx
jmp 0x1000f919
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f910
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x238]
call fcn.10005550
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dh, 0x3e
mov al, 0x7a
mov byte [ebp - 0x258], dh
xor al, dh
mov byte [ebp - 0x251], 0
mov ah, 0x4e
mov byte [ebp - 0x257], al
xor ah, dh
mov byte [ebp - 0x23d], 0
mov byte [ebp - 0x253], ah
mov cl, 0x66
xor cl, dh
mov byte [ebp - 0x251], 0
mov dl, 0x6a
mov byte [ebp - 0x256], cl
xor dl, dh
mov byte [ebp - 0x23d], 0
mov ch, 0x5b
mov byte [ebp - 0x255], dl
xor ch, dh
mov bl, 0x47
xor bl, dh
mov byte [ebp - 0x252], ch
mov dh, 0x6a
mov byte [ebp - 0x254], bl
mov al, 0x2e
mov byte [ebp - 0x244], dh
xor al, dh
mov ah, 0x1a
xor ah, dh
mov byte [ebp - 0x243], al
mov byte [ebp - 0x23f], ah
mov cl, 0x32
lea eax, [ebp - 0x118]
mov dl, 0x3e
push eax
push 0
lea eax, [ebp - 0x257]
mov ch, 0xf
push eax
mov bl, 0x13
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 0x1000fa04
mov dword [0x100767a0], 0
jmp 0x1000fa0f
cmp eax, 1
cmovg eax, edi
mov dword [0x100767a0], eax
mov byte [ebp - 0x244], 0x62
mov al, 0x31
xor al, byte [ebp - 0x244]
mov bl, 0xe
mov byte [ebp - 0x243], al
mov ah, bl
mov al, byte [ebp - 0x244]
mov cl, 9
xor cl, al
mov byte [ebp - 0x249], 3
xor bl, al
mov byte [ebp - 0x242], cl
xor ah, al
mov byte [ebp - 0x240], bl
mov dl, 0xb
mov byte [ebp - 0x23f], ah
xor dl, al
mov byte [ebp - 0x23a], 0
mov ch, 0x23
mov byte [ebp - 0x241], dl
xor ch, al
mov byte [ebp - 0x24f], 0
mov dh, 0x10
mov byte [ebp - 0x23e], ch
xor dh, al
mov byte [ebp - 0x23a], 0
mov bh, 7
mov byte [ebp - 0x23d], dh
xor bh, al
mov byte [ebp - 0x24f], 0
mov al, byte [ebp - 0x249]
mov ah, 0x2c
xor al, byte [ebp - 0x244]
mov cl, 0x45
mov byte [ebp - 0x23b], al
xor cl, ah
mov al, 0x61
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], bh
mov dl, 0x5f
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 0x4f
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 0x1000fafe
mov dword [0x100767a4], 0
jmp 0x1000fb09
cmp eax, 1
cmovg eax, edi
mov dword [0x100767a4], eax
mov cl, 0x12
mov dword [ebp - 0x248], 0x7c775512
mov dword [ebp - 0x244], 0x7b44777b
xor eax, eax
mov dword [ebp - 0x240], 0x7e707b61
mov word [ebp - 0x23c], 0x77
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xc
jae 0x1000fb49
mov cl, byte [ebp - 0x248]
jmp 0x1000fb34
mov ah, 0x4e
mov byte [ebp - 0x24f], 0
mov al, 3
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23b], 0
mov cl, 0x27
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x3d
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x2d
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 0x1000fbb7
mov dword [0x100767a8], 0
jmp 0x1000fbc2
cmp eax, 1
cmovg eax, edi
mov dword [0x100767a8], eax
mov cl, 0x26
mov byte [ebp - 0x248], 0x43
mov ah, cl
mov byte [ebp - 0x249], 0x33
xor cl, byte [ebp - 0x248]
mov al, 0x11
xor al, byte [ebp - 0x248]
mov dl, 0x2d
mov byte [ebp - 0x247], al
xor dh, dh
mov al, byte [ebp - 0x249]
mov bl, 0x27
mov byte [ebp - 0x246], cl
mov ch, 0x31
mov cl, byte [ebp - 0x248]
mov bh, 0x22
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, 0x51
mov byte [ebp - 0x23d], dh
xor ch, cl
mov byte [ebp - 0x245], dl
xor dh, cl
mov byte [ebp - 0x244], bl
xor bh, cl
mov byte [ebp - 0x254], ah
mov al, 0x1c
mov byte [ebp - 0x24f], 0
xor al, ah
mov byte [ebp - 0x242], ch
mov cl, 0x38
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x241], dh
mov dl, 0x22
mov byte [ebp - 0x240], bh
xor dl, ah
mov byte [ebp - 0x23d], 0
mov bl, 0x32
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 0x1000fcc4
mov dword [0x100767b0], 0
jmp 0x1000fccf
cmp eax, 1
cmovg eax, edi
mov dword [0x100767b0], eax
mov cl, 0x62
mov dword [ebp - 0x248], 0xc033062
mov dword [ebp - 0x244], 0x50c0b09
xor eax, eax
mov dword [ebp - 0x240], 0x7040427
mov word [ebp - 0x23c], 0x1601
mov byte [ebp - 0x23a], 0
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x1000fd16
mov cl, byte [ebp - 0x248]
jmp 0x1000fd01
mov ah, 0x6e
mov byte [ebp - 0x24f], 0
mov al, 0x23
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23a], 0
mov cl, 7
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x1d
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0xd
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 0x1000fd84
mov dword [0x100767b4], 0
jmp 0x1000fd8f
cmp eax, 1
cmovg eax, edi
mov dword [0x100767b4], eax
mov byte [ebp - 0x244], 0x79
mov al, 0x3e
xor al, byte [ebp - 0x244]
mov dl, 0x14
mov byte [ebp - 0x243], al
mov dh, dl
mov al, byte [ebp - 0x244]
mov bl, 0x1c
xor dl, al
mov byte [ebp - 0x23b], 0
xor dh, al
mov byte [ebp - 0x241], dl
mov ah, 0x2d
mov byte [ebp - 0x24f], 0
xor ah, al
mov byte [ebp - 0x23d], dh
mov bh, bl
mov byte [ebp - 0x23f], ah
xor bl, al
mov byte [ebp - 0x23b], 0
xor bh, al
mov byte [ebp - 0x240], bl
mov ah, 0xc
mov byte [ebp - 0x23c], bh
mov cl, 0x18
mov byte [ebp - 0x254], ah
xor cl, al
mov byte [ebp - 0x24f], 0
mov ch, 0x10
mov byte [ebp - 0x242], cl
xor ch, al
mov cl, 0x65
mov al, 0x41
mov byte [ebp - 0x23e], ch
xor al, ah
xor cl, ah
mov dl, 0x7f
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 0x6f
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 0x1000fe65
mov dword [0x100767ac], 0
jmp 0x1000fe74
mov ecx, 0x18
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100767ac], eax
mov cl, 0x19
mov dword [ebp - 0x248], 0x74785a19
mov dword [ebp - 0x244], 0x4b786b7c
xor eax, eax
mov dword [ebp - 0x240], 0x7c7e7778
mov byte [ebp - 0x23c], 0
nop dword [eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xb
jae 0x1000feb5
mov cl, byte [ebp - 0x248]
jmp 0x1000fea0
mov ah, 0x1f
mov byte [ebp - 0x24f], 0
mov al, 0x52
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], 0
mov cl, 0x76
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x6c
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x7c
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 0x1000ff23
mov dword [0x100767b8], 0
jmp 0x1000ff32
mov ecx, 0x14
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100767b8], eax
mov byte [ebp - 0x25c], 0x3a
mov al, 0x6a
xor al, byte [ebp - 0x25c]
mov cl, 0x5b
xor cl, byte [ebp - 0x25c]
mov ah, 0x55
mov byte [ebp - 0x25b], al
mov dh, 0x6c
mov byte [ebp - 0x25a], cl
mov dl, 0x4e
mov cl, byte [ebp - 0x25c]
mov ch, 0x49
mov byte [ebp - 0x249], 0x5f
xor ah, cl
mov al, byte [ebp - 0x249]
xor dh, cl
xor al, cl
mov byte [ebp - 0x25d], 0x4d
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, 0x67
mov byte [ebp - 0x255], dh
mov al, 0x41
mov dh, 4
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, 0x52
xor bl, cl
mov byte [ebp - 0x251], 0
lea eax, [ebp - 0x118]
mov byte [ebp - 0x258], bl
push eax
mov bh, 0x53
mov byte [ebp - 0x23d], 0
xor bh, cl
mov byte [ebp - 0x251], 0
mov cl, 0x62
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, 0x70
lea eax, [ebp - 0x243]
mov bl, 0x61
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 0x1001004a
mov dword [0x100767bc], 0
jmp 0x10010057
xor ecx, ecx
cmp eax, 1
cmovg eax, ecx
mov dword [0x100767bc], eax
mov ah, 0x45
mov byte [ebp - 0x24f], 0
mov al, 4
mov byte [ebp - 0x254], ah
mov cl, 0x30
mov byte [ebp - 0x24f], 0
xor cl, ah
mov dword [ebp - 0x248], 0x4c407929
mov dl, 0x31
mov byte [ebp - 0x252], cl
mov bl, 0x2a
mov dword [ebp - 0x244], 0x516c4c4a
xor al, ah
mov dword [ebp - 0x240], 0x4748414a
xor dl, ah
mov byte [ebp - 0x253], al
xor bl, ah
mov byte [ebp - 0x251], dl
mov byte [ebp - 0x250], bl
mov cl, 0x29
mov word [ebp - 0x23c], 0x4c4e
xor eax, eax
mov byte [ebp - 0x23a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x100100e5
mov cl, byte [ebp - 0x248]
jmp 0x100100d0
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 0x10010115
mov dword [0x100767c0], 0
jmp 0x10010120
cmp eax, 1
cmovg eax, edi
mov dword [0x100767c0], eax
mov al, 0x21
mov byte [ebp - 0x244], 0x72
xor al, byte [ebp - 0x244]
mov dh, 0x1c
mov byte [ebp - 0x243], al
mov ah, 0x19
mov al, byte [ebp - 0x244]
mov cl, 6
mov bh, dh
mov byte [ebp - 0x23b], 0
xor cl, al
mov byte [ebp - 0x23b], 0
mov dl, 0x1d
mov byte [ebp - 0x242], cl
mov bl, 0x11
mov dword [ebp - 0x25c], 0x2c201949
mov ch, 0x3b
mov dword [ebp - 0x258], 0x310c2c2a
xor ah, al
mov dword [ebp - 0x254], 0x2728212a
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, 0x49
mov word [ebp - 0x250], 0x2c2e
xor eax, eax
mov byte [ebp - 0x24e], 0
xor byte [ebp + eax - 0x25b], cl
inc eax
cmp eax, 0xd
jae 0x100101d6
mov cl, byte [ebp - 0x25c]
jmp 0x100101c1
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 0x10010206
mov dword [0x100767c4], 0
jmp 0x10010211
cmp eax, 1
cmovg eax, edi
mov dword [0x100767c4], eax
mov ah, 0x19
mov byte [ebp - 0x24f], 0
mov dl, 0x75
mov byte [ebp - 0x254], ah
mov al, 0x4a
mov byte [ebp - 0x24f], 0
mov cl, 0x7c
mov dword [ebp - 0x248], 0x565a6333
mov bl, dl
mov dword [ebp - 0x244], 0x4b765650
xor cl, ah
mov dword [ebp - 0x240], 0x5d525b50
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, 0x33
mov word [ebp - 0x23c], 0x5654
xor eax, eax
mov byte [ebp - 0x23a], 0
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x10010296
mov cl, byte [ebp - 0x248]
jmp 0x10010281
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 0x100102c6
mov dword [0x100767c8], 0
jmp 0x100102d1
cmp eax, 1
cmovg eax, edi
mov dword [0x100767c8], eax
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x100102e9
inc eax
push eax
push dword [ebp - 0x238]
call fcn.10005420
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.10054950
mov esp, ebp
pop ebp
ret