joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100245d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004b580]
jne 0x100245df
repz ret
jmp fcn.1002845c

Function at 0x1002bb1e
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1004be80]
je 0x1002bb39
inc edi
cmp edi, 0x17
jb 0x1002bb2a
cmp edi, 0x17
jae 0x1002bcb9
push ebp
push 3
call fcn.1003aa4f
cmp eax, 1
pop ecx
je 0x1002bc85
push 3
call fcn.1003aa4f
test eax, eax
pop ecx
jne 0x1002bb6d
cmp dword [0x1004ca04], 1
je 0x1002bc85
cmp ebx, 0xfc
je 0x1002bcb8
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1004cf38
push ebp
call fcn.1002668e
add esp, 0xc
test eax, eax
je 0x1002bba3
push esi
push esi
push esi
push esi
push esi
call fcn.10024884
add esp, 0x14
push 0x104
mov esi, 0x1004cf51
push esi
push 0
mov byte [0x1004d055], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1002bbe7
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1002668e
add esp, 0xc
test eax, eax
je 0x1002bbe7
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10024884
add esp, 0x14
push esi
call fcn.100263f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1002bc2c
push esi
call fcn.100263f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1004d24c
push 0x10045924
sub ecx, eax
push ecx
push eax
call fcn.100370e6
add esp, 0x14
test eax, eax
je 0x1002bc2c
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10024884
add esp, 0x14
jmp 0x1002bc2e
xor esi, esi
push 0x10045920
push ebx
push ebp
call fcn.1003702f
add esp, 0xc
test eax, eax
je 0x1002bc4e
push esi
push esi
push esi
push esi
push esi
call fcn.10024884
add esp, 0x14
push dword [edi*8 + 0x1004be84]
push ebx
push ebp
call fcn.1003702f
add esp, 0xc
test eax, eax
je 0x1002bc70
push esi
push esi
push esi
push esi
push esi
call fcn.10024884
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1003a892
add esp, 0xc
jmp 0x1002bcb8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1002bcb8
cmp ebp, 0xffffffff
je 0x1002bcb8
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1004be84]
push dword [esi]
call fcn.100263f0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1003a892
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10027dee
xor ebx, ebx
cmp dword [0x1004d3d0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1003a968
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1003aa48
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1003aa48
push eax
call fcn.10027d80
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1004d3d0], eax
call esi
push eax
call fcn.10027d80
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1004d3d4], eax
call esi
push eax
call fcn.10027d80
mov dword [0x1004d3d8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002881c
test eax, eax
pop ecx
pop ecx
je 0x1003a936
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10024884
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1003a968
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10027d80
cmp eax, ebx
pop ecx
mov dword [0x1004d3e0], eax
je 0x1003a968
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10027d80
pop ecx
mov dword [0x1004d3dc], eax
mov eax, dword [0x1004d3dc]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1003a9ed
cmp dword [0x1004d3e0], ecx
je 0x1003a9ed
push eax
call fcn.10027df7
push dword [0x1004d3e0]
mov esi, eax
call fcn.10027df7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1003a9ed
cmp edi, ebx
je 0x1003a9ed
call esi
cmp eax, ebx
je 0x1003a9ba
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1003a9ba
test byte [ebp - 0x18], 1
jne 0x1003a9ed
lea eax, [ebp - 0x10]
push eax
call fcn.100288cb
test eax, eax
pop ecx
je 0x1003a9d5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10024884
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1003a9e4
or dword [ebp + 0x10], 0x200000
jmp 0x1003aa28
or dword [ebp + 0x10], 0x40000
jmp 0x1003aa28
mov eax, dword [0x1004d3d4]
cmp eax, dword [ebp - 8]
je 0x1003aa28
push eax
call fcn.10027df7
cmp eax, ebx
pop ecx
je 0x1003aa28
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1003aa28
mov eax, dword [0x1004d3d8]
cmp eax, dword [ebp - 8]
je 0x1003aa28
push eax
call fcn.10027df7
cmp eax, ebx
pop ecx
je 0x1003aa28
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004d3d0]
call fcn.10027df7
cmp eax, ebx
pop ecx
je 0x1003aa48
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1003aa4a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420826
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x440480]
jne 0x420830
repz ret
jmp fcn.004253b1

