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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041edb
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x10051018]
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 sub.VCRUNTIME140.dll_memset
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 0x1000d54e
xor ecx, ecx
jmp 0x1000d560
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d557
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10004510
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0
call fcn.1000e100
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x138]
cmp eax, 0x10
jb 0x1000d5a4
inc eax
push eax
push dword [ebp - 0x14c]
call fcn.10004c80
xor al, al
mov byte [ebp - 0x140], 0x4f
mov byte [ebp - 0x135], al
mov cl, 0x3f
xor al, byte [ebp - 0x140]
mov ch, 0x21
xor cl, byte [ebp - 0x140]
mov bl, 0x26
mov byte [ebp - 0x13f], al
mov ah, 0x20
mov byte [ebp - 0x15d], ch
mov dl, 0x3b
mov al, byte [ebp - 0x15d]
mov dh, 0x61
mov byte [ebp - 0x13e], cl
mov bh, 6
mov cl, byte [ebp - 0x140]
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 - 0x13c], bl
push eax
mov edx, 0x1005329c
mov byte [ebp - 0x138], bh
lea ecx, [ebp - 0x130]
mov byte [ebp - 0x135], 0
call fcn.1000e280
mov dh, 0x35
mov byte [ebp - 0x151], 0
add esp, 4
mov byte [ebp - 0x158], dh
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x6d
mov byte [ebp - 0x151], 0
cmovae esi, dword [ebp - 0x130]
mov al, 0x71
xor cl, dh
xor al, dh
mov dl, 0x61
mov byte [ebp - 0x156], cl
xor dl, dh
mov byte [ebp - 0x157], al
mov bl, 0x4c
mov byte [ebp - 0x155], dl
xor bl, dh
mov ah, 0x45
xor ah, dh
mov byte [ebp - 0x154], bl
mov ch, 0x50
mov byte [ebp - 0x153], ah
xor ch, dh
xor cl, cl
mov dh, 0x58
mov byte [ebp - 0x135], cl
mov al, 0x1c
mov byte [ebp - 0x152], ch
xor al, dh
mov byte [ebp - 0x13c], dh
xor cl, dh
mov byte [ebp - 0x13b], al
mov dl, 0xc
mov byte [ebp - 0x13a], cl
mov bl, 0x21
mov ah, 0x28
mov ch, 0x3d
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 0x1000d73d
mov dword [0x100532cc], 0
jmp 0x1000d748
cmp eax, 1
cmovg eax, ecx
mov dword [0x100532cc], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x140], 6
mov al, 0x55
cmovae esi, dword [ebp - 0x130]
mov bl, 0x6a
xor al, byte [ebp - 0x140]
mov ah, bl
mov byte [ebp - 0x13f], al
mov cl, 0x6d
mov al, byte [ebp - 0x140]
mov dl, 0x6f
xor cl, al
mov byte [ebp - 0x131], 0x67
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, 0x47
mov byte [ebp - 0x13b], ah
xor ch, al
mov byte [ebp - 0x136], 0
mov dh, 0x74
mov byte [ebp - 0x14f], 0
xor dh, al
mov byte [ebp - 0x13a], ch
mov bh, 0x63
mov byte [ebp - 0x139], dh
xor bh, al
mov byte [ebp - 0x136], 0
mov al, byte [ebp - 0x131]
mov ah, 0x41
xor al, byte [ebp - 0x140]
mov cl, 0x28
mov byte [ebp - 0x137], al
mov dl, 0x32
mov al, 0xc
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, 0x22
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 0x1000d845
mov dword [0x100532d0], 0
jmp 0x1000d855
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532d0], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0xa
mov dword [ebp - 0x144], 0x646f4d0a
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x635c6f63
mov dword [ebp - 0x13c], 0x66686379
mov word [ebp - 0x138], 0x6f
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xc
jae 0x1000d8a9
mov cl, byte [ebp - 0x144]
jmp 0x1000d894
mov ah, 0x55
mov byte [ebp - 0x14f], 0
mov al, 0x18
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x137], 0
push esi
mov cl, 0x3c
mov byte [ebp - 0x153], al
mov dl, 0x26
mov byte [ebp - 0x14f], 0
xor cl, ah
xor dl, ah
mov bl, 0x36
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 0x1000d911
mov dword [0x100532d4], 0
jmp 0x1000d921
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532d4], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x27
mov byte [ebp - 0x140], 0x42
cmovae esi, dword [ebp - 0x130]
mov ah, cl
xor cl, byte [ebp - 0x140]
mov al, 0x10
xor al, byte [ebp - 0x140]
mov dl, 0x2c
mov byte [ebp - 0x13f], al
mov bl, 0x26
mov byte [ebp - 0x13e], cl
mov ch, 0x30
mov cl, byte [ebp - 0x140]
mov dh, 1
mov byte [ebp - 0x131], 0x32
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, 0xf
xor dh, cl
mov byte [ebp - 0x13d], dl
mov bh, 0x23
mov byte [ebp - 0x13c], bl
xor bh, cl
mov byte [ebp - 0x154], ah
mov al, 0x42
mov byte [ebp - 0x135], 0
xor al, ah
mov byte [ebp - 0x14f], 0
push esi
mov cl, 0x66
mov byte [ebp - 0x153], al
mov dl, 0x7c
mov byte [ebp - 0x13a], ch
xor cl, ah
mov byte [ebp - 0x139], dh
xor dl, ah
mov byte [ebp - 0x138], bh
mov bl, 0x6c
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 0x1000da32
mov dword [0x100532dc], 0
jmp 0x1000da42
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532dc], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 2
mov dword [ebp - 0x144], 0x6c635002
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x656c6b69
mov dword [ebp - 0x13c], 0x67646447
mov word [ebp - 0x138], 0x7661
mov byte [ebp - 0x136], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xd
jae 0x1000daa5
mov cl, byte [ebp - 0x144]
jmp 0x1000da90
mov ah, 0x69
mov byte [ebp - 0x136], 0
mov al, 0x24
mov byte [ebp - 0x154], ah
xor cl, cl
xor al, ah
push esi
mov dl, 0x1a
mov byte [ebp - 0x14f], cl
xor cl, ah
mov byte [ebp - 0x153], al
xor dl, ah
mov byte [ebp - 0x152], cl
mov bl, 0xa
mov byte [ebp - 0x151], dl
xor bl, ah
mov byte [ebp - 0x14f], 0
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 0x1000db0c
mov dword [0x100532e0], 0
jmp 0x1000db1c
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532e0], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x140], 0x19
mov al, 0x5e
cmovae esi, dword [ebp - 0x130]
mov dl, 0x74
xor al, byte [ebp - 0x140]
mov dh, dl
mov byte [ebp - 0x13f], al
mov bl, 0x7c
mov al, byte [ebp - 0x140]
mov ah, 0x4d
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, 0x17
mov byte [ebp - 0x138], bh
mov cl, 0x78
mov byte [ebp - 0x154], ah
xor cl, al
mov byte [ebp - 0x137], 0
mov ch, 0x70
mov byte [ebp - 0x13e], cl
xor ch, al
mov byte [ebp - 0x14f], 0
mov al, 0x5a
mov byte [ebp - 0x13a], ch
xor al, ah
mov cl, 0x7e
push esi
mov dl, 0x64
mov byte [ebp - 0x153], al
xor cl, ah
xor dl, ah
mov bl, 0x74
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 0x1000dc00
mov dword [0x100532d8], 0
jmp 0x1000dc0f
mov ecx, 0x18
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100532d8], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov cl, 0x53
mov dword [ebp - 0x144], 0x3e321053
cmovae esi, dword [ebp - 0x130]
xor eax, eax
mov dword [ebp - 0x140], 0x1322136
mov dword [ebp - 0x13c], 0x36343d32
mov byte [ebp - 0x138], 0
nop dword [eax]
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xb
jae 0x1000dc65
mov cl, byte [ebp - 0x144]
jmp 0x1000dc50
mov ah, 0x70
mov byte [ebp - 0x14f], 0
mov al, 0x3d
mov byte [ebp - 0x154], ah
xor al, ah
mov byte [ebp - 0x138], 0
push esi
mov cl, 0x19
mov byte [ebp - 0x153], al
mov dl, 3
mov byte [ebp - 0x14f], 0
xor cl, ah
xor dl, ah
mov bl, 0x13
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 0x1000dccd
mov dword [0x100532e4], 0
jmp 0x1000dcdc
mov ecx, 0x14
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100532e4], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov byte [ebp - 0x15c], 0x2b
mov al, 0x7b
cmovae esi, dword [ebp - 0x130]
mov cl, 0x4a
xor al, byte [ebp - 0x15c]
mov ah, 0x44
xor cl, byte [ebp - 0x15c]
mov dh, 0x7d
mov byte [ebp - 0x15b], al
mov dl, 0x5f
mov byte [ebp - 0x15a], cl
mov ch, 0x58
mov cl, byte [ebp - 0x15c]
mov bl, 0x43
mov byte [ebp - 0x131], 0x4e
xor ah, cl
mov al, byte [ebp - 0x131]
xor dh, cl
xor al, cl
mov byte [ebp - 0x15d], 0x5c
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
mov byte [ebp - 0x155], dh
mov al, 0x59
mov dh, 0x1c
mov byte [ebp - 0x159], dl
mov ah, 0x7f
mov byte [ebp - 0x158], bl
xor al, dh
mov byte [ebp - 0x156], ch
xor ah, dh
mov byte [ebp - 0x13b], al
push esi
mov bh, 0x42
mov byte [ebp - 0x137], ah
xor bh, cl
mov byte [ebp - 0x151], 0
mov cl, 0x7a
mov byte [ebp - 0x135], 0
push 1
lea eax, [ebp - 0x15b]
mov byte [ebp - 0x154], bh
mov dl, cl
mov byte [ebp - 0x151], 0
push eax
mov ch, 0x68
mov byte [ebp - 0x13c], dh
mov bl, 0x79
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 0x1000de02
mov dword [0x100532e8], 0
jmp 0x1000de0f
xor ecx, ecx
cmp eax, 1
cmovg eax, ecx
mov dword [0x100532e8], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov ah, 0x71
mov byte [ebp - 0x14f], 0
cmovae esi, dword [ebp - 0x130]
mov al, 0x30
mov cl, 4
mov byte [ebp - 0x154], ah
xor cl, ah
mov byte [ebp - 0x14f], 0
mov dl, 5
mov byte [ebp - 0x152], cl
mov bl, 0x1e
mov dword [ebp - 0x144], 0x474b7222
xor al, ah
mov dword [ebp - 0x140], 0x5a674741
xor dl, ah
mov byte [ebp - 0x153], al
xor bl, ah
mov byte [ebp - 0x151], dl
mov byte [ebp - 0x150], bl
mov cl, 0x22
mov dword [ebp - 0x13c], 0x4c434a41
xor eax, eax
mov word [ebp - 0x138], 0x4745
mov byte [ebp - 0x136], 0
xor byte [ebp + eax - 0x143], cl
inc eax
cmp eax, 0xd
jae 0x1000dea8
mov cl, byte [ebp - 0x144]
jmp 0x1000de93
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 0x1000ded2
mov dword [0x100532ec], 0
jmp 0x1000dee2
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532ec], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov al, 0x7f
mov byte [ebp - 0x140], 0x2c
cmovae esi, dword [ebp - 0x130]
mov dh, 0x42
xor al, byte [ebp - 0x140]
mov ah, 0x47
mov byte [ebp - 0x13f], al
mov cl, 0x58
mov al, byte [ebp - 0x140]
mov bh, dh
xor cl, al
mov byte [ebp - 0x137], 0
mov dl, 0x43
mov byte [ebp - 0x13e], cl
mov bl, 0x4f
mov byte [ebp - 0x137], 0
mov ch, 0x65
mov dword [ebp - 0x15c], 0x20e3767
xor ah, al
mov dword [ebp - 0x158], 0x1f220204
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, 0x67
mov dword [ebp - 0x154], 0x9060f04
xor eax, eax
mov word [ebp - 0x150], 0x200
mov byte [ebp - 0x14e], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x15b], cl
inc eax
cmp eax, 0xd
jae 0x1000dfb5
mov cl, byte [ebp - 0x15c]
jmp 0x1000dfa0
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 0x1000dfdf
mov dword [0x100532f0], 0
jmp 0x1000dfef
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532f0], eax
cmp dword [ebp - 0x11c], 0x10
lea esi, [ebp - 0x130]
mov ah, 0x6c
mov byte [ebp - 0x14f], 0
cmovae esi, dword [ebp - 0x130]
mov al, 0x3f
mov cl, 9
mov byte [ebp - 0x154], ah
xor dl, dl
mov dword [ebp - 0x170], 0x54586131
xor bl, bl
mov dword [ebp - 0x16c], 0x49745452
xor cl, ah
mov dword [ebp - 0x168], 0x5f505952
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, 0x31
mov word [ebp - 0x164], 0x5456
xor eax, eax
mov byte [ebp - 0x162], 0
nop dword [eax]
xor byte [ebp + eax - 0x16f], cl
inc eax
cmp eax, 0xd
jae 0x1000e085
mov cl, byte [ebp - 0x170]
jmp 0x1000e070
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 0x1000e0af
mov dword [0x100532f4], 0
jmp 0x1000e0bf
cmp eax, 1
mov ecx, 1
cmovg eax, ecx
mov dword [0x100532f4], eax
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x1000e0d7
inc eax
push eax
push dword [ebp - 0x130]
call fcn.10004c80
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.1003fc80
mov esp, ebp
pop ebp
ret