joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c7120
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x60d26b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
push 0x88c4dc
call fcn.005b9220
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x11c], 0
push eax
mov ecx, ebp
call fcn.005c6c20
lea eax, [esp + 0xc]
push 0x6b1cac
push eax
call fcn.005dcabb
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x5c7194
lea eax, [esp + 0xc]
push eax
push str.r3dFS:_there_is_no_volume_file__s_n
call fcn.005b6df0
add esp, 8
xor bl, bl
jmp 0x5c71f1
push esi
push edi
push 2
push 0
push ebx
call fcn.005e2040
push ebx
call fcn.005e2469
push 0
push 0
push ebx
mov edi, eax
call fcn.005e2040
lea ecx, [edi + 1]
push 1
push ecx
call fcn.005b9060
push ebx
push 1
mov esi, eax
push edi
push esi
call fcn.005e26e6
push ebx
call fcn.005dc495
add esp, 0x38
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x104]
push eax
push edi
push esi
call fcn.005c6290
push esi
mov bl, al
call fcn.005b9080
add esp, 4
pop edi
pop esi
lea ecx, [esp + 8]
mov dword [esp + 0x118], 0xffffffff
call fcn.0055e0d0
mov ecx, dword [esp + 0x110]
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret

Function at 0x5c7550
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [ebx + 0x10e]
mov ebp, ecx
add edi, 4
mov dword [esp + 0x14], ebp
push 1
lea eax, [edi + 1]
push eax
call fcn.005b9060
movzx ecx, byte [ebx + 0x105]
add esp, 8
mov esi, eax
mov ebp, dword [ebp + ecx*4 + 0x338]
cmp ebp, 0xffffffff
jne 0x5c75a6
push 0
push 0x31e
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005b72c0
add esp, 0x10
push 0
push 0
push dword [ebx + 0x106]
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x1c], edi
je 0x5c75fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_read_failed__d_n
call fcn.005b6df0
push esi
call fcn.005b9080
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x14]
mov dword [ebx + 0x106], eax
movzx eax, cl
mov byte [ebx + 0x105], cl
mov ebp, dword [ebp + eax*4 + 0x338]
cmp ebp, 0xffffffff
jne 0x5c763b
push 0
push 0x32f
push str.SourceFileSystem_r3dFileSystem.cpp
push str.h___INVALID_HANDLE_VALUE
call fcn.005b72c0
add esp, 0x10
push 0
push 0
push dword [ebx + 0x106]
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], edi
je 0x5c767b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RelocateFile_write_failed__d_n
jmp 0x5c75e1
push esi
call fcn.005b9080
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x5c80e0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x60d26b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x18]
push 0x88c4dc
call fcn.005b9220
mov esi, dword [esp + 0x130]
mov dword [esp + 0x128], 0
cmp byte [esi], 0
je 0x5c8153
cmp byte [esi + 0x104], 0
je 0x5c8153
cmp byte [esi + 0x105], 0xff
je 0x5c8153
cmp dword [esi + 0x106], 0xffffffff
je 0x5c8153
cmp dword [esi + 0x10a], 0xffffffff
je 0x5c8153
cmp dword [esi + 0x10e], 0xffffffff
jne 0x5c816c
push 0
push 0x1b8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.IsValid__
call fcn.005b72c0
add esp, 0x10
mov ebx, dword [esp + 0x138]
cmp dword [esi + 0x10e], ebx
je 0x5c8194
push 0
push 0x1b9
push str.SourceFileSystem_r3dFileSystem.cpp
push str.fe.csize__csize
call fcn.005b72c0
add esp, 0x10
movzx eax, byte [esi + 0x105]
mov edi, dword [ebp + eax*4 + 0x338]
cmp edi, 0xffffffff
jne 0x5c8207
inc eax
mov ecx, ebp
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005c6c20
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x5c81f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x20]
push eax
push str.cant_open__s_for_writing___d_n
call fcn.005b6a10
add esp, 0xc
xor bl, bl
jmp 0x5c829f
movzx eax, byte [esi + 0x105]
mov dword [ebp + eax*4 + 0x338], edi
push 0
push 0
push dword [esi + 0x106]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, dword [esi + 0x106]
je 0x5c8236
call ebp
push eax
push str.SetFilePointer_failed__d
call fcn.005b6a10
add esp, 8
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x64667261
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x5c826f
call ebp
push eax
push str.WriteFile_failed__d
call fcn.005b6a10
add esp, 8
push 0
lea eax, [esp + 0x14]
push eax
push ebx
push dword [esp + 0x140]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x5c829d
push ebx
push eax
push esi
push str.failed_to_write__s__d_vs__d_n
call fcn.005b6a10
add esp, 0x10
mov bl, 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.0055e0d0
mov ecx, dword [esp + 0x120]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 0xc
Function at 0x5c82d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x60d358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea ecx, [esp + 0x24]
push 0x88c4dc
call fcn.005b9220
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x48], 0
test eax, eax
jne 0x5c8329
push eax
push 0xf8
push str.SourceFileSystem_r3dFileSystem.cpp
push str.IsValid__
call fcn.005b72c0
add esp, 0x10
mov ebp, dword [esp + 0x50]
test ebp, ebp
jne 0x5c8349
push ebp
push 0xf9
push str.SourceFileSystem_r3dFileSystem.cpp
push 0x691378
call fcn.005b72c0
add esp, 0x10
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
imul edi, eax, 0x128
push 1
mov dword [esp + 0x2c], 0x6c667261
mov dword [esp + 0x30], 1
mov dword [esp + 0x24], edi
lea eax, [edi + 1]
push eax
call fcn.005b9060
mov ecx, dword [ebx + 8]
add esp, 8
sub ecx, dword [ebx + 4]
mov esi, eax
sar ecx, 2
xor edx, edx
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5c83c0
mov ebp, esi
mov esi, dword [ebx + 4]
mov edi, ebp
mov ecx, 0x4a
add ebp, 0x128
mov esi, dword [esi + edx*4]
inc edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
cmp edx, eax
jb 0x5c8391
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x13]
call fcn.005b7bc0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
push esi
lea ecx, [esp + 0x23]
call fcn.005b7bd0
test eax, eax
jne 0x5c83ef
push str.failed_to_compres_file_list_n
call fcn.005b6a10
add esp, 4
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
push edi
push esi
mov dword [esp + 0x40], eax
call fcn.005b7ef0
push ebp
push 8
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
push 1
push eax
call fcn.005ddcd3
push ebp
push 0x10
lea eax, [esp + 0x50]
push 1
push eax
call fcn.005ddcd3
push ebp
push 1
push dword [esp + 0x44]
push dword [esp + 0x4c]
call fcn.005ddcd3
push esi
call fcn.005b9080
push dword [esp + 0x54]
call fcn.005b9080
add esp, 0x40
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.0055e0d0
mov ecx, dword [esp + 0x40]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x5d0d00
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x224
push esi
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x5d0d21
xor eax, eax
pop esi
add esp, 0x224
ret
push edi
lea eax, [esp + 8]
mov dword [esp + 8], 0x224
push eax
push esi
xor edi, edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x5d0d7b
jmp 0x5d0d40
lea eax, [esp + 0x28]
push str..exe
push eax
call fcn.005cf320
add esp, 8
test eax, eax
jne 0x5d0d77
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x5d0d40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret
mov edi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x224
ret

