joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60008990
Capabilities:
Get geographical location

Disassembly:
push ebx
mov eax, dword [0x6000d098]
push esi
test eax, eax
push edi
push ebp
jne 0x600089d8
push 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 1
push 0
call esi
test eax, eax
je 0x600089b8
mov eax, 2
jmp 0x600089de
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x600089d1
mov eax, 1
jmp 0x600089de
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [0x6000d098], eax
cmp eax, 2
jne 0x60008a03
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov ebx, dword [esp + 0x18]
push ecx
push edx
push ebx
call esi
pop ebp
pop edi
pop esi
pop ebx
ret
mov dword [0x6000d098], eax
cmp eax, 1
jne 0x60008a9f
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x60008a1f
mov edi, dword [0x6000b8e0]
mov eax, dword [esp + 0x18]
push 0
mov ebx, dword [esp + 0x18]
push 0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebp, eax
test ebp, ebp
jne 0x60008a40
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
lea eax, [ebp*2]
push eax
call fcn.60006530
add esp, 4
mov esi, eax
test esi, esi
jne 0x60008a5d
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
push ebp
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x60008a94
mov eax, dword [esp + 0x20]
push 0
push 0
test eax, eax
jne 0x60008aa4
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x60008abf
push esi
call fcn.60004b10
add esp, 4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
ret
push eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push esi
push 0x220
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x60008a94
push esi
call fcn.60004b10
add esp, 4
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x100023eb
pop dword [ebp - 0x14]
mov eax, 0xd143bea1
sub eax, 0xc1439ab6
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xaa083e04
sub dword [ebp - 0x24], 0x5bb5f8b9
mov dword [ebp - 0x20], 0x8e661c2b
sub dword [ebp - 0x20], 0x5c32cfe6
mov dword [ebp - 0x1c], 0x5ed2ad8f
sub dword [ebp - 0x1c], 0x12866961
mov dword [ebp - 0x18], 0x95426a5e
add dword [ebp - 0x18], 0x6abd95a2
lea eax, [ebp - 0x24]
push eax
mov eax, 0xf3eb8151
sub eax, 0xe3eae14d
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x2a6c55d
sub dword [ebp - 0x24], 0x8e345c07
mov dword [ebp - 0x20], 0x4b055b2b
add dword [ebp - 0x20], 0xf667064a
mov dword [ebp - 0x1c], 0xb8b4370e
sub dword [ebp - 0x1c], 0x5544caa2
mov dword [ebp - 0x18], 0x6c0ed367
add dword [ebp - 0x18], 0x93f12c99
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3dec3
push 0
call eax
mov ecx, 0x2089a0d
sub ecx, 0x20834c6
mov edi, eax
mov edx, 0x1000f800
add edx, dword [ebp - 0x14]
mov esi, 0x3c55f7c9
add esi, 0x9e71a33d
mov dword [ebp - 8], 0x27bee792
mov ebx, dword [edx]
xor dword [ebp - 0xc], 0x3202144e
sub ebx, esi
sub dword [ebp - 0x10], 0x5e278169
mov dword [edi], ebx
add edi, 0x7134a6d1
add edi, 0x8ecb5933
add edx, 0xe2ba9bb6
sub edx, 0xe2ba9bb2
loop 0x10002502
add eax, 0xe90b40f1
sub eax, 0xe909b902
xor ebx, ebx
add ebx, eax
add eax, 0xf9ff6090
add eax, 0x6009f75
mov ecx, 0xd60865bf
sub ecx, 0xc60865bf
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x6d4888d9
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d49bb70]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [ebp + 0xa8]
push edi
xor edi, edi
push edi
push eax
push esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x70], edi
call fcn.6d48dc10
push eax
push esi
call fcn.6d488891
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x74], esi
cmp esi, edi
je 0x6d488976
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strchr]
pop ecx
pop ecx
test eax, eax
jne 0x6d48894d
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
push 0x104
push 0x6d494e94
push esi
push edi
jmp 0x6d488970
push 0x5c
push esi
call dword [sym.imp.msvcr100.dll_strrchr]
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push 0x104
mov byte [eax], 0
push 0x6d494e94
inc eax
push eax
push esi
call dword [sym.imp.kernel32.dll_SearchPathA]
lea eax, [ebp - 0x68]
push edi
push eax
call dword [sym.imp.msvcr100.dll__open]
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jle 0x6d4889f9
mov esi, dword [sym.imp.msvcr100.dll__read]
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
add esp, 0xc
cmp byte [ebp - 0x6c], 0x4d
jne 0x6d4889ee
cmp byte [ebp - 0x6b], 0x5a
jne 0x6d4889ee
push edi
mov edi, dword [sym.imp.msvcr100.dll__lseek]
push 0x3c
push ebx
call edi
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
movzx eax, byte [ebp - 0x6b]
movzx ecx, byte [ebp - 0x6c]
shl eax, 8
push 0
or eax, ecx
push eax
push ebx
call edi
push 2
lea eax, [ebp - 0x6c]
push eax
push ebx
call esi
add esp, 0x30
cmp byte [ebp - 0x6c], 0x50
jne 0x6d4889ee
cmp byte [ebp - 0x6b], 0x45
jne 0x6d4889ee
mov dword [ebp - 0x70], 8
push ebx
call dword [sym.imp.msvcr100.dll__close]
mov esi, dword [ebp - 0x74]
pop ecx
push esi
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov ecx, dword [ebp + 0x9c]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d491820
add ebp, 0xa0
leave
ret
Function at 0x6d48933b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
mov byte [ebp - 1], 0
je 0x6d4893cf
cmp dword [ebp + 0x14], 1
je 0x6d4893cf
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x6d489378
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d489381
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d4893c7
push edi
push ebx
push esi
call fcn.6d48dc10
mov edi, eax
test edi, edi
je 0x6d4893c7
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d4893bf
cmp byte [ebp + 0x18], 0
je 0x6d4893ac
and eax, 0xfffffffe
jmp 0x6d4893af
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d4893bf
mov byte [ebp - 1], 1
push edi
push ebx
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
jmp 0x6d4893d2
mov al, byte [ebp + 0x18]
leave
ret 0x18

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

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x6d489550
push ebx
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d4895c3
push esi
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d48dc10
mov esi, eax
cmp esi, ebx
je 0x6d4895c2
push edi
push esi
call sub.jvm.dll__JVM_NativePath_4
push 0x1b6
push 0x502
push esi
call sub.jvm.dll__JVM_Open_12
cmp eax, ebx
jge 0x6d4895ad
cmp eax, 0xffffff9c
je 0x6d4895b5
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d48959b
test al, 0x10
jne 0x6d4895b5
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push dword [ebp + 8]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x6d4895b5
push eax
call sub.jvm.dll__JVM_Close_4
mov bl, 1
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 0xc
Function at 0x6d4895ca
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 1], 0
cmp dword [ebp + 0x10], esi
je 0x6d4895f7
push dword [0x6d49bc9c]
mov eax, dword [edi]
push dword [ebp + 0x10]
push edi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, esi
jne 0x6d489600
push esi
push edi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489651
push esi
push ebx
push edi
call fcn.6d48dc10
mov esi, eax
test esi, esi
je 0x6d489651
push esi
call sub.jvm.dll__JVM_NativePath_4
push 0
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d489649
push esi
test al, 0x10
je 0x6d489636
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
jmp 0x6d48963c
call dword [sym.imp.kernel32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d489649
mov byte [ebp - 1], 1
push esi
push ebx
push edi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x6d4899d1
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov byte [ebp - 1], 0
cmp dword [ebp + 0x10], edi
je 0x6d4899fe
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov ebx, eax
cmp ebx, edi
jne 0x6d489a07
push edi
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489a42
push edi
push ebx
push esi
call fcn.6d48dc10
mov edi, eax
test edi, edi
je 0x6d489a42
push edi
call sub.jvm.dll__JVM_NativePath_4
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6d489a3a
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x6d489a3a
mov byte [ebp - 1], 1
push edi
push ebx
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x6d489abb
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 0x10], ebx
je 0x6d489ae9
push dword [0x6d49bc9c]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x17c]
mov dword [ebp + 8], eax
test eax, eax
jne 0x6d489af3
push 0
push esi
call sym.java.dll__JNU_ThrowNullPointerException_8
jmp 0x6d489b52
push 0
push eax
push esi
call fcn.6d48dc10
mov dword [ebp + 0x10], eax
test eax, eax
je 0x6d489b52
push eax
call sub.jvm.dll__JVM_NativePath_4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x6d489b46
mov eax, dword [ebp + 0x14]
sub eax, 0
je 0x6d489b40
dec eax
je 0x6d489b38
dec eax
jne 0x6d489b46
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
jmp 0x6d489b46
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
jmp 0x6d489b46
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push esi
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
leave
ret 0x10

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

