Function at 0x10010690
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
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 - 0x220]
push 0
push eax
call fcn.10074660
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 0x1001070e
xor ecx, ecx
jmp 0x10010720
lea ecx, [ebp - 0x220]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010717
sub ecx, edx
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x278]
call fcn.10004d00
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0
call fcn.10011280
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x264]
cmp eax, 0x10
jb 0x1001076a
inc eax
lea ecx, [ebp - 0x278]
push eax
push dword [ebp - 0x278]
call fcn.10004bb0
push 0x104
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10074660
add esp, 0xc
mov eax, 0x100c3e0c
cmp dword [0x100c3e20], 0x10
cmovae eax, dword [0x100c3e0c]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [ebp - 0x248], 0x5b
mov al, 0x14
xor al, byte [ebp - 0x248]
mov cl, 0x2b
xor cl, byte [ebp - 0x248]
mov ch, 0x35
mov byte [ebp - 0x247], al
mov bl, 0x32
mov byte [ebp - 0x25d], ch
mov ah, 0x34
mov al, byte [ebp - 0x25d]
mov dl, 0x2f
mov byte [ebp - 0x246], cl
mov dh, 0x75
mov cl, byte [ebp - 0x248]
mov bh, 0x12
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 0x10010878
xor ecx, ecx
jmp 0x1001088a
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10010881
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x238]
call fcn.10004d00
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dh, 7
mov al, 0x43
mov byte [ebp - 0x258], dh
xor al, dh
mov byte [ebp - 0x251], 0
mov ah, 0x77
mov byte [ebp - 0x257], al
xor ah, dh
mov byte [ebp - 0x251], 0
mov byte [ebp - 0x253], ah
mov cl, 0x5f
xor cl, dh
mov byte [ebp - 0x23d], 0
mov dl, 0x53
mov byte [ebp - 0x256], cl
xor dl, dh
mov ch, 0x62
xor ch, dh
mov byte [ebp - 0x255], dl
mov bl, 0x7e
mov byte [ebp - 0x252], ch
xor bl, dh
mov al, 0x3d
mov dh, 0x79
mov byte [ebp - 0x254], bl
xor al, dh
mov byte [ebp - 0x244], dh
mov ah, 9
mov byte [ebp - 0x243], al
xor ah, dh
mov cl, 0x21
mov byte [ebp - 0x23f], ah
mov dl, 0x2d
lea eax, [ebp - 0x118]
mov ch, 0x1c
push eax
push 0
lea eax, [ebp - 0x257]
xor bl, bl
push eax
lea eax, [ebp - 0x243]
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
mov edi, 1
test eax, eax
jns 0x1001096e
mov dword [0x100c3e3c], 0
jmp 0x10010979
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e3c], eax
mov byte [ebp - 0x244], 0x3d
mov al, 0x6e
xor al, byte [ebp - 0x244]
mov bl, 0x51
mov byte [ebp - 0x243], al
mov ah, bl
mov al, byte [ebp - 0x244]
mov cl, 0x56
xor cl, al
mov byte [ebp - 0x249], 0x5c
xor bl, al
mov byte [ebp - 0x242], cl
xor ah, al
mov byte [ebp - 0x240], bl
mov dl, 0x54
mov byte [ebp - 0x23f], ah
xor dl, al
mov byte [ebp - 0x23a], 0
mov ch, 0x7c
mov byte [ebp - 0x241], dl
xor ch, al
mov byte [ebp - 0x24f], 0
mov dh, 0x4f
mov byte [ebp - 0x23e], ch
xor dh, al
mov byte [ebp - 0x23a], 0
mov bh, 0x58
mov byte [ebp - 0x23d], dh
xor bh, al
mov byte [ebp - 0x24f], 0
mov al, byte [ebp - 0x249]
mov ah, 0x60
xor al, byte [ebp - 0x244]
mov cl, 9
mov byte [ebp - 0x23b], al
xor cl, ah
mov al, 0x2d
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], bh
mov dl, 0x13
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 3
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 0x10010a68
mov dword [0x100c3e40], 0
jmp 0x10010a73
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e40], eax
mov cl, 0x4f
mov dword [ebp - 0x248], 0x212a084f
mov dword [ebp - 0x244], 0x26192a26
xor eax, eax
mov dword [ebp - 0x240], 0x232d263c
mov word [ebp - 0x23c], 0x2a
nop
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xc
jae 0x10010ab5
mov cl, byte [ebp - 0x248]
jmp 0x10010aa0
mov ah, 0x24
mov byte [ebp - 0x24f], 0
mov al, 0x69
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23b], 0
mov cl, 0x4d
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x57
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x47
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 0x10010b23
mov dword [0x100c3e44], 0
jmp 0x10010b2e
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e44], eax
mov cl, 0x48
mov byte [ebp - 0x248], 0x2d
mov ah, cl
mov byte [ebp - 0x249], 0x5d
xor cl, byte [ebp - 0x248]
mov al, 0x7f
xor al, byte [ebp - 0x248]
mov dl, 0x43
mov byte [ebp - 0x247], al
mov bl, 0x49
mov al, byte [ebp - 0x249]
mov ch, 0x5f
mov byte [ebp - 0x246], cl
mov dh, 0x6e
mov cl, byte [ebp - 0x248]
mov bh, 0x4c
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, 0x75
mov byte [ebp - 0x245], dl
xor ch, cl
mov byte [ebp - 0x244], bl
xor dh, cl
mov byte [ebp - 0x254], ah
xor bh, cl
mov byte [ebp - 0x23d], 0
mov al, 0x38
mov byte [ebp - 0x24f], 0
xor al, ah
mov byte [ebp - 0x242], ch
mov cl, 0x1c
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x241], dh
mov dl, 6
mov byte [ebp - 0x240], bh
xor dl, ah
mov byte [ebp - 0x23d], 0
mov bl, 0x16
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 0x10010c31
mov dword [0x100c3e4c], 0
jmp 0x10010c3c
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e4c], eax
mov cl, 0x30
mov dword [ebp - 0x248], 0x5e516230
mov dword [ebp - 0x244], 0x575e595b
xor eax, eax
mov dword [ebp - 0x240], 0x55565675
mov word [ebp - 0x23c], 0x4453
mov byte [ebp - 0x23a], 0
nop
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x10010c85
mov cl, byte [ebp - 0x248]
jmp 0x10010c70
mov ah, 0x38
mov byte [ebp - 0x24f], 0
mov al, 0x75
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23a], 0
mov cl, 0x51
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x4b
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 0x5b
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 0x10010cf3
mov dword [0x100c3e50], 0
jmp 0x10010cfe
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e50], eax
mov byte [ebp - 0x244], 0x16
mov al, 0x51
xor al, byte [ebp - 0x244]
mov dl, 0x7b
mov byte [ebp - 0x243], al
mov dh, dl
mov al, byte [ebp - 0x244]
mov bl, 0x73
xor dl, al
mov byte [ebp - 0x23b], 0
xor dh, al
mov byte [ebp - 0x241], dl
mov ah, 0x42
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, 7
mov byte [ebp - 0x23c], bh
mov cl, 0x77
mov byte [ebp - 0x254], ah
xor cl, al
mov byte [ebp - 0x24f], 0
mov ch, 0x7f
mov byte [ebp - 0x242], cl
xor ch, al
mov cl, 0x6e
mov al, 0x4a
mov byte [ebp - 0x23e], ch
xor al, ah
xor cl, ah
mov dl, 0x74
mov byte [ebp - 0x253], al
xor dl, ah
mov byte [ebp - 0x252], cl
mov bl, 0x64
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 0x10010dd4
mov dword [0x100c3e48], 0
jmp 0x10010de3
mov ecx, 0x18
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100c3e48], eax
mov cl, 0x22
mov dword [ebp - 0x248], 0x4f436122
mov dword [ebp - 0x244], 0x70435047
xor eax, eax
mov dword [ebp - 0x240], 0x47454c43
mov byte [ebp - 0x23c], 0
nop dword [eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xb
jae 0x10010e25
mov cl, byte [ebp - 0x248]
jmp 0x10010e10
mov ah, 0x64
mov byte [ebp - 0x24f], 0
mov al, 0x29
mov byte [ebp - 0x254], ah
xor al, ah
mov byte [ebp - 0x23c], 0
mov cl, 0xd
mov byte [ebp - 0x253], al
xor cl, ah
mov byte [ebp - 0x24f], 0
mov dl, 0x17
mov byte [ebp - 0x252], cl
xor dl, ah
mov bl, 7
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 0x10010e93
mov dword [0x100c3e54], 0
jmp 0x10010ea2
mov ecx, 0x14
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100c3e54], eax
mov byte [ebp - 0x25c], 0x70
mov al, 0x20
xor al, byte [ebp - 0x25c]
mov cl, 0x11
xor cl, byte [ebp - 0x25c]
mov ah, 0x1f
mov byte [ebp - 0x25b], al
mov dh, 0x26
mov byte [ebp - 0x25a], cl
mov dl, 4
mov cl, byte [ebp - 0x25c]
mov ch, 3
mov byte [ebp - 0x249], 0x15
xor ah, cl
mov al, byte [ebp - 0x249]
xor dh, cl
xor al, cl
mov byte [ebp - 0x25d], 7
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, 0x4d
mov byte [ebp - 0x255], dh
mov al, 0x6b
mov dh, 0x2e
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, 0x18
xor bl, cl
mov byte [ebp - 0x251], 0
lea eax, [ebp - 0x118]
mov byte [ebp - 0x258], bl
push eax
mov bh, 0x19
mov byte [ebp - 0x23d], 0
xor bh, cl
mov byte [ebp - 0x251], 0
mov cl, 0x48
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, 0x5a
lea eax, [ebp - 0x243]
mov bl, 0x4b
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 0x10010fba
mov dword [0x100c3e58], 0
jmp 0x10010fc7
xor ecx, ecx
cmp eax, 1
cmovg eax, ecx
mov dword [0x100c3e58], eax
mov ah, 0x1d
mov byte [ebp - 0x24f], 0
mov al, 0x5c
mov byte [ebp - 0x254], ah
mov cl, 0x68
mov byte [ebp - 0x24f], 0
xor cl, ah
mov dword [ebp - 0x248], 0x676b5202
mov dl, 0x69
mov byte [ebp - 0x252], cl
mov bl, 0x72
mov dword [ebp - 0x244], 0x7a476761
xor al, ah
mov dword [ebp - 0x240], 0x6c636a61
xor dl, ah
mov byte [ebp - 0x253], al
xor bl, ah
mov byte [ebp - 0x251], dl
mov byte [ebp - 0x250], bl
mov cl, 2
mov word [ebp - 0x23c], 0x6765
xor eax, eax
mov byte [ebp - 0x23a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x10011055
mov cl, byte [ebp - 0x248]
jmp 0x10011040
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 0x10011085
mov dword [0x100c3e5c], 0
jmp 0x10011090
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e5c], eax
mov al, 0xe
mov byte [ebp - 0x244], 0x5d
xor al, byte [ebp - 0x244]
mov dh, 0x33
mov byte [ebp - 0x243], al
mov ah, 0x36
mov al, byte [ebp - 0x244]
mov cl, 0x29
mov bh, dh
mov byte [ebp - 0x23b], 0
xor cl, al
mov byte [ebp - 0x23b], 0
mov dl, 0x32
mov byte [ebp - 0x242], cl
mov bl, 0x3e
mov dword [ebp - 0x25c], 0x25291040
mov ch, 0x14
mov dword [ebp - 0x258], 0x38052523
xor ah, al
mov dword [ebp - 0x254], 0x2e212823
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, 0x40
mov word [ebp - 0x250], 0x2527
xor eax, eax
mov byte [ebp - 0x24e], 0
xor byte [ebp + eax - 0x25b], cl
inc eax
cmp eax, 0xd
jae 0x10011146
mov cl, byte [ebp - 0x25c]
jmp 0x10011131
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 0x10011176
mov dword [0x100c3e60], 0
jmp 0x10011181
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e60], eax
mov ah, 0x30
mov byte [ebp - 0x24f], 0
mov dl, 0x5c
mov byte [ebp - 0x254], ah
mov al, 0x63
mov byte [ebp - 0x24f], 0
mov cl, 0x55
mov dword [ebp - 0x248], 0x5a566f3f
mov bl, dl
mov dword [ebp - 0x244], 0x477a5a5c
xor cl, ah
mov dword [ebp - 0x240], 0x515e575c
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, 0x3f
mov word [ebp - 0x23c], 0x5a58
xor eax, eax
mov byte [ebp - 0x23a], 0
xor byte [ebp + eax - 0x247], cl
inc eax
cmp eax, 0xd
jae 0x10011206
mov cl, byte [ebp - 0x248]
jmp 0x100111f1
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 0x10011236
mov dword [0x100c3e64], 0
jmp 0x10011241
cmp eax, 1
cmovg eax, edi
mov dword [0x100c3e64], eax
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x1001125f
inc eax
lea ecx, [ebp - 0x238]
push eax
push dword [ebp - 0x238]
call fcn.10004bb0
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.10059ed0
mov esp, ebp
pop ebp
ret