joyce8/EMBER2024-capa huggingface dataset:
Function at 0x715dcc49
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x715dcbb3
cmp dword [eax + 0xc], ebx
je 0x715dcc56
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.715dc60e
mov eax, 0x39d470fb
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov ebp, 0xffffff78
mov eax, dword [ebp - 0x44]
jmp 0x715dcba5
call fcn.715dc60e
lodsd eax, dword [esi]
jg 0x715dcc60
cmc
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x715dccc2
xchg dword [eax + 0x3b000000], esp
ret
add eax, esi
cmp dword [eax], ebx
je 0x715dccc2
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x715dccbd
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x715dcca7
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x715dccaf
cmp edx, ebx
jne 0x715dcdfd
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x715dcc7e
add eax, dword [eax + 4]
jmp 0x715dcc6b
mov dword [ebp + 0xc], ebx
jmp 0x715dcccd
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x715dcce5
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x715dcd03
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x715dcd61
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x715dcd48
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x715dcd51
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x715dcd5b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x715dcd3d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x715dccc7
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x715dcdae
dec eax
je 0x715dcda5
sub eax, 3
je 0x715dcd9c
mov dword [ebp - 4], 0x40
jmp 0x715dcdcb
mov dword [ebp - 4], 4
jmp 0x715dcdb1
mov dword [ebp - 4], 0x20
jmp 0x715dcdb1
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x715dcdfd
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x715dcd7d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.715dc60e
inc esp
mov edi, 0x75ff6b2a
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x715dce09
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x715dce75
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.715dc61e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.715dc5d3
adc al, 0xf7
invalid
inc dword [ebx - 0x7a76f33c]
je 0x715dcebf
invalid
invalid
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
dec dword [edi]
Function at 0x715dd4f7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.715dc5ec
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.715dc61e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.715dc5d3
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.715dc60e
jne 0x715dd66b
or al, 0x89
test dword [esp + edi*8], ebp
invalid
mov eax, 0x10468d2
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.715dc60e
por mm4, qword [ebx - 0x22]
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
inc ebp
in eax, dx
xchg esi, eax
loop 0x715dd5fa
inc ebp
loopne 0x715dd6c0
Function at 0x715dedc8
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x18], 2
mov dword [ebp - 0xc], edi
jne 0x715dede7
cmp ebx, edi
je 0x715deed3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], edi
lea eax, [ebp - 0x1c]
push 0x10
push eax
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x715deeab
lea eax, [ebp - 0x1c]
push 0x2e
push eax
call fcn.715e1cce
test eax, eax
jne 0x715dee9f
lea eax, [ebp + 0x10]
push eax
push 0x2001f
lea eax, [ebp - 0x1c]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x715dee9f
lea eax, [ebp - 4]
push eax
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x715dee96
mov eax, dword [ebp + 0x18]
dec eax
je 0x715dee8f
dec eax
je 0x715dee66
dec eax
dec eax
jne 0x715dee8f
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x715dee8f
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, edi
mov dword [ebx], eax
je 0x715deeb5
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx], eax
lea eax, [ebp - 4]
push eax
push dword [ebx]
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call esi
mov dword [ebp - 0xc], 1
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 0xc], edi
je 0x715dedf0
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x14
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x10
push edi
push edi
push 0x44e
push dword [0x715e4534]
call fcn.715d6f11
xor eax, eax
jmp 0x715deeae

Function at 0x715defd5
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x715df03f
push esi
lea eax, [ebp + 0xc]
push dword [ebp - 4]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x103
cmp eax, esi
jne 0x715df035
push edi
push edi
push edi
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, esi
jne 0x715df035
push 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, edi
pop edi
leave
ret 8
Function at 0x715df1cf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x715e4050], 0xffffffff
mov dword [ebp - 4], esi
je 0x715df22f
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push esi
push eax
push esi
push esi
push dword [ebp + 8]
push 0x500
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp dword [ebp - 4], esi
je 0x715df22f
lea eax, [ebp - 0xc]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 4]
push dword [0x715e4050]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
leave
ret