Disassembly:
push esi
push dword [0x6d49bca0]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a267
xor al, al
jmp 0x6d48a298
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.6d48dc10
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x6d48a2a7
mov eax, dword [esp + 0x18]
dec eax
je 0x6d48a295
dec eax
je 0x6d48a29c
dec eax
dec eax
jne 0x6d48a2a7
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x6d48a297
test al, bl
je 0x6d48a297
xor al, al
jmp 0x6d48a297

Function at 0x6d48a2ab
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x6d48a34d
cmp dword [ebp + 0x14], 1
je 0x6d48a34d
push dword [0x6d49bca0]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.6d4853cb
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x6d48a2e6
xor al, al
jmp 0x6d48a350
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
mov ebx, dword [sym.imp.msvcr100.dll_free]
cmp eax, 0xffffffff
je 0x6d48a342
test eax, 0x400
je 0x6d48a31b
push edi
call fcn.6d489bba
pop ecx
mov dword [ebp + 0x14], eax
test eax, eax
je 0x6d48a342
push edi
call ebx
mov edi, dword [ebp + 0x14]
pop ecx
push edi
call esi
cmp eax, 0xffffffff
je 0x6d48a342
test al, 0x10
jne 0x6d48a342
cmp byte [ebp + 0x18], 0
je 0x6d48a32f
and eax, 0xfffffffe
jmp 0x6d48a332
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x6d48a342
mov byte [ebp - 1], 1
push edi
call ebx
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
jmp 0x6d48a350
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18
Function at 0x6d48a4a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor esi, esi
push esi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d48dc10
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x6d48a4c7
xor al, al
jmp 0x6d48a536
push esi
push 0x200080
push 1
push esi
push 3
push 0xc0000000
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x6d48a525
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 0x50
je 0x6d48a51b
cmp esi, 0xb7
je 0x6d48a51b
push edi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x6d48a51b
push esi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x6d48a4c3
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x6d48a53b
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x6d49bca0]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.6d4853cb
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x6d48a55f
xor al, al
jmp 0x6d48a59f
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x6d48a595
push esi
test al, 0x10
je 0x6d48a584
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x6d48a58a
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x6d48a595
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x6d48c007
Capabilities:
Delete registry key

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
push edi
push 0
push dword [esp + 0x20]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [esp + 0x1c]
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
push 0
push edi
push dword [esp + 0x24]
mov ebx, eax
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0x10