Function at 0x432a11
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x440480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00426493
and dword [ebp - 0x14], 0
cmp dword [0x44395c], 0
mov dword [ebp - 0x18], eax
jne 0x432ac4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x432b6c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x432b6c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44395c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x443960], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x443964], eax
call edi
push eax
call esi
mov dword [0x44396c], eax
test eax, eax
je 0x432ac4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x443968], eax
mov eax, dword [0x443968]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x432b1d
cmp dword [0x44396c], ecx
je 0x432b1d
push eax
call esi
push dword [0x44396c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x432b1d
test ebx, ebx
je 0x432b1d
call edi
test eax, eax
je 0x432b14
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x432b14
test byte [ebp - 8], 1
jne 0x432b1d
or dword [ebp + 0x10], 0x200000
jmp 0x432b50
mov eax, dword [0x443960]
cmp eax, dword [ebp - 0x18]
je 0x432b50
push eax
call esi
test eax, eax
je 0x432b50
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x432b50
mov eax, dword [0x443964]
cmp eax, dword [ebp - 0x18]
je 0x432b50
push eax
call esi
test eax, eax
je 0x432b50
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44395c]
call esi
test eax, eax
je 0x432b6c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x432b6e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420826
leave
ret

Function at 0x4d31fd
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, 0x4d327b
sub eax, entry0
add eax, dword [0x4d327c]
mov dword [entry0], 0xe9
mov dword [0x4d31fe], eax
push 0x4d30c9
push 0x4d30bb
push 0x4d3009
push sym.imp.KERNEL32.dll_GetModuleHandleA
mov al, byte [0x4d3021]
cmp al, 1
je 0x4d3244
mov eax, 0
jmp 0x4d3247
mov eax, dword [ebp + 8]
push eax
call fcn.004d3280
add esp, 0x14
cmp eax, 0
je 0x4d3271
mov dword [entry0], 0xc2
mov dword [0x4d31fe], 0xc
push eax
mov eax, dword [sym.imp.KERNEL32.dll_ExitProcess]
call eax
popal
pop ebp
jmp 0x4d327b
jmp 0x4aa2fc
Function at 0x40634c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004067fc
mov byte [esp], al
cmp byte [esp], 0
jne 0x4064d5
test edi, edi
je 0x4064d5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406415
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4063f0
cmp edi, 0xffffffff
je 0x4063b1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4063b1
mov byte [esp], 0
jmp 0x4064d5
cmp dword [esi], 1
jg 0x4063f0
cmp dword [esi], 0
jne 0x4063e2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4063e2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4064d5
lea eax, [esp + 0xc]
call fcn.00405ffc
dec ebp
test ebp, ebp
jg 0x406396
cmp edi, 0xffffffff
je 0x406415
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406413
mov byte [esp], 0
jmp 0x4064d5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40635a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406415
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00406550
mov edx, eax
mov ebx, dword [0x40d8e0]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406479
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406477
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406479
xor edi, edi
cmp byte [esp], 0
je 0x40649f
mov ebx, dword [esi]
test bl, 1
jne 0x4064b5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40647f
mov byte [esp + 1], 1
jmp 0x4064b5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40649f
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40642c
cmp byte [esp], 0
je 0x4064d5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x407018
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40d040], 0
je 0x40707f
cmp word [0x40d32c], 0xd7b2
jne 0x407041
cmp dword [0x40d334], 0
jbe 0x407041
mov eax, 0x40d328
call dword [0x40d344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x4070ac
call fcn.0040770c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x40c01a], 0
jne 0x40709b
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409acc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1002aaee
pop dword [ebp - 0x14]
mov eax, 0x1002aaee
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x25919c85
sub dword [ebp - 0x24], 0xd73f573a
mov dword [ebp - 0x20], 0x1dbcffb7
sub dword [ebp - 0x20], 0xeb89b372
mov dword [ebp - 0x1c], 0xeda6744a
add dword [ebp - 0x1c], 0x5ea5cfe4
mov dword [ebp - 0x18], 0x7184b7b2
sub dword [ebp - 0x18], 0x7184b7b2
lea eax, [ebp - 0x24]
push eax
mov eax, 0xce249373
sub eax, 0xbe21d33b
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x12607741
add dword [ebp - 0x24], 0x6211f215
mov dword [ebp - 0x20], 0xab2f35b9
sub dword [ebp - 0x20], 0x69c2d444
mov dword [ebp - 0x1c], 0xc7f965e9
sub dword [ebp - 0x1c], 0x6489f97d
mov dword [ebp - 0x18], 0x4e3b3f41
sub dword [ebp - 0x18], 0x4e3b3f41
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xc6120d20
add eax, 0x49f0b308
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3aaec
push 0
call eax
mov ecx, 0x4af3fd41
sub ecx, 0x4af3a465
xor edi, edi
add edi, eax
mov edx, 0x936fb51e
sub edx, 0x836c1f1e
add edx, dword [ebp - 0x14]
mov esi, 0xf899464a
sub esi, 0x4cf2149a
xor dword [ebp - 8], 0x443bc317
mov ebx, dword [edx]
mov dword [ebp - 8], 0xc2612498
add ebx, esi
mov dword [edi], ebx
sub dword [ebp - 4], 0x7b7df492
add edi, 0x29918d14
sub edi, 0x29918d10
add edx, 0x5428f02f
add edx, 0xabd70fd5
loop 0x1002ac0d
add eax, 0x15643
mov ebx, eax
add eax, 0xb9e05fef
add eax, 0x461fa016
mov ecx, 0x614dcd7d
add ecx, 0xaeb23283
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x6d6420d8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
add eax, eax
mov dword [ecx], eax
push esi
mov esi, dword [esp + 8]
shl eax, 2
push eax
push dword [esi]
call dword [sym.imp.MSVCR100.dll_realloc]
pop ecx
pop ecx
test eax, eax
jne 0x6d64210d
push 0x6d64c1e0
call dword [sym.imp.MSVCR100.dll_perror]
pop ecx
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov dword [esi], eax
pop esi
ret 8