Function at 0x5d3600
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
push edi
test ecx, ecx
je 0x5d4c27
mov edi, dword [ecx + 0x1c]
mov dword [esp + 0x14], edi
test edi, edi
je 0x5d4c27
cmp dword [ecx + 0xc], 0
je 0x5d4c27
cmp dword [ecx], 0
jne 0x5d3638
cmp dword [ecx + 4], 0
jne 0x5d4c27
cmp dword [edi], 0xb
jne 0x5d3643
mov dword [edi], 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [edi + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
xor eax, eax
push ebp
mov ebp, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x38], ebp
push esi
mov esi, dword [edi + 0x3c]
cmp eax, 0x1e
ja 0x5d3fa8
lea ebx, [edi + 0x54]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x14]
jmp 0x5d3690
jmp dword [eax*4 + 0x5d4c34]
pop esi
pop ebp
pop ebx
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret
mov eax, 0xfffffffe
pop edi
add esp, 0x34
ret

Function at 0x5d5780
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5d57b4
mov al, byte [ecx]
test al, al
je 0x5d57b4
mov edx, 0x811c9dc5
movsx eax, al
lea ecx, [ecx + 1]
or eax, 0x20
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx]
test al, al
jne 0x5d5793
xor edx, 0x2a
imul eax, edx, 0x1000193
ret
xor eax, eax
ret
Function at 0x5f00b0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005e8e32
mov dword [ebp - 0x14], eax
cmp dword [0x8a844c], esi
jne 0x5f01a3
push 0x800
push esi
push 0x6a0458
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5f0130
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5f0283
push esi
push esi
push 0x6a0458
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5f0283
push 0x6a0470
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5f0283
push eax
call ebx
push 0x6a047c
push edi
mov dword [0x8a844c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6a048c
push edi
mov dword [0x8a8450], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6a04a0
push edi
mov dword [0x8a8454], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8a845c], eax
test eax, eax
je 0x5f01a0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8a8458], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5f01c8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5f01bb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x14], esi
je 0x5f01dd
push 4
pop eax
jmp 0x5f0285
cmp dword [ebp - 0x14], esi
je 0x5f01dd
push dword [0x8a844c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5f01c2
mov eax, dword [0x8a8458]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5f023b
cmp dword [0x8a845c], edi
je 0x5f023b
push eax
call ebx
push dword [0x8a845c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5f023b
test eax, eax
je 0x5f023b
call ecx
test eax, eax
je 0x5f0230
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5f0230
test byte [ebp - 8], 1
jne 0x5f023b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5f026b
mov eax, dword [0x8a8450]
cmp eax, edi
je 0x5f0268
push eax
call ebx
test eax, eax
je 0x5f0268
call eax
mov esi, eax
test esi, esi
je 0x5f0268
mov eax, dword [0x8a8454]
cmp eax, edi
je 0x5f0268
push eax
call ebx
test eax, eax
je 0x5f0268
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8a844c]
call ebx
test eax, eax
je 0x5f0283
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5f0285
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dbda3
mov esp, ebp
pop ebp
ret
Function at 0x5f5516
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6e8da0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005e8e32
mov dword [ebp - 0x14], eax
cmp dword [0x8a84bc], esi
jne 0x5f5609
push 0x800
push esi
push 0x6a0458
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5f5596
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5f56e9
push esi
push esi
push 0x6a0458
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5f56e9
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5f56e9
push eax
call ebx
push 0x6a047c
push edi
mov dword [0x8a84bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x6a048c
push edi
mov dword [0x8a84c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x8a84c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8a84cc], eax
test eax, eax
je 0x5f5606
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x8a84c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5f562e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5f5621
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5f5643
push 4
pop eax
jmp 0x5f56eb
cmp dword [ebp - 0x14], esi
je 0x5f5643
push dword [0x8a84bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5f5628
mov eax, dword [0x8a84c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5f56a1
cmp dword [0x8a84cc], edi
je 0x5f56a1
push eax
call ebx
push dword [0x8a84cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5f56a1
test eax, eax
je 0x5f56a1
call ecx
test eax, eax
je 0x5f5696
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5f5696
test byte [ebp - 8], 1
jne 0x5f56a1
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5f56d1
mov eax, dword [0x8a84c0]
cmp eax, edi
je 0x5f56ce
push eax
call ebx
test eax, eax
je 0x5f56ce
call eax
mov esi, eax
test esi, esi
je 0x5f56ce
mov eax, dword [0x8a84c4]
cmp eax, edi
je 0x5f56ce
push eax
call ebx
test eax, eax
je 0x5f56ce
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x8a84bc]
call ebx
test eax, eax
je 0x5f56e9
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5f56eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dbda3
mov esp, ebp
pop ebp
ret
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x612d6247
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..7LWLf
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x550f3eab
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10001240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000125b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001292
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000128e
jmp 0x10001280
cmp esi, eax
jae 0x10001292
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001280
cmp esi, eax
jb 0x10001299
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100030b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10019154]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push str.Shell32.dll
mov dword [ebp - 0x210], eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10003134
push str.SHGetKnownFolderPath
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003129
lea ecx, [ebp - 0x214]
push ecx
push edi
push edi
push ebx
call eax
test eax, eax
jne 0x10003129
mov edx, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x210]
push edx
call fcn.10003060
mov eax, dword [ebp - 0x214]
push eax
mov edi, 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x10003198
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x10003198
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
jmp 0x10003160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10003160
mov ecx, dword [ebp - 0x210]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.100029a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10007107
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007107
mov esp, ebp
pop ebp
ret
Function at 0x100045a0
Capabilities:
Hash data with md5

Disassembly:
push esi
push 0x5c
lea esi, [ecx + 4]
push 0
push esi
call fcn.10006540
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
xor eax, eax
pop esi
ret
Function at 0x10006490
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x70
push 0
push ebx
mov dword [ebp - 0x20], 0x6a09e667
mov dword [ebp - 0x1c], 0xbb67ae85
mov dword [ebp - 0x18], 0x3c6ef372
mov dword [ebp - 0x14], 0xa54ff53a
mov dword [ebp - 0x10], 0x510e527f
mov dword [ebp - 0xc], 0x9b05688c
mov dword [ebp - 8], 0x1f83d9ab
mov dword [ebp - 4], 0x5be0cd19
call fcn.10007130
add esp, 0xc
mov edi, ebx
mov ecx, 8
lea esi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov byte [ebx + 0x6c], 0x20
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007107
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019154]
jne 0x10007111
repz ret
jmp fcn.1000af5f

Function at 0x1000eaa1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10019154]
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.1000b95c
and dword [ebp - 0x14], 0
cmp dword [0x1001ae40], 0
mov dword [ebp - 0x18], eax
jne 0x1000eb54
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000ebfc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000ebfc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001ae40], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001ae44], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001ae48], eax
call edi
push eax
call esi
mov dword [0x1001ae50], eax
test eax, eax
je 0x1000eb54
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001ae4c], eax
mov eax, dword [0x1001ae4c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000ebad
cmp dword [0x1001ae50], ecx
je 0x1000ebad
push eax
call esi
push dword [0x1001ae50]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000ebad
test ebx, ebx
je 0x1000ebad
call edi
test eax, eax
je 0x1000eba4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000eba4
test byte [ebp - 8], 1
jne 0x1000ebad
or dword [ebp + 0x10], 0x200000
jmp 0x1000ebe0
mov eax, dword [0x1001ae44]
cmp eax, dword [ebp - 0x18]
je 0x1000ebe0
push eax
call esi
test eax, eax
je 0x1000ebe0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000ebe0
mov eax, dword [0x1001ae48]
cmp eax, dword [ebp - 0x18]
je 0x1000ebe0
push eax
call esi
test eax, eax
je 0x1000ebe0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001ae40]
call esi
test eax, eax
je 0x1000ebfc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000ebfe
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007107
leave
ret