Function at 0x6d48c34e
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x6d48c389
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x6d48c389
xor al, al
jmp 0x6d48c3da
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x6d48c3bf
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x6d48dc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x6d48dc1f
pop dword [ebp - 0x28]
mov eax, 0x6d48dc1f
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x3355b73b
add dword [ebp - 0x38], 0x1afc8e10
mov dword [ebp - 0x34], 0x476101e4
sub dword [ebp - 0x34], 0x152db59f
mov dword [ebp - 0x30], 0x8ef297ee
add dword [ebp - 0x30], 0xbd59ac40
mov dword [ebp - 0x2c], 0xb965e243
add dword [ebp - 0x2c], 0x469a1dbd
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xbc803c74
add dword [ebp - 0x38], 0xb7f22ce2
mov dword [ebp - 0x34], 0xeb967602
sub dword [ebp - 0x34], 0xaa2a148d
mov dword [ebp - 0x30], 0x389b632a
add dword [ebp - 0x30], 0x2ad40942
mov dword [ebp - 0x2c], 0x292be6c5
sub dword [ebp - 0x2c], 0x292be6c5
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37a13
push 0
call eax
mov ecx, 0x484b
xor edx, edx
add edx, eax
mov esi, 0x6d49f400
add esi, dword [ebp - 0x28]
mov ebx, 0xe52bd77f
sub ebx, 0xf3cb3a08
mov dword [ebp - 4], 0x6cb52d8b
mov edi, dword [esi]
xor dword [ebp - 0x24], 0xe47cc69a
sub edi, ebx
mov dword [edx], edi
add edx, 0x9a69e6ed
sub edx, 0x9a69e6e9
add esi, 0x85ee8672
sub esi, 0x85ee866e
loop 0x6d48dd28
add eax, 0x4e8dc566
sub eax, 0x4e8cb167
mov ebx, eax
add eax, 0x25165b49
sub eax, 0x25165b44
mov ecx, 0x6d480000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x6d491820
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d49bb70]
jne 0x6d49182a
repz ret
jmp fcn.6d491dab
Function at 0x1000e5e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000e5f2
pop dword [ebp - 0x44]
mov eax, 0x1000e5f2
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xdfe45806
sub dword [ebp - 0x54], 0x919212bb
mov dword [ebp - 0x50], 0x22a7a231
sub dword [ebp - 0x50], 0xf07455ec
mov dword [ebp - 0x4c], 0x598579b0
sub dword [ebp - 0x4c], 0xd393582
mov dword [ebp - 0x48], 0xf4b50ad9
add dword [ebp - 0x48], 0xb4af527
lea eax, [ebp - 0x54]
push eax
mov eax, 0xa5d78716
add eax, 0x6a29a8ca
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xf814561e
add dword [ebp - 0x54], 0x7c5e1338
mov dword [ebp - 0x50], 0x9fac9c2f
add dword [ebp - 0x50], 0xa1bfc546
mov dword [ebp - 0x4c], 0xa5fb16ca
sub dword [ebp - 0x4c], 0x428baa5e
mov dword [ebp - 0x48], 0x7e63192c
add dword [ebp - 0x48], 0x819ce6d4
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x9d2fe583
add eax, 0x72d14a65
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3499c
push 0
call eax
mov ecx, 0x2ee78c77
add ecx, 0xd118b3af
mov esi, eax
mov edi, 0x49a0fba5
add edi, 0xc6608e5b
add edi, dword [ebp - 0x44]
mov edx, 0xde3f401c
sub dword [ebp - 0x20], 0x536fd15f
mov ebx, dword [edi]
sub ebx, edx
add dword [ebp - 0x2c], 0xeb36a861
mov dword [esi], ebx
xor dword [ebp - 0x20], ebx
add esi, 4
add edi, 0xc527ec36
add edi, 0x3ad813ce
loop 0x1000e709
add eax, 0xf36b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xa7ddc0eb
sub ecx, 0x97ddc0eb
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x404690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 0x814], 0
push 0x7fe
push eax
mov word [ebp - 0x804], ax
mov edi, edx
lea eax, [ebp - 0x802]
mov esi, ecx
push eax
call fcn.004d2860
add esp, 0xc
mov dword [ebp - 0x810], 0
cmp dword [edi + 0x14], 8
jb 0x4046e3
mov edi, dword [edi]
lea eax, [ebp - 0x810]
push eax
push edi
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40473e
mov dword [ebp - 0x808], eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x80c], 0x800
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x804], ax
jne 0x40475e
xor ecx, ecx
jmp 0x404776
lea ecx, [ebp - 0x804]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404767
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x804]
mov ecx, esi
push eax
call fcn.00403060
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004c8854
mov esp, ebp
pop ebp
ret
Function at 0x404c70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502961
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x5487a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [ebp - 0x134], 0x11c
call edi
test eax, eax
jne 0x404cd3
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0x114
push eax
call edi
cmp dword [ebp - 0x130], 6
jb 0x404dc0
cmp dword [ebp - 0x12c], 2
jb 0x404dc0
push str.run_by_amdin
push 0x137
push str.CAppModel::runPlayer
call fcn.0042d900
add esp, 0xc
lea edx, [ebx + 0x178]
lea ecx, [ebp - 0x14c]
push 0x52e0b8
call fcn.00406dd0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x404d2e
mov edx, dword [esi]
jmp 0x404d30
mov edx, esi
sub esp, 8
mov ecx, eax
call fcn.00424110
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x138], 8
mov edi, eax
jb 0x404d5d
push dword [ebp - 0x14c]
call fcn.00473ad0
add esp, 4
cmp edi, 0xffffffff
jne 0x404e05
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.run_by_amdin_error:__d
push 0x13b
push str.CAppModel::runPlayer
call fcn.0042d900
push 0x52e0b8
lea edx, [ebx + 0x178]
lea ecx, [ebp - 0x14c]
call fcn.00406dd0
add esp, 0x14
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 1
call fcn.00434900
add esp, 0x10
cmp dword [ebp - 0x138], 8
jb 0x404e05
push dword [ebp - 0x14c]
jmp 0x404dfd
push 0x52e0b8
lea edx, [ebx + 0x178]
lea ecx, [ebp - 0x164]
call fcn.00406dd0
add esp, 4
push 0
push 1
push esi
push eax
mov dword [ebp - 4], 2
call fcn.00434900
add esp, 0x10
cmp dword [ebp - 0x150], 8
jb 0x404e05
push dword [ebp - 0x164]
call fcn.00473ad0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c8854
mov esp, ebp
pop ebp
ret 4