Function at 0x715dfa45
Capabilities:
Get file attributes
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test esi, esi
je 0x715dfbe8
cmp byte [esi], 0
je 0x715dfbe8
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
mov ebx, esi
push dword [ebp + 0x10]
push eax
call fcn.715e22a7
lea eax, [ebp - 0x104]
push 0x715d3328
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push eax
call fcn.715e17e6
test eax, eax
je 0x715dfbe8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp byte [esi], 0
je 0x715dfbd8
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x608]
push 0x400
push eax
push 0x715d1e40
push ebx
push 0x715d3478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x715dfbc2
lea eax, [ebp - 0x208]
push 0x104
push eax
push 6
pop esi
lea eax, [ebp - 0x608]
push esi
push eax
call fcn.715e09ef
test eax, eax
je 0x715dfb35
lea eax, [ebp - 0x208]
push eax
call fcn.715d8d93
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x715dfb35
test byte [ebp + 0x19], 8
je 0x715dfb3e
inc dword [ebp + 0xc]
jmp 0x715dfb3e
push ebx
call fcn.715dfbf1
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x608]
xor edi, edi
push 0x2c
push eax
call fcn.715e1cce
test eax, eax
je 0x715dfb62
push eax
call dword [sym.imp.USER32.dll_CharNextA]
inc edi
cmp edi, esi
jl 0x715dfb46
test eax, eax
jne 0x715dfb7f
cmp edi, esi
jge 0x715dfb83
sub esi, edi
lea eax, [ebp - 0x608]
push 0x715d1bac
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
dec esi
jne 0x715dfb68
jmp 0x715dfb83
mov byte [eax + 1], 0x30
lea eax, [ebp - 0x208]
push 0xa
push eax
push dword [ebp + 0xc]
call fcn.715e222f
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x608]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x608]
push eax
push ebx
push 0x715d3478
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebx + eax + 1], 0
lea ebx, [ebx + eax + 1]
jne 0x715dfaca
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x14
Function at 0x715dfbf1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x715d32f0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x715dfc4c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x715dfc43
and dword [ebp - 4], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
leave
ret 4
Function at 0x715dff1f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
or dword [esi], 0xffffffff
lea edi, [esi + 0x10c]
push edi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esi], 0xffffffff
jne 0x715dffe2
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.715e22a7
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push 0x715d3330
push eax
call ebx
mov edi, 0x80
lea eax, [ebp - 0x104]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
xor ecx, ecx
cmp dword [ebp + 0x14], eax
push eax
push edi
setne cl
add ecx, 3
push ecx
push eax
push eax
lea eax, [ebp - 0x104]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x715dffb3
xor eax, eax
jmp 0x715dffe5
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 0x10]
mov dword [esi + 4], eax
add esi, 8
push dword [ebp + 8]
push esi
call fcn.715e22a7
push 0x715d3328
push esi
call ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x715dffec
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push eax
call fcn.715e22a7
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x104]
push 0x715d3330
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push 3
push eax
call edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push eax
call fcn.715e22a7
lea eax, [ebp - 0x104]
push 0x715d3328
push eax
call esi
lea eax, [ebp - 0x104]
push 3
push eax
call edi
pop edi
pop esi
leave
ret 8
Function at 0x715e03b7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x504]
or dword [esi + 0x18], 0xffffffff
or dword [esi + 0x20], 0xffffffff
push 0x400
push eax
push 0x715d1e40
push dword [esi]
push 0x715d3478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x715e0547
mov edi, 0x104
lea eax, [ebp - 0x104]
push edi
push eax
xor ebx, ebx
lea eax, [ebp - 0x504]
push ebx
push eax
call fcn.715e09ef
test eax, eax
je 0x715e0429
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
je 0x715e0542
push 1
lea ecx, [ebp - 0x104]
pop eax
push edi
push ecx
mov dword [esi + 4], eax
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.715e09ef
test eax, eax
je 0x715e0464
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x104]
push edi
push eax
lea eax, [ebp - 0x504]
push 2
push eax
call fcn.715e09ef
test eax, eax
je 0x715e0490
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x104]
push edi
push eax
lea eax, [ebp - 0x504]
push 3
push eax
call fcn.715e09ef
test eax, eax
je 0x715e04bc
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x104]
push edi
push eax
lea eax, [ebp - 0x504]
push 4
push eax
call fcn.715e09ef
test eax, eax
je 0x715e04e8
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x104]
push edi
push eax
lea eax, [ebp - 0x504]
push 5
push eax
call fcn.715e09ef
test eax, eax
je 0x715e0514
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x104]
push edi
push eax
lea eax, [ebp - 0x504]
push 6
push eax
call fcn.715e09ef
test eax, eax
je 0x715e054b
push 0x10
lea eax, [ebp - 0x104]
push ebx
push eax
call fcn.715e0e5e
mov dword [esi + 0x20], eax
jmp 0x715e054b
mov dword [esi + 4], ebx
jmp 0x715e054b
and dword [esi + 4], 0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x715e0552
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_CharPrevA]
mov edi, eax
cmp edi, ebx
jbe 0x715e058e
mov al, byte [edi]
test al, al
je 0x715e058e
cmp al, 0x5c
je 0x715e058e
push edi
jmp 0x715e0574
push edi
push ebx
call dword [sym.imp.USER32.dll_CharPrevA]
cmp byte [eax], 0x3a
jne 0x715e05a4
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
and byte [edi], 0
cmp dword [0x715f1240], 0x3e8
jge 0x715e05f3
test esi, esi
jne 0x715e0613
and byte [edi], 0
mov eax, dword [0x715f1240]
inc dword [0x715f1240]
push eax
lea eax, [ebp - 0x10]
push 0x715d3354
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
call fcn.715e1804
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
inc esi
neg esi
sbb esi, esi
inc esi
jmp 0x715e05a7
test esi, esi
jne 0x715e0613
and byte [edi], 0
push esi
push dword [ebp + 8]
call fcn.715d8e63
push ebx
push esi
push 0x715d3350
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x715e061c
Capabilities:
Move file
Read .ini file

