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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c450
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.1000b2ce
add esp, 8
mov byte [ebp - 0x13c], 0x22
mov al, 0x6d
xor al, byte [ebp - 0x13c]
mov cl, 0x52
xor cl, byte [ebp - 0x13c]
mov ch, 0x4c
mov byte [ebp - 0x13b], al
mov bl, 0x4b
mov byte [ebp - 0x159], ch
mov ah, 0x4d
mov al, byte [ebp - 0x159]
mov dl, 0x56
mov byte [ebp - 0x13a], cl
mov dh, 0xc
mov cl, byte [ebp - 0x13c]
mov bh, 0x6b
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, 0x23
mov byte [ebp - 0x14d], 0
add esp, 4
mov byte [ebp - 0x154], dh
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov al, 0x67
mov byte [ebp - 0x14d], 0
cmova esi, dword [ebp - 0x12c]
mov cl, 0x7b
xor al, dh
mov byte [ebp - 0x131], 0
xor cl, dh
mov byte [ebp - 0x153], al
mov dl, 0x77
mov byte [ebp - 0x152], cl
xor dl, dh
mov bl, 0x5a
xor bl, dh
mov byte [ebp - 0x151], dl
mov ah, 0x53
mov byte [ebp - 0x150], bl
xor ah, dh
mov ch, 0x46
xor ch, dh
mov byte [ebp - 0x14f], ah
mov dh, 0x62
mov byte [ebp - 0x14e], ch
mov al, 0x26
mov byte [ebp - 0x138], dh
mov cl, 0x3a
xor al, dh
xor cl, dh
mov byte [ebp - 0x137], al
mov dl, 0x36
mov byte [ebp - 0x136], cl
mov bl, 0x1b
mov ah, 0x12
mov ch, 7
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 [0x1001080c], eax
test eax, eax
jns 0x100031cd
mov dword [0x1001080c], 0
jmp 0x100031dc
cmp eax, 1
jle 0x100031dc
mov dword [0x1001080c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov byte [ebp - 0x13c], 0x6a
mov al, 0x39
cmova esi, dword [ebp - 0x12c]
mov bl, 6
xor al, byte [ebp - 0x13c]
mov ah, bl
mov byte [ebp - 0x13b], al
mov cl, 1
mov al, byte [ebp - 0x13c]
mov dl, 3
xor cl, al
mov byte [ebp - 0x12d], 0xb
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, 0x2b
mov byte [ebp - 0x137], ah
xor ch, al
mov byte [ebp - 0x132], 0
mov dh, 0x18
mov byte [ebp - 0x14b], 0
xor dh, al
mov byte [ebp - 0x136], ch
mov bh, 0xf
mov byte [ebp - 0x135], dh
xor bh, al
mov byte [ebp - 0x132], 0
mov al, byte [ebp - 0x12d]
mov ah, 0x15
xor al, byte [ebp - 0x13c]
mov cl, 0x7c
mov byte [ebp - 0x133], al
mov dl, 0x66
mov al, 0x58
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, 0x76
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 [0x10010810], eax
test eax, eax
jns 0x100032de
mov dword [0x10010810], 0
jmp 0x100032ed
cmp eax, 1
jle 0x100032ed
mov dword [0x10010810], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x54
mov dword [ebp - 0x140], 0x3a311354
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x3d02313d
mov dword [ebp - 0x138], 0x38363d27
mov word [ebp - 0x134], 0x31
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, 0x5b
mov byte [ebp - 0x14b], 0
mov al, 0x16
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x133], 0
push esi
mov cl, 0x32
mov byte [ebp - 0x14f], al
mov dl, 0x28
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0x38
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 [0x10010814], eax
test eax, eax
jns 0x100033b2
mov dword [0x10010814], 0
jmp 0x100033c1
cmp eax, 1
jle 0x100033c1
mov dword [0x10010814], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 0x5e
mov byte [ebp - 0x13c], 0x3b
cmova esi, dword [ebp - 0x12c]
mov ah, cl
xor cl, byte [ebp - 0x13c]
mov al, 0x69
xor al, byte [ebp - 0x13c]
mov dl, 0x55
mov byte [ebp - 0x13b], al
mov bl, 0x5f
mov byte [ebp - 0x13a], cl
mov ch, 0x49
mov cl, byte [ebp - 0x13c]
mov dh, 0x78
mov byte [ebp - 0x12d], 0x4b
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, 0x38
xor dh, cl
mov byte [ebp - 0x139], dl
mov bh, 0x5a
mov byte [ebp - 0x138], bl
xor bh, cl
mov byte [ebp - 0x150], ah
mov al, 0x75
mov byte [ebp - 0x131], 0
xor al, ah
mov byte [ebp - 0x14b], 0
push esi
mov cl, 0x51
mov byte [ebp - 0x14f], al
mov dl, 0x4b
mov byte [ebp - 0x136], ch
xor cl, ah
mov byte [ebp - 0x135], dh
xor dl, ah
mov byte [ebp - 0x134], bh
mov bl, 0x5b
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 [0x1001081c], eax
test eax, eax
jns 0x100034d7
mov dword [0x1001081c], 0
jmp 0x100034e6
cmp eax, 1
jle 0x100034e6
mov dword [0x1001081c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 7
mov dword [ebp - 0x140], 0x69665507
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x60696e6c
mov dword [ebp - 0x138], 0x62616142
mov word [ebp - 0x134], 0x7364
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, 0x40
mov byte [ebp - 0x14b], 0
mov al, 0xd
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x132], 0
push esi
mov cl, 0x29
mov byte [ebp - 0x14f], al
mov dl, 0x33
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0x23
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 [0x10010820], eax
test eax, eax
jns 0x100035b2
mov dword [0x10010820], 0
jmp 0x100035c1
cmp eax, 1
jle 0x100035c1
mov dword [0x10010820], 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, 0x7e
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, 0x33
mov byte [ebp - 0x136], ch
xor al, ah
mov cl, 0x17
push esi
mov dl, 0xd
mov byte [ebp - 0x14f], al
xor cl, ah
xor dl, ah
mov bl, 0x1d
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 [0x10010818], eax
test eax, eax
jns 0x100036aa
mov dword [0x10010818], 0
jmp 0x100036b9
cmp eax, 0x18
jle 0x100036b9
mov dword [0x10010818], 0x18
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov cl, 5
mov dword [ebp - 0x140], 0x68644605
cmova esi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x13c], 0x57647760
mov dword [ebp - 0x138], 0x60626b64
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, 0x41
mov byte [ebp - 0x14b], 0
mov al, 0xc
mov byte [ebp - 0x150], ah
xor al, ah
mov byte [ebp - 0x134], 0
push esi
mov cl, 0x28
mov byte [ebp - 0x14f], al
mov dl, 0x32
mov byte [ebp - 0x14b], 0
xor cl, ah
xor dl, ah
mov bl, 0x22
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 [0x10010824], eax
test eax, eax
jns 0x10003782
mov dword [0x10010824], 0
jmp 0x10003791
cmp eax, 0x14
jle 0x10003791
mov dword [0x10010824], 0x14
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov byte [ebp - 0x158], 0x36
mov al, 0x66
cmova esi, dword [ebp - 0x12c]
mov cl, 0x57
xor al, byte [ebp - 0x158]
mov ah, 0x59
xor cl, byte [ebp - 0x158]
mov dh, 0x60
mov byte [ebp - 0x157], al
mov dl, 0x42
mov byte [ebp - 0x156], cl
mov ch, 0x45
mov cl, byte [ebp - 0x158]
mov bl, 0x5e
mov byte [ebp - 0x12d], 0x53
xor ah, cl
mov al, byte [ebp - 0x12d]
xor dh, cl
xor al, cl
mov byte [ebp - 0x159], 0x41
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, 0x28
mov dh, 0x6d
mov byte [ebp - 0x155], dl
mov ah, 0xe
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, 0x5f
mov byte [ebp - 0x133], ah
xor bh, cl
mov byte [ebp - 0x14d], 0
mov cl, 0xb
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, 0x19
mov byte [ebp - 0x138], dh
mov bl, 8
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 [0x10010828], eax
test eax, eax
js 0x100038b5
cmp eax, 1
jle 0x100038bf
mov dword [0x10010828], 0
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov ah, 0x71
mov byte [ebp - 0x14b], 0
cmova esi, dword [ebp - 0x12c]
mov al, 0x30
mov cl, 4
mov byte [ebp - 0x150], ah
xor cl, ah
mov byte [ebp - 0x14b], 0
mov dl, 5
mov byte [ebp - 0x14e], cl
mov bl, 0x1e
mov dword [ebp - 0x140], 0x5e526b3b
xor al, ah
mov dword [ebp - 0x13c], 0x437e5e58
xor dl, ah
mov byte [ebp - 0x14f], al
xor bl, ah
mov byte [ebp - 0x14d], dl
mov byte [ebp - 0x14c], bl
mov cl, 0x3b
mov dword [ebp - 0x138], 0x555a5358
xor eax, eax
mov word [ebp - 0x134], 0x5e5c
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 [0x1001082c], eax
test eax, eax
jns 0x10003987
mov dword [0x1001082c], 0
jmp 0x10003996
cmp eax, 1
jle 0x10003996
mov dword [0x1001082c], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov al, 0x55
mov byte [ebp - 0x13c], 6
cmova esi, dword [ebp - 0x12c]
mov dh, 0x68
xor al, byte [ebp - 0x13c]
mov ah, 0x6d
mov byte [ebp - 0x13b], al
mov cl, 0x72
mov al, byte [ebp - 0x13c]
mov bh, dh
xor cl, al
mov byte [ebp - 0x133], 0
mov dl, 0x69
mov byte [ebp - 0x13a], cl
mov bl, 0x65
mov byte [ebp - 0x133], 0
mov ch, 0x4f
mov dword [ebp - 0x158], 0x666a5303
xor ah, al
mov dword [ebp - 0x154], 0x7b466660
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, 3
mov dword [ebp - 0x150], 0x6d626b60
xor eax, eax
mov word [ebp - 0x14c], 0x6664
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 [0x10010830], eax
test eax, eax
jns 0x10003a94
mov dword [0x10010830], 0
jmp 0x10003aa3
cmp eax, 1
jle 0x10003aa3
mov dword [0x10010830], 1
cmp dword [ebp - 0x118], 0xf
lea esi, [ebp - 0x12c]
mov ah, 0x50
mov byte [ebp - 0x14b], 0
cmova esi, dword [ebp - 0x12c]
mov dl, 0x3c
mov al, 3
mov byte [ebp - 0x150], ah
mov cl, 0x35
mov byte [ebp - 0x14b], 0
mov bl, dl
mov dword [ebp - 0x16c], 0x363a0353
xor cl, ah
mov dword [ebp - 0x168], 0x2b163630
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, 0x53
mov dword [ebp - 0x164], 0x3d323b30
xor eax, eax
mov word [ebp - 0x160], 0x3634
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 [0x10010834], eax
test eax, eax
jns 0x10003b74
mov dword [0x10010834], 0
jmp 0x10003b83
cmp eax, 1
jle 0x10003b83
mov dword [0x10010834], 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.1000b2ce
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.1000b2c0
mov esp, ebp
pop ebp
ret