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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c540
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x10010040]
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 0x103
lea eax, [ebp - 0x113]
mov byte [ebp - 0x114], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x148]
call fcn.10002e60
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0
call fcn.10003be0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x134]
cmp ecx, 0xf
jbe 0x10003032
mov edx, dword [ebp - 0x148]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003028
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003baf
push ecx
push edx
call fcn.1000b3b3
add esp, 8
mov byte [ebp - 0x13c], 0x45
mov al, 0xa
xor al, byte [ebp - 0x13c]
mov cl, 0x35
xor cl, byte [ebp - 0x13c]
mov ch, 0x2b
mov byte [ebp - 0x13b], al
mov bl, 0x2c
mov byte [ebp - 0x159], ch
mov ah, 0x2a
mov al, byte [ebp - 0x159]
mov dl, 0x31
mov byte [ebp - 0x13a], cl
mov dh, 0x6b
mov cl, byte [ebp - 0x13c]
mov bh, 0xc
xor al, cl
mov byte [ebp - 0x12d], bl
mov byte [ebp - 0x133], al
xor ah, cl
mov al, byte [ebp - 0x12d]
xor dl, cl
xor al, cl
mov byte [ebp - 0x137], ah
xor dh, cl
mov byte [ebp - 0x132], al
xor ch, cl
mov byte [ebp - 0x139], dl
xor bl, cl
mov byte [ebp - 0x136], ch
xor bh, cl
mov byte [ebp - 0x135], dh
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x131], 0
push eax
mov edx, 0x100100a4
mov byte [ebp - 0x138], bl
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x134], bh
mov byte [ebp - 0x131], 0
call fcn.10003d50
mov dh, 0x4f
mov byte [ebp - 0x14d], 0
add esp, 4
mov byte [ebp - 0x154], dh
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov al, 0xb
mov byte [ebp - 0x14d], 0
cmova esi, dword [ebp - 0x12c]
mov cl, 0x17
xor al, dh
mov byte [ebp - 0x131], 0
xor cl, dh
mov byte [ebp - 0x153], al
mov dl, 0x1b
mov byte [ebp - 0x152], cl
xor dl, dh
mov bl, 0x36
xor bl, dh
mov byte [ebp - 0x151], dl
mov ah, 0x3f
mov byte [ebp - 0x150], bl
xor ah, dh
mov ch, 0x2a
xor ch, dh
mov byte [ebp - 0x14f], ah
mov dh, 0x5d
mov byte [ebp - 0x14e], ch
mov al, 0x19
mov byte [ebp - 0x138], dh
mov cl, 5
xor al, dh
xor cl, dh
mov byte [ebp - 0x137], al
mov dl, 9
mov byte [ebp - 0x136], cl
mov bl, 0x24
mov ah, 0x2d
mov ch, 0x38
xor dl, dh
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ah, dh
push esi
mov byte [ebp - 0x133], ah
xor bl, dh
push 0
lea eax, [ebp - 0x153]
mov byte [ebp - 0x135], dl
push eax
lea eax, [ebp - 0x137]
mov byte [ebp - 0x134], bl
xor ch, dh
mov byte [ebp - 0x131], 0
push eax
mov byte [ebp - 0x132], ch
call edi
mov dword [0x1001085c], eax
test eax, eax
jns 0x100031cd
mov dword [0x1001085c], 0
jmp 0x100031dc
cmp eax, 1
jle 0x100031dc
mov dword [0x1001085c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov byte [ebp - 0x13c], 5
mov al, 0x56
cmova esi, dword [ebp - 0x12c]
mov bl, 0x69
xor al, byte [ebp - 0x13c]
mov ah, bl
mov byte [ebp - 0x13b], al
mov cl, 0x6e
mov al, byte [ebp - 0x13c]
mov dl, 0x6c
xor cl, al
mov byte [ebp - 0x12d], 0x64
xor dl, al
mov byte [ebp - 0x13a], cl
xor bl, al
mov byte [ebp - 0x139], dl
xor ah, al
mov byte [ebp - 0x138], bl
mov ch, 0x44
mov byte [ebp - 0x137], ah
xor ch, al
mov byte [ebp - 0x132], 0
mov dh, 0x77
mov byte [ebp - 0x14b], 0
xor dh, al
mov byte [ebp - 0x136], ch
mov bh, 0x60
mov byte [ebp - 0x135], dh
xor bh, al
mov byte [ebp - 0x132], 0
mov al, byte [ebp - 0x12d]
mov ah, 0x62
xor al, byte [ebp - 0x13c]
mov cl, 0xb
mov byte [ebp - 0x133], al
mov dl, 0x11
mov al, 0x2f
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x134], bh
push esi
xor cl, ah
mov byte [ebp - 0x14f], al
xor dl, ah
mov byte [ebp - 0x14e], cl
mov bl, 1
mov byte [ebp - 0x14d], dl
xor bl, ah
mov byte [ebp - 0x14b], 0
push 0
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x14c], bl
push eax
lea eax, [ebp - 0x14f]
push eax
call edi
mov dword [0x10010860], eax
test eax, eax
jns 0x100032de
mov dword [0x10010860], 0
jmp 0x100032ed
cmp eax, 1
jle 0x100032ed
mov dword [0x10010860], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x74
mov dword [ebp - 0x140], 0x1a113374
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x1d22111d
mov dword [ebp - 0x138], 0x18161d07
mov word [ebp - 0x134], 0x11
nop dword [eax]
xor byte [ebp + eax - 0x13f], cl
inc eax
cmp eax, 0xc
jae 0x10003345
mov cl, byte [ebp - 0x140]
jmp 0x10003330
mov ah, 0x79
mov byte [ebp - 0x14b], 0
mov al, 0x34
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x133], 0
push esi
mov cl, 0x10
mov byte [ebp - 0x14f], al
mov dl, 0xa
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0x1a
mov byte [ebp - 0x14e], cl
xor bl, ah
mov byte [ebp - 0x14d], dl
push 1
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x14c], bl
push eax
lea eax, [ebp - 0x14f]
push eax
call edi
mov dword [0x10010864], eax
test eax, eax
jns 0x100033b2
mov dword [0x10010864], 0
jmp 0x100033c1
cmp eax, 1
jle 0x100033c1
mov dword [0x10010864], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x3a
mov byte [ebp - 0x13c], 0x5f
cmova esi, dword [ebp - 0x12c]
mov ah, cl
xor cl, byte [ebp - 0x13c]
mov al, 0xd
xor al, byte [ebp - 0x13c]
mov dl, 0x31
mov byte [ebp - 0x13b], al
mov bl, 0x3b
mov byte [ebp - 0x13a], cl
mov ch, 0x2d
mov cl, byte [ebp - 0x13c]
mov dh, 0x1c
mov byte [ebp - 0x12d], 0x2f
xor dl, cl
mov al, byte [ebp - 0x12d]
xor bl, cl
xor al, cl
mov byte [ebp - 0x159], ah
mov byte [ebp - 0x133], al
xor ah, cl
mov al, byte [ebp - 0x159]
xor ch, cl
xor al, cl
mov byte [ebp - 0x137], ah
mov byte [ebp - 0x132], al
mov ah, 0x2e
xor dh, cl
mov byte [ebp - 0x139], dl
mov bh, 0x3e
mov byte [ebp - 0x138], bl
xor bh, cl
mov byte [ebp - 0x150], ah
mov al, 0x63
mov byte [ebp - 0x131], 0
xor al, ah
mov byte [ebp - 0x14b], 0
push esi
mov cl, 0x47
mov byte [ebp - 0x14f], al
mov dl, 0x5d
mov byte [ebp - 0x136], ch
xor cl, ah
mov byte [ebp - 0x135], dh
xor dl, ah
mov byte [ebp - 0x134], bh
mov bl, 0x4d
mov byte [ebp - 0x131], 0
xor bl, ah
mov byte [ebp - 0x14e], cl
push 1
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x14d], dl
push eax
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x14c], bl
push eax
mov byte [ebp - 0x14b], 0
call edi
mov dword [0x1001086c], eax
test eax, eax
jns 0x100034d7
mov dword [0x1001086c], 0
jmp 0x100034e6
cmp eax, 1
jle 0x100034e6
mov dword [0x1001086c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x59
mov dword [ebp - 0x140], 0x37380b59
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x3e373032
mov dword [ebp - 0x138], 0x3c3f3f1c
mov word [ebp - 0x134], 0x2d3a
mov byte [ebp - 0x132], 0
nop dword [eax]
xor byte [ebp + eax - 0x13f], cl
inc eax
cmp eax, 0xd
jae 0x10003545
mov cl, byte [ebp - 0x140]
jmp 0x10003530
mov ah, 0x1e
mov byte [ebp - 0x14b], 0
mov al, 0x53
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x132], 0
push esi
mov cl, 0x77
mov byte [ebp - 0x14f], al
mov dl, 0x6d
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0x7d
mov byte [ebp - 0x14e], cl
xor bl, ah
mov byte [ebp - 0x14d], dl
push 1
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x14c], bl
push eax
lea eax, [ebp - 0x14f]
push eax
call edi
mov dword [0x10010870], eax
test eax, eax
jns 0x100035b2
mov dword [0x10010870], 0
jmp 0x100035c1
cmp eax, 1
jle 0x100035c1
mov dword [0x10010870], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov byte [ebp - 0x13c], 0x33
mov al, 0x74
cmova esi, dword [ebp - 0x12c]
mov dl, 0x5e
xor al, byte [ebp - 0x13c]
mov dh, dl
mov byte [ebp - 0x13b], al
mov bl, 0x56
mov al, byte [ebp - 0x13c]
mov ah, 0x67
xor ah, al
mov byte [ebp - 0x133], 0
xor dl, al
mov byte [ebp - 0x137], ah
mov bh, bl
mov byte [ebp - 0x139], dl
xor bl, al
mov byte [ebp - 0x14b], 0
xor dh, al
mov byte [ebp - 0x138], bl
xor bh, al
mov byte [ebp - 0x135], dh
mov ah, 0x52
mov byte [ebp - 0x134], bh
mov cl, 0x52
mov byte [ebp - 0x150], ah
xor cl, al
mov byte [ebp - 0x133], 0
mov ch, 0x5a
mov byte [ebp - 0x13a], cl
xor ch, al
mov byte [ebp - 0x14b], 0
mov al, 0x1f
mov byte [ebp - 0x136], ch
xor al, ah
mov cl, 0x3b
push esi
mov dl, 0x21
mov byte [ebp - 0x14f], al
xor cl, ah
xor dl, ah
mov bl, 0x31
mov byte [ebp - 0x14e], cl
xor bl, ah
mov byte [ebp - 0x14d], dl
push 0
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x14c], bl
push eax
lea eax, [ebp - 0x14f]
push eax
call edi
mov dword [0x10010868], eax
test eax, eax
jns 0x100036aa
mov dword [0x10010868], 0
jmp 0x100036b9
cmp eax, 0x18
jle 0x100036b9
mov dword [0x10010868], 0x18
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x66
mov dword [ebp - 0x140], 0xb072566
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x34071403
mov dword [ebp - 0x138], 0x3010807
mov byte [ebp - 0x134], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x13f], cl
inc eax
cmp eax, 0xb
jae 0x10003715
mov cl, byte [ebp - 0x140]
jmp 0x10003700
mov ah, 0x6e
mov byte [ebp - 0x14b], 0
mov al, 0x23
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x134], 0
push esi
mov cl, 7
mov byte [ebp - 0x14f], al
mov dl, 0x1d
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0xd
mov byte [ebp - 0x14e], cl
xor bl, ah
mov byte [ebp - 0x14d], dl
push 0
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x14c], bl
push eax
lea eax, [ebp - 0x14f]
push eax
call edi
mov dword [0x10010874], eax
test eax, eax
jns 0x10003782
mov dword [0x10010874], 0
jmp 0x10003791
cmp eax, 0x14
jle 0x10003791
mov dword [0x10010874], 0x14
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov byte [ebp - 0x158], 0x6c
mov al, 0x3c
cmova esi, dword [ebp - 0x12c]
mov cl, 0xd
xor al, byte [ebp - 0x158]
mov ah, 3
xor cl, byte [ebp - 0x158]
mov dh, 0x3a
mov byte [ebp - 0x157], al
mov dl, 0x18
mov byte [ebp - 0x156], cl
mov ch, 0x1f
mov cl, byte [ebp - 0x158]
mov bl, 4
mov byte [ebp - 0x12d], 9
xor ah, cl
mov al, byte [ebp - 0x12d]
xor dh, cl
xor al, cl
mov byte [ebp - 0x159], 0x1b
mov byte [ebp - 0x14f], al
xor dl, cl
mov al, byte [ebp - 0x159]
xor bl, cl
xor al, cl
mov byte [ebp - 0x153], ah
mov byte [ebp - 0x14e], al
xor ch, cl
mov byte [ebp - 0x151], dh
mov al, 0x53
mov dh, 0x16
mov byte [ebp - 0x155], dl
mov ah, 0x75
mov byte [ebp - 0x154], bl
xor al, dh
mov byte [ebp - 0x152], ch
xor ah, dh
mov byte [ebp - 0x137], al
push esi
mov bh, 5
mov byte [ebp - 0x133], ah
xor bh, cl
mov byte [ebp - 0x14d], 0
mov cl, 0x70
mov byte [ebp - 0x131], 0
push 1
lea eax, [ebp - 0x157]
mov byte [ebp - 0x150], bh
mov dl, cl
mov byte [ebp - 0x14d], 0
push eax
mov ch, 0x62
mov byte [ebp - 0x138], dh
mov bl, 0x73
mov byte [ebp - 0x131], 0
lea eax, [ebp - 0x137]
xor cl, dh
xor dl, dh
mov byte [ebp - 0x136], cl
xor bl, dh
mov byte [ebp - 0x135], dl
xor ch, dh
mov byte [ebp - 0x134], bl
push eax
mov byte [ebp - 0x132], ch
call edi
mov dword [0x10010878], eax
test eax, eax
js 0x100038b5
cmp eax, 1
jle 0x100038bf
mov dword [0x10010878], 0
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov ah, 5
mov byte [ebp - 0x14b], 0
cmova esi, dword [ebp - 0x12c]
mov al, 0x44
mov cl, 0x70
mov byte [ebp - 0x150], ah
xor cl, ah
mov byte [ebp - 0x14b], 0
mov dl, 0x71
mov byte [ebp - 0x14e], cl
mov bl, 0x6a
mov dword [ebp - 0x140], 0xc3565
xor al, ah
mov dword [ebp - 0x13c], 0x1d200006
xor dl, ah
mov byte [ebp - 0x14f], al
xor bl, ah
mov byte [ebp - 0x14d], dl
mov byte [ebp - 0x14c], bl
mov cl, 0x65
mov dword [ebp - 0x138], 0xb040d06
xor eax, eax
mov word [ebp - 0x134], 2
mov byte [ebp - 0x132], 0
xor byte [ebp + eax - 0x13f], cl
inc eax
cmp eax, 0xd
jae 0x10003958
mov cl, byte [ebp - 0x140]
jmp 0x10003943
push esi
push 0
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x132], 0
push eax
lea eax, [ebp - 0x13f]
push eax
call edi
mov dword [0x1001087c], eax
test eax, eax
jns 0x10003987
mov dword [0x1001087c], 0
jmp 0x10003996
cmp eax, 1
jle 0x10003996
mov dword [0x1001087c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov al, 0x79
mov byte [ebp - 0x13c], 0x2a
cmova esi, dword [ebp - 0x12c]
mov dh, 0x44
xor al, byte [ebp - 0x13c]
mov ah, 0x41
mov byte [ebp - 0x13b], al
mov cl, 0x5e
mov al, byte [ebp - 0x13c]
mov bh, dh
xor cl, al
mov byte [ebp - 0x133], 0
mov dl, 0x45
mov byte [ebp - 0x13a], cl
mov bl, 0x49
mov byte [ebp - 0x133], 0
mov ch, 0x63
mov dword [ebp - 0x158], 0x75794010
xor ah, al
mov dword [ebp - 0x154], 0x68557573
xor dl, al
mov byte [ebp - 0x137], ah
xor bl, al
mov byte [ebp - 0x139], dl
xor ch, al
mov byte [ebp - 0x138], bl
xor dh, al
mov byte [ebp - 0x136], ch
xor bh, al
mov byte [ebp - 0x135], dh
mov byte [ebp - 0x134], bh
mov cl, 0x10
mov dword [ebp - 0x150], 0x7e717873
xor eax, eax
mov word [ebp - 0x14c], 0x7577
mov byte [ebp - 0x14a], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x157], cl
inc eax
cmp eax, 0xd
jae 0x10003a65
mov cl, byte [ebp - 0x158]
jmp 0x10003a50
push esi
push 0
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x14a], 0
push eax
lea eax, [ebp - 0x157]
push eax
call edi
mov dword [0x10010880], eax
test eax, eax
jns 0x10003a94
mov dword [0x10010880], 0
jmp 0x10003aa3
cmp eax, 1
jle 0x10003aa3
mov dword [0x10010880], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov ah, 0x56
mov byte [ebp - 0x14b], 0
cmova esi, dword [ebp - 0x12c]
mov dl, 0x3a
mov al, 5
mov byte [ebp - 0x150], ah
mov cl, 0x33
mov byte [ebp - 0x14b], 0
mov bl, dl
mov dword [ebp - 0x16c], 0x20e3767
xor cl, ah
mov dword [ebp - 0x168], 0x1f220204
xor al, ah
mov byte [ebp - 0x14e], cl
xor dl, ah
mov byte [ebp - 0x14f], al
xor bl, ah
mov byte [ebp - 0x14d], dl
mov byte [ebp - 0x14c], bl
mov cl, 0x67
mov dword [ebp - 0x164], 0x9060f04
xor eax, eax
mov word [ebp - 0x160], 0x200
mov byte [ebp - 0x15e], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x16b], cl
inc eax
cmp eax, 0xd
jae 0x10003b45
mov cl, byte [ebp - 0x16c]
jmp 0x10003b30
push esi
push 0
lea eax, [ebp - 0x14f]
mov byte [ebp - 0x15e], 0
push eax
lea eax, [ebp - 0x16b]
push eax
call edi
mov dword [0x10010884], eax
test eax, eax
jns 0x10003b74
mov dword [0x10010884], 0
jmp 0x10003b83
cmp eax, 1
jle 0x10003b83
mov dword [0x10010884], 1
mov ecx, dword [ebp - 0x118]
cmp ecx, 0xf
jbe 0x10003bbf
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003bb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10003bb5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000b3b3
add esp, 8
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.1000b3a5
mov esp, ebp
pop ebp
ret