Disassembly:
push ecx
cmp word [0x715e4520], 0
push ebx
push ebp
push esi
push edi
jne 0x715e077d
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, 0x715d224c
push ebx
call edi
mov esi, eax
push dword [esp + 0x18]
call edi
lea eax, [esi + eax + 0x12]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
mov dword [esp + 0x10], esi
je 0x715e07a5
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push esi
call fcn.715e1804
push dword [0x715e40ac]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x18], eax
je 0x715e0760
push ebx
push dword [0x715e40ac]
push eax
push 0x715d2374
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov ebp, eax
mov eax, dword [0x715e40ac]
add eax, 0xfffffffe
cmp ebp, eax
jae 0x715e06cb
push dword [esp + 0x20]
call edi
mov esi, eax
push dword [esp + 0x1c]
call edi
mov ecx, ebp
add ecx, esi
lea eax, [eax + ecx + 0x10]
cmp eax, dword [0x715e40ac]
jbe 0x715e06e1
push dword [esp + 0x18]
add dword [0x715e40ac], 0x400
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x715e0672
mov eax, dword [esp + 0x18]
push 0x715d334c
push dword [esp + 0x24]
lea esi, [ebp + eax]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x715e0709
push dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x715e071c
mov eax, dword [0x715e40ac]
sub eax, ebp
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0x715d1f08
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call edi
mov ecx, dword [0x715e40ac]
sub ecx, ebp
sub ecx, eax
push ecx
push esi
call edi
add eax, esi
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
call edi
and byte [esi + eax + 1], 0
push ebx
push dword [esp + 0x1c]
add esi, eax
push 0x715d2374
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
cmp dword [esp + 0x18], 0
je 0x715e0771
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x715e07a5
push 0x715d334c
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x715e0795
push 4
push eax
jmp 0x715e079b
push 5
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x715e0f18
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push edi
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.715e22a7
lea eax, [ebp - 0x104]
push 0x715d3328
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x715e0fb1
push esi
push dword [ebp - 0x224]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x715e0fa9
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x224]
push esi
push 0x715d1e40
push 0
push 0x715d3478
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x715e0fa2
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
jmp 0x715e0fa9
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop edi
leave
ret 0xc

Function at 0x715e0fb6
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x715e1069
cmp byte [esi], 0
je 0x715e1069
push edi
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push eax
call fcn.715e22a7
lea eax, [ebp - 0x104]
push 0x715d3328
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x104]
push 0x80
push eax
call ebx
cmp byte [esi], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
je 0x715e104e
mov eax, dword [ebp + 0x14]
and al, 1
neg al
sbb eax, eax
and eax, 0x715d3338
mov dword [ebp + 8], eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
push esi
push 0x715d3478
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x715e102a
lea eax, [ebp - 0x104]
push eax
xor eax, eax
push eax
push eax
push eax
call edi
lea eax, [ebp - 0x104]
push 3
push eax
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x715e109e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 8]
or ecx, 0xffffffff
sub ecx, dword [esp + 0xc]
mov edx, eax
dec eax
test edx, edx
je 0x715e10d3
push edi
lea edx, [eax + 1]
mov eax, dword [esp + 8]
push esi
movzx esi, byte [eax]
movzx edi, cl
xor esi, edi
shr ecx, 8
mov esi, dword [esi*4 + 0x715e40b0]
xor ecx, esi
inc eax
dec edx
jne 0x715e10b9
pop esi
pop edi
or eax, 0xffffffff
sub eax, ecx
ret 0xc

Function at 0x715e17e6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x715e17f9
xor eax, eax
jmp 0x715e1801
not eax
shr eax, 4
and eax, 1
ret 4