Function at 0x6d6428bd
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x17e8]
mov eax, 0x1868
call fcn.6d649990
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0x17e4], eax
push esi
lea eax, [ebp + 0xc8]
mov esi, ecx
push eax
mov dword [ebp - 0x80], esi
call fcn.6d649c2d
pop ecx
test al, al
jne 0x6d642902
lea eax, [ebp + 0xc8]
push eax
lea ecx, [esi + 0x20]
call fcn.6d64467c
lea eax, [ebp + 0xc8]
push 0x6d64bea0
push eax
call dword [sym.imp.MSVCR100.dll_strstr]
pop ecx
pop ecx
test eax, eax
jne 0x6d642a73
push ebx
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x12d0]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp + 0x12d0]
push eax
lea eax, [ebp + 0x14d8]
push str._sSunJavaDeploymentLibTrusted
push eax
call esi
mov ebx, dword [sym.imp.kernel32.dll_FindFirstFileA]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x14d8]
push eax
call ebx
mov dword [ebp - 0x7c], eax
push edi
lea eax, [ebp + 0x13d4]
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x13d4]
push 0x5c
push eax
call dword [sym.imp.MSVCR100.dll_strrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d64298f
mov byte [eax], 0
lea eax, [ebp + 0x13d4]
push eax
lea eax, [ebp + 0x15dc]
push str._sjss
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x15dc]
push eax
call ebx
or ebx, 0xffffffff
mov edi, eax
cmp dword [ebp - 0x7c], ebx
jne 0x6d6429c6
cmp edi, ebx
je 0x6d642a71
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x16e0]
push eax
call fcn.6d649c2d
cmp dword [ebp - 0x7c], ebx
je 0x6d642a38
cmp edi, ebx
je 0x6d642a14
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s__s
push eax
call esi
mov esi, dword [sym.imp.kernel32.dll_FindClose]
add esp, 0x14
push dword [ebp - 0x7c]
call esi
push edi
call esi
jmp 0x6d642a62
lea eax, [ebp + 0x14d8]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push 0x6d64bf04
push eax
call esi
add esp, 0x10
push dword [ebp - 0x7c]
jmp 0x6d642a5c
cmp edi, ebx
je 0x6d642a62
lea eax, [ebp + 0x15dc]
push eax
lea eax, [ebp + 0x16e0]
push eax
lea eax, [ebp + 0x10c8]
push str._Djava.ext.dirs_slibext__s
push eax
call esi
add esp, 0x10
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x10c8]
push eax
call fcn.6d642113
pop edi
pop ebx
mov ecx, dword [ebp + 0x17e4]
xor ecx, ebp
pop esi
call fcn.6d649821
add ebp, 0x17e8
leave
ret
Function at 0x6d645bc0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d651910]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d649c2d
mov ebx, eax
cmp ebx, esi
je 0x6d645c33
lea ecx, [ebp - 0x74]
call fcn.6d6454cf
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d649821
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d645c4b
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d645bc0
cmp eax, esi
jne 0x6d645c7d
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d645c3b
lea ecx, [ebp - 0x74]
call fcn.6d6454cf
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d645460
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d6454cf
mov eax, esi
jmp 0x6d645c19
Function at 0x6d64828f
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
je 0x6d6482b2
push 0x104
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6d6482b2
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x6d6489a2
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x6d64ac61
call fcn.6d64987b
mov eax, dword [ebp + 8]
push 0x104
push eax
xor edi, edi
push edi
push edi
xor ecx, ecx
push 0x6d64d7e8
mov word [eax], cx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x6d648a16
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.6d6494e6
pop ecx
pop ecx
push edi
push esi
call fcn.6d649c2d
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.6d649254
push eax
push esi
push 0x6d64d4ac
call fcn.6d6494e6
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x6d648a0f
ret
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d648ac7
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d648a73
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x6d6489da
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d648ac7
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d648ac7
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x6d6489da
mov eax, esi
call fcn.6d6498e7
ret

