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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009274b
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x100bb084]
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 - 0x118]
push 0
push eax
call fcn.10060920
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jne 0x100133fe
xor ecx, ecx
jmp 0x10013410
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10013407
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10004a40
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0
call fcn.10013fc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x1001345a
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.100048f0
mov byte [ebp - 0x140], 0x64
mov al, 0x2b
xor al, byte [ebp - 0x140]
mov cl, 0x14
xor cl, byte [ebp - 0x140]
mov ch, 0xa
mov byte [ebp - 0x13f], al
mov bl, 0xd
mov byte [ebp - 0x15d], ch
mov ah, 0xb
mov al, byte [ebp - 0x15d]
mov dl, 0x10
mov byte [ebp - 0x13e], cl
mov dh, 0x4a
mov cl, byte [ebp - 0x140]
mov bh, 0x2d
xor al, cl
mov byte [ebp - 0x131], bl
mov byte [ebp - 0x137], al
xor ah, cl
mov al, byte [ebp - 0x131]
xor dl, cl
xor al, cl
mov byte [ebp - 0x13b], ah
xor dh, cl
mov byte [ebp - 0x136], al
xor ch, cl
mov byte [ebp - 0x13d], dl
xor bl, cl
mov byte [ebp - 0x13a], ch
xor bh, cl
mov byte [ebp - 0x139], dh
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x135], 0
push eax
mov edx, 0x100c421c
mov byte [ebp - 0x13c], bl
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x138], bh
mov byte [ebp - 0x135], 0
call fcn.10014150
mov dh, 0x75
mov byte [ebp - 0x151], 0
add esp, 4
mov byte [ebp - 0x158], dh
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov al, 0x31
mov byte [ebp - 0x151], 0
cmovae esi, dword [ebp - 0x130]
mov cl, 0x2d
xor al, dh
mov byte [ebp - 0x135], 0
xor cl, dh
mov byte [ebp - 0x157], al
mov dl, 0x21
mov byte [ebp - 0x156], cl
xor dl, dh
mov bl, 0xc
xor bl, dh
mov byte [ebp - 0x155], dl
mov ah, 5
mov byte [ebp - 0x154], bl
xor ah, dh
mov ch, 0x10
xor ch, dh
mov byte [ebp - 0x153], ah
mov dh, 0x3f
mov byte [ebp - 0x152], ch
mov al, 0x7b
mov byte [ebp - 0x13c], dh
mov cl, 0x67
xor al, dh
xor cl, dh
mov byte [ebp - 0x13b], al
mov dl, 0x6b
mov byte [ebp - 0x13a], cl
mov bl, 0x46
mov ah, 0x4f
mov ch, 0x5a
xor dl, dh
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ah, dh
push esi
mov byte [ebp - 0x137], ah
xor bl, dh
push 0
lea eax, [ebp - 0x157]
mov byte [ebp - 0x139], dl
push eax
lea eax, [ebp - 0x13b]
mov byte [ebp - 0x138], bl
xor ch, dh
mov byte [ebp - 0x135], 0
push eax
mov byte [ebp - 0x136], ch
call edi
mov ecx, 1
test eax, eax
jns 0x100135f5
mov dword [0x100c424c], 0
jmp 0x10013600
cmp eax, 1
cmovg eax, ecx
mov dword [0x100c424c], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x140], 0x6e
mov al, 0x3d
cmovae esi, dword [ebp - 0x130]
mov bl, 2
xor al, byte [ebp - 0x140]
mov ah, bl
mov byte [ebp - 0x13f], al
mov cl, 5
mov al, byte [ebp - 0x140]
mov dl, 7
xor cl, al
mov byte [ebp - 0x131], 0xf
xor dl, al
mov byte [ebp - 0x13e], cl
xor bl, al
mov byte [ebp - 0x13d], dl
xor ah, al
mov byte [ebp - 0x13c], bl
mov ch, 0x2f
mov byte [ebp - 0x13b], ah
xor ch, al
mov byte [ebp - 0x136], 0
mov dh, 0x1c
mov byte [ebp - 0x14f], 0
xor dh, al
mov byte [ebp - 0x13a], ch
mov bh, 0xb
mov byte [ebp - 0x139], dh
xor bh, al
mov byte [ebp - 0x136], 0
mov al, byte [ebp - 0x131]
mov ah, 0x60
xor al, byte [ebp - 0x140]
mov cl, 9
mov byte [ebp - 0x137], al
mov dl, 0x13
mov al, 0x2d
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x138], bh
push esi
xor cl, ah
mov byte [ebp - 0x153], al
xor dl, ah
mov byte [ebp - 0x152], cl
mov bl, 3
mov byte [ebp - 0x151], dl
xor bl, ah
mov byte [ebp - 0x14f], 0
push 0
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x150], bl
push eax
lea eax, [ebp - 0x153]
push eax
call edi
test eax, eax
jns 0x100136fd
mov dword [0x100c4250], 0
jmp 0x1001370d
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c4250], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x1d
mov dword [ebp - 0x144], 0x73785a1d
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x744b7874
mov dword [ebp - 0x13c], 0x717f746e
mov word [ebp - 0x138], 0x78
nop dword [eax]
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xc
jae 0x10013765
mov cl, byte [ebp - 0x144]
jmp 0x10013750
mov ah, 0x15
mov byte [ebp - 0x14f], 0
mov al, 0x58
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x137], 0
push esi
mov cl, 0x7c
mov byte [ebp - 0x153], al
mov dl, 0x66
mov byte [ebp - 0x14f], 0
xor cl, ah
xor dl, ah
mov bl, 0x76
mov byte [ebp - 0x152], cl
xor bl, ah
mov byte [ebp - 0x151], dl
push 1
lea eax, [ebp - 0x143]
mov byte [ebp - 0x150], bl
push eax
lea eax, [ebp - 0x153]
push eax
call edi
test eax, eax
jns 0x100137cd
mov dword [0x100c4254], 0
jmp 0x100137dd
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c4254], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x50
mov byte [ebp - 0x140], 0x35
cmovae esi, dword [ebp - 0x130]
mov ah, cl
xor cl, byte [ebp - 0x140]
mov al, 0x67
xor al, byte [ebp - 0x140]
mov dl, 0x5b
mov byte [ebp - 0x13f], al
mov bl, 0x51
mov byte [ebp - 0x13e], cl
mov ch, 0x47
mov cl, byte [ebp - 0x140]
mov dh, 0x76
mov byte [ebp - 0x131], 0x45
xor dl, cl
mov al, byte [ebp - 0x131]
xor bl, cl
xor al, cl
mov byte [ebp - 0x15d], ah
mov byte [ebp - 0x137], al
xor ah, cl
mov al, byte [ebp - 0x15d]
xor ch, cl
xor al, cl
mov byte [ebp - 0x13b], ah
mov byte [ebp - 0x136], al
mov ah, 0x6f
xor dh, cl
mov byte [ebp - 0x13d], dl
mov bh, 0x54
mov byte [ebp - 0x13c], bl
xor bh, cl
mov byte [ebp - 0x154], ah
mov al, 0x22
mov byte [ebp - 0x135], 0
xor al, ah
mov byte [ebp - 0x14f], 0
push esi
mov cl, 6
mov byte [ebp - 0x153], al
mov dl, 0x1c
mov byte [ebp - 0x13a], ch
xor cl, ah
mov byte [ebp - 0x139], dh
xor dl, ah
mov byte [ebp - 0x138], bh
mov bl, 0xc
mov byte [ebp - 0x135], 0
xor bl, ah
mov byte [ebp - 0x152], cl
push 1
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x151], dl
push eax
lea eax, [ebp - 0x153]
mov byte [ebp - 0x150], bl
push eax
mov byte [ebp - 0x14f], 0
call edi
test eax, eax
jns 0x100138ee
mov dword [0x100c425c], 0
jmp 0x100138fe
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c425c], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x52
mov dword [ebp - 0x144], 0x3c330052
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x353c3b39
mov dword [ebp - 0x13c], 0x37343417
mov word [ebp - 0x138], 0x2631
mov byte [ebp - 0x136], 0
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xd
jae 0x10013959
mov cl, byte [ebp - 0x144]
jmp 0x10013944
mov ah, 0x58
mov byte [ebp - 0x14f], 0
mov al, 0x15
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x136], 0
push esi
mov cl, 0x31
mov byte [ebp - 0x153], al
mov dl, 0x2b
mov byte [ebp - 0x14f], 0
xor cl, ah
xor dl, ah
mov bl, 0x3b
mov byte [ebp - 0x152], cl
xor bl, ah
mov byte [ebp - 0x151], dl
push 1
lea eax, [ebp - 0x143]
mov byte [ebp - 0x150], bl
push eax
lea eax, [ebp - 0x153]
push eax
call edi
test eax, eax
jns 0x100139c1
mov dword [0x100c4260], 0
jmp 0x100139d1
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c4260], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x140], 0x32
mov al, 0x75
cmovae esi, dword [ebp - 0x130]
mov dl, 0x5f
xor al, byte [ebp - 0x140]
mov dh, dl
mov byte [ebp - 0x13f], al
mov bl, 0x57
mov al, byte [ebp - 0x140]
mov ah, 0x66
xor ah, al
mov byte [ebp - 0x137], 0
xor dl, al
mov byte [ebp - 0x13b], ah
mov bh, bl
mov byte [ebp - 0x13d], dl
xor bl, al
mov byte [ebp - 0x14f], 0
xor dh, al
mov byte [ebp - 0x13c], bl
xor bh, al
mov byte [ebp - 0x139], dh
mov ah, 0x1f
mov byte [ebp - 0x138], bh
mov cl, 0x53
mov byte [ebp - 0x154], ah
xor cl, al
mov byte [ebp - 0x137], 0
mov ch, 0x5b
mov byte [ebp - 0x13e], cl
xor ch, al
mov byte [ebp - 0x14f], 0
mov al, 0x52
mov byte [ebp - 0x13a], ch
xor al, ah
mov cl, 0x76
push esi
mov dl, 0x6c
mov byte [ebp - 0x153], al
xor cl, ah
xor dl, ah
mov bl, 0x7c
mov byte [ebp - 0x152], cl
xor bl, ah
mov byte [ebp - 0x151], dl
push 0
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x150], bl
push eax
lea eax, [ebp - 0x153]
push eax
call edi
test eax, eax
jns 0x10013ab5
mov dword [0x100c4258], 0
jmp 0x10013ac4
mov ecx, 0x18
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100c4258], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x6e
mov dword [ebp - 0x144], 0x30f2d6e
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x3c0f1c0b
mov dword [ebp - 0x13c], 0xb09000f
mov byte [ebp - 0x138], 0
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xb
jae 0x10013b16
mov cl, byte [ebp - 0x144]
jmp 0x10013b01
mov ah, 0x53
mov byte [ebp - 0x14f], 0
mov al, 0x1e
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x138], 0
push esi
mov cl, 0x3a
mov byte [ebp - 0x153], al
mov dl, 0x20
mov byte [ebp - 0x14f], 0
xor cl, ah
xor dl, ah
mov bl, 0x30
mov byte [ebp - 0x152], cl
xor bl, ah
mov byte [ebp - 0x151], dl
push 0
lea eax, [ebp - 0x143]
mov byte [ebp - 0x150], bl
push eax
lea eax, [ebp - 0x153]
push eax
call edi
test eax, eax
jns 0x10013b7e
mov dword [0x100c4264], 0
jmp 0x10013b8d
mov ecx, 0x14
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100c4264], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x15c], 0x2c
mov al, 0x7c
cmovae esi, dword [ebp - 0x130]
mov cl, 0x4d
xor al, byte [ebp - 0x15c]
mov ah, 0x43
xor cl, byte [ebp - 0x15c]
mov dh, 0x7a
mov byte [ebp - 0x15b], al
mov dl, 0x58
mov byte [ebp - 0x15a], cl
mov ch, 0x5f
mov cl, byte [ebp - 0x15c]
mov bl, 0x44
mov byte [ebp - 0x131], 0x49
xor ah, cl
mov al, byte [ebp - 0x131]
xor dh, cl
xor al, cl
mov byte [ebp - 0x15d], 0x5b
mov byte [ebp - 0x153], al
xor dl, cl
mov al, byte [ebp - 0x15d]
xor bl, cl
xor al, cl
mov byte [ebp - 0x157], ah
mov byte [ebp - 0x152], al
xor ch, cl
xor al, al
mov byte [ebp - 0x155], dh
mov dh, 0x45
mov byte [ebp - 0x135], al
mov ah, 0x26
mov byte [ebp - 0x159], dl
xor al, dh
mov byte [ebp - 0x158], bl
xor ah, dh
mov byte [ebp - 0x13b], al
push esi
mov bh, 0x45
mov byte [ebp - 0x137], ah
xor bh, cl
mov byte [ebp - 0x156], ch
mov cl, 0x23
mov byte [ebp - 0x151], 0
push 1
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x154], bh
mov dl, cl
mov byte [ebp - 0x151], 0
push eax
mov ch, 0x31
mov byte [ebp - 0x13c], dh
mov bl, 0x20
mov byte [ebp - 0x135], 0
lea eax, [ebp - 0x13b]
xor cl, dh
xor dl, dh
mov byte [ebp - 0x13a], cl
xor bl, dh
mov byte [ebp - 0x139], dl
xor ch, dh
mov byte [ebp - 0x138], bl
push eax
mov byte [ebp - 0x136], ch
call edi
test eax, eax
jns 0x10013cb2
mov dword [0x100c4268], 0
jmp 0x10013cbf
xor ecx, ecx
cmp eax, 1
cmovg eax, ecx
mov dword [0x100c4268], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov ah, 0x70
mov byte [ebp - 0x14f], 0
cmovae esi, dword [ebp - 0x130]
mov al, 0x31
mov cl, 5
mov byte [ebp - 0x154], ah
xor cl, ah
mov byte [ebp - 0x14f], 0
mov dl, 4
mov byte [ebp - 0x152], cl
mov bl, 0x1f
mov dword [ebp - 0x144], 0x68645d0d
xor al, ah
mov dword [ebp - 0x140], 0x7548686e
xor dl, ah
mov byte [ebp - 0x153], al
xor bl, ah
mov byte [ebp - 0x151], dl
mov byte [ebp - 0x150], bl
mov cl, 0xd
mov dword [ebp - 0x13c], 0x636c656e
xor eax, eax
mov word [ebp - 0x138], 0x686a
mov byte [ebp - 0x136], 0
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xd
jae 0x10013d58
mov cl, byte [ebp - 0x144]
jmp 0x10013d43
push esi
push 0
lea eax, [ebp - 0x153]
mov byte [ebp - 0x136], 0
push eax
lea eax, [ebp - 0x143]
push eax
call edi
test eax, eax
jns 0x10013d82
mov dword [0x100c426c], 0
jmp 0x10013d92
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c426c], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov al, 0x21
mov byte [ebp - 0x140], 0x72
cmovae esi, dword [ebp - 0x130]
mov dh, 0x1c
xor al, byte [ebp - 0x140]
mov ah, 0x19
mov byte [ebp - 0x13f], al
mov cl, 6
mov al, byte [ebp - 0x140]
mov bh, dh
xor cl, al
mov byte [ebp - 0x137], 0
mov dl, 0x1d
mov byte [ebp - 0x13e], cl
mov bl, 0x11
mov byte [ebp - 0x137], 0
mov ch, 0x3b
mov dword [ebp - 0x15c], 0x464a7323
xor ah, al
mov dword [ebp - 0x158], 0x5b664640
xor dl, al
mov byte [ebp - 0x13b], ah
xor bl, al
mov byte [ebp - 0x13d], dl
xor ch, al
mov byte [ebp - 0x13c], bl
xor dh, al
mov byte [ebp - 0x13a], ch
xor bh, al
mov byte [ebp - 0x139], dh
mov byte [ebp - 0x138], bh
mov cl, 0x23
mov dword [ebp - 0x154], 0x4d424b40
xor eax, eax
mov word [ebp - 0x150], 0x4644
mov byte [ebp - 0x14e], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x15b], cl
inc eax
cmp eax, 0xd
jae 0x10013e65
mov cl, byte [ebp - 0x15c]
jmp 0x10013e50
push esi
push 0
lea eax, [ebp - 0x13f]
mov byte [ebp - 0x14e], 0
push eax
lea eax, [ebp - 0x15b]
push eax
call edi
test eax, eax
jns 0x10013e8f
mov dword [0x100c4270], 0
jmp 0x10013e9f
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c4270], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov ah, 0x35
mov byte [ebp - 0x14f], 0
cmovae esi, dword [ebp - 0x130]
mov dl, 0x59
mov al, 0x66
mov byte [ebp - 0x154], ah
mov cl, 0x50
mov byte [ebp - 0x14f], 0
mov bl, dl
mov dword [ebp - 0x170], 0x636f5606
xor cl, ah
mov dword [ebp - 0x16c], 0x7e436365
xor al, ah
mov byte [ebp - 0x152], cl
xor dl, ah
mov byte [ebp - 0x153], al
xor bl, ah
mov byte [ebp - 0x151], dl
mov byte [ebp - 0x150], bl
mov cl, 6
mov dword [ebp - 0x168], 0x68676e65
xor eax, eax
mov word [ebp - 0x164], 0x6361
mov byte [ebp - 0x162], 0
xor byte [ebp + eax - 0x16f], cl
inc eax
cmp eax, 0xd
jae 0x10013f38
mov cl, byte [ebp - 0x170]
jmp 0x10013f23
push esi
push 0
lea eax, [ebp - 0x153]
mov byte [ebp - 0x162], 0
push eax
lea eax, [ebp - 0x16f]
push eax
call edi
test eax, eax
jns 0x10013f62
mov dword [0x100c4274], 0
jmp 0x10013f72
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100c4274], eax
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x10013f90
inc eax
lea ecx, [ebp - 0x130]
push eax
push dword [ebp - 0x130]
call fcn.100048f0
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.1005baa0
mov esp, ebp
pop ebp
ret