Function at 0x6d649821
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d651910]
jne 0x6d64982b
repz ret
jmp fcn.6d649f78
Function at 0x6d649c2d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6d649c3c
pop dword [ebp - 0x18]
mov eax, 0x6d649c3c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xf7f68d1b
add dword [ebp - 0x28], 0x565bb830
mov dword [ebp - 0x24], 0xb0236f36
sub dword [ebp - 0x24], 0x7df022f1
mov dword [ebp - 0x20], 0x4e0baaea
add dword [ebp - 0x20], 0xfe409944
mov dword [ebp - 0x1c], 0xe7709ee4
sub dword [ebp - 0x1c], 0xe7709ee4
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x82e40958
sub dword [ebp - 0x28], 0xe71a002
mov dword [ebp - 0x24], 0x53b83a88
add dword [ebp - 0x24], 0xedb426ed
mov dword [ebp - 0x20], 0x1b5a34b3
add dword [ebp - 0x20], 0x481537b9
mov dword [ebp - 0x1c], 0xd8d5d7f0
sub dword [ebp - 0x1c], 0xd8d5d7f0
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x357a7
push 0
call eax
mov ecx, 0x838b4dca
sub ecx, 0x838b0cb4
mov esi, eax
mov edi, 0xd5f98bda
add edi, 0x976cda26
add edi, dword [ebp - 0x18]
mov ebx, 0x8d9bd40d
add ebx, 0x16d5b764
xor dword [ebp - 0x14], 0x95c8e401
mov edx, dword [edi]
add dword [ebp - 0x10], 0x4a166e76
add edx, ebx
sub dword [ebp - 0xc], ecx
mov dword [esi], edx
xor dword [ebp - 0x10], eax
add esi, 0xd1ddaec5
sub esi, 0xd1ddaec1
add edi, 0x7187a775
sub edi, 0x7187a771
loop 0x6d649d4f
add eax, 0x864342cf
add eax, 0x79bdb45c
mov ebx, eax
add eax, 5
mov ecx, 0x578e14de
sub ecx, 0xea2a14de
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x100094d7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov esi, eax
pop ecx
test esi, esi
je 0x1000952a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push 0xa
and dword [eax], 0
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
mov esi, eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0
jne 0x10009521
mov ecx, dword [ebp - 4]
cmp byte [ecx], 0
jne 0x10009521
mov eax, esi
jmp 0x1000952d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
and dword [eax], 0
mov eax, dword [ebp + 0xc]
pop esi
leave
ret

Function at 0x1000a1a9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000a1b8
pop dword [ebp - 0x38]
mov eax, 0xfd763e1
add eax, 0x293dd7
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x222dff5c
sub dword [ebp - 0x48], 0xd3dbba11
mov dword [ebp - 0x44], 0xbec76147
sub dword [ebp - 0x44], 0x8c941502
mov dword [ebp - 0x40], 0xc1d01c4
sub dword [ebp - 0x40], 0xbfd0bd96
mov dword [ebp - 0x3c], 0xba061084
sub dword [ebp - 0x3c], 0xba061084
lea eax, [ebp - 0x48]
push eax
mov eax, 0xcde8e3f8
sub eax, 0xbde743f0
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x6afc78b9
add dword [ebp - 0x48], 0x975f09d
mov dword [ebp - 0x44], 0xbc625942
add dword [ebp - 0x44], 0x850a0833
mov dword [ebp - 0x40], 0x89dcb19f
add dword [ebp - 0x40], 0xd992bacd
mov dword [ebp - 0x3c], 0xe5725f3a
add dword [ebp - 0x3c], 0x1a8da0c6
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x496c2c8a
add eax, 0xc6957382
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3815f
push 0
call eax
mov ecx, 0x2faee708
add ecx, 0xd0515834
mov esi, eax
mov edx, 0x10024a00
add edx, dword [ebp - 0x38]
mov edi, 0x6d148bdd
add edi, 0xe2590514
add dword [ebp - 0x24], 0xd6aec998
mov ebx, dword [edx]
xor ebx, edi
add dword [ebp - 0x18], edi
mov dword [esi], ebx
sub dword [ebp - 0x2c], 0xea708b5e
add esi, 4
add edx, 0x40707330
add edx, 0xbf8f8cd4
loop 0x1000a2d4
add eax, 0xefc3
xor ebx, ebx
add ebx, eax
add eax, 0x2ff1626d
add eax, 0xd00e9d98
mov ecx, 0x1a4e373c
add ecx, 0xf5b1c8c4
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x415d1e
Capabilities:
Encode data using xor

Disassembly:
push edi
xor eax, 0xf32e82e8
loop 0x415cc6
xchg edi, eax
invalid
ret
je 0x415d09
xor eax, 0x3ddbbb57
and eax, 0x9324327
xchg edi, eax
jl 0x415cc6
sbb esi, dword [edi + edx*4]
invalid

Function at 0x4218cc
Capabilities:
Encode data using xor

Disassembly:
retf 0x7408
std
jle 0x421908
fnstsw word [ebx + 0x17808d3d]
cmpsb byte [esi], byte es:[edi]
jecxz 0x42189a
push es
pop edx
adc eax, 0xf86b6cc0
add dword [edi + 0x43], edi
dec ecx
pop es
push esi
pop edi
or eax, dword [eax]
xor eax, 0x8412efe
or dl, byte [ebx - 0x26f30285]
rol byte [ebx], cl
and al, byte [eax + 0x609cf291]
push ebp
cmpsd dword [esi], dword es:[edi]
sbb byte [esi - 0x27c5c38b], 0xa7
jb 0x4218e7
test byte [ebx + 0x2e], bh
jnp 0x421938
fsub dword [esi + ebp*8 + 0x32]
sldt word [eax - 0x5c7882e0]
and al, 0x21
xchg ebx, eax
add al, 0xfd
into
js 0x42193e
dec edx
add al, 0x8e
les esi, [ebx + 0x349fc627]
adc ebp, edi
in eax, 0x65
jmp 0x2b93d407
invalid
push ecx
invalid
in al, dx