joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f581
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002f5ca
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002f5b1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x1002f5c8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1002f5e7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
push 0x2acb
push 1
push 0x692b
call fcn.1002a950
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1002f7af
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002f82e
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002f826
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002f807
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002f824
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10009f14
mov dword [eax], 2
jmp 0x1002f7fc
jmp 0x1002f82c
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1002f854
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x7a3b
push 0
push 0x15bd
call fcn.1002864b
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x1003819f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10038254
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10038229
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10038227
push 0x4e63
push 0x4717
push 1
push 1
push 0x556a
push 0x29a7
push 0x4b5d
push 0x2ae4
push 0x37c
push 0x4e28
push 0x66fc
push 0x6406
call fcn.10036107
add esp, 0x30
jmp 0x10038252
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x1003828e
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10038288
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
push 2
mov ecx, dword [ebp - 0x38]
call fcn.10009f14
mov dword [eax], 0x5beb379d
jmp 0x1003828e
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esp, ebp
pop ebp
ret

Function at 0x10038292
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100382b6
push 0x27ea
push 0x6770
push 1
call fcn.1003831f
add esp, 0xc
jmp 0x1003831b
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100382f4
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100382f2
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
jmp 0x1003831b
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x1003831b
push 0
push 0x336
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret
Function at 0x1003850f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003857f
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10038570
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1003856e
push 0x5c52
push 0x6061
push 0x4b3a
push 0x1ac
push 1
push 0x1eeb
push 1
call fcn.10036c28
add esp, 0x1c
jmp 0x1003857d
push 0x17b8
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100385a0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
push 1
push dword [ebp - 0x14]
push 0x5263
push dword [ebp - 0x18]
call fcn.10022dfc
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10038989
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100389d5
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100389cb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100389c9
push 1
push 0x6c0e
push 0x2e83
push 1
call fcn.10037cbc
add esp, 0x10
jmp 0x100389d3
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x100389f6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
push 0x3f36
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x10]
call fcn.1003817d
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x1003ca62
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], 0x1769
mov dword [ebp - 0x30], 0x10008640
cmp dword [ebp - 0x28], 0x18ac
jle 0x1003cb2d
and dword [ebp - 0x18], 0
jmp 0x1003caac
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7219
jge 0x1003cb2d
and dword [ebp - 0x1c], 0
jmp 0x1003cac2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x25d5
jge 0x1003cb28
and dword [ebp - 0x20], 0
jmp 0x1003cad8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3dc6
jge 0x1003cb26
and dword [ebp - 0x24], 0
jmp 0x1003caee
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4d36
jge 0x1003cb24
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
idiv dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x10615bb8
call fcn.10015a07
jmp 0x1003cae7
jmp 0x1003cad1
jmp 0x1003cabb
jmp 0x1003caa5
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003cb67
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1003cb4f
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x1003cb65
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003cb65
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
jmp 0x1003cb8a
push 1
push 0x5434
push 0x4df9
push 0x62fd
push 0x6dfa
push 0x5ef7
call fcn.1003b017
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x139a
jge 0x1003cba4
mov edx, dword [ebp - 0x30]
mov ecx, 0x10615bb8
call fcn.10019d5c
jmp 0x1003cbc0
or dword [ebp - 4], 0xffffffff
jmp 0x1003cbca
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10069c35
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10073748]
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.1005aae8
mov dword [ebp - 0x14], eax
cmp dword [0x10616cd4], esi
jne 0x10069d28
push 0x800
push esi
push 0x100075a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10069cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10069e08
push esi
push esi
push 0x100075a8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10069e08
push 0x100075c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10069e08
push eax
call ebx
push 0x100075cc
push edi
mov dword [0x10616cd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075dc
push edi
mov dword [0x10616cd8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075f0
push edi
mov dword [0x10616cdc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10616ce4], eax
test eax, eax
je 0x10069d25
push 0x1000760c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10616ce0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10069d4d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10069d40
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10069d62
push 4
pop eax
jmp 0x10069e0a
cmp dword [ebp - 0x14], esi
je 0x10069d62
push dword [0x10616cd4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10069d47
mov eax, dword [0x10616ce0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10069dc0
cmp dword [0x10616ce4], edi
je 0x10069dc0
push eax
call ebx
push dword [0x10616ce4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10069dc0
test eax, eax
je 0x10069dc0
call ecx
test eax, eax
je 0x10069db5
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 0x10069db5
test byte [ebp - 8], 1
jne 0x10069dc0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10069df0
mov eax, dword [0x10616cd8]
cmp eax, edi
je 0x10069ded
push eax
call ebx
test eax, eax
je 0x10069ded
call eax
mov esi, eax
test esi, esi
je 0x10069ded
mov eax, dword [0x10616cdc]
cmp eax, edi
je 0x10069ded
push eax
call ebx
test eax, eax
je 0x10069ded
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10616cd4]
call ebx
test eax, eax
je 0x10069e08
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10069e0a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100576d6
mov esp, ebp
pop ebp
ret
Function at 0x40405c
Capabilities:
Get disk size
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c5010]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4040f4
invalid

Function at 0x404e68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4ca634
mov esi, section.DATA
mov edi, 0x4ca048
cmp byte [ebx + 0x28], 0
jne 0x404e97
cmp dword [edi], 0
je 0x404e97
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x404e86
cmp dword [0x4c5004], 0
je 0x404eb1
call fcn.00404d50
call fcn.00404ddc
xor eax, eax
mov dword [0x4c5004], eax
cmp byte [ebx + 0x28], 2
jne 0x404ec1
cmp dword [esi], 0
jne 0x404ec1
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00404c04
cmp byte [ebx + 0x28], 1
jbe 0x404ed1
cmp dword [esi], 0
je 0x404ef2
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x404ef2
call fcn.004070b8
mov edx, dword [ebx + 0x10]
mov eax, dword [edx + 0x10]
cmp eax, dword [edx + 4]
je 0x404ef2
test eax, eax
je 0x404ef2
push eax
call sub.KERNEL32.DLL_LockResource
call fcn.00404bdc
cmp byte [ebx + 0x28], 1
jne 0x404f00
call dword [ebx + 0x24]
cmp byte [ebx + 0x28], 0
je 0x404f0b
call fcn.00404dac
cmp dword [ebx], 0
jne 0x404f27
cmp dword [0x4ca028], 0
je 0x404f1f
call dword [0x4ca028]
mov eax, dword [esi]
push eax
call sub.KERNEL32.DLL_LeaveCriticalSection
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x404eb1
Function at 0x406d4c
Capabilities:
Clear file content
Get disk size
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_SetEndOfFile
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f7c
push 0x80000001
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x406dcf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f7c
push 0x80000002
call sub.KERNEL32.DLL_GetLastError
test eax, eax
je 0x406dcf
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406f98
push 0x80000001
call sub.KERNEL32.DLL_GetLastError
test eax, eax
jne 0x406e58
xor eax, eax
push ebp
push 0x406e51
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00406b94
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x406e36
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406fb8
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x406e36
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406e58
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetDiskFreeSpaceA
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_Sleep_1
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_SetThreadLocale
push eax
call sub.KERNEL32.DLL_ResetEvent
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x406f72
cmp byte [ebp - 0xd], 0
jne 0x406e9f
cmp byte [ebp - 0x12], 0
je 0x406f72
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_VirtualAlloc
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406eb8
dec ebx
cmp byte [ebx], 0x2e
je 0x406ec7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406eb7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406f72
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406f04
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_Sleep_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov esi, eax
test esi, esi
jne 0x406f72
cmp byte [ebp - 0xd], 0
je 0x406f72
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_Sleep_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov esi, eax
test esi, esi
jne 0x406f72
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_Sleep_1
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408925
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop esi
dec edi
inc eax
call fcn.00408951
mov eax, 0xc25380a
xor dword [ebx], esi
add edi, 0x79b018eb
inc ebx
cmp ebx, ecx
jne fcn.00408925
inc eax
sub edi, 0x87787ae9
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x40892d
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
mov esi, esi
and esi, ebx
call fcn.0040894b
xor dword [ecx], edi
dec ebx
inc ecx
or ebx, esi
cmp ecx, edx
jne fcn.0040892d
or esi, ebx
inc esi
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x401756
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401795
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401795
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401795
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401795
cmp dword [ecx + 0x74], 0xe
jbe 0x401795
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c01d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c01d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40892a
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x4085d8
call fcn.00408948
sub esp, 4
mov dword [esp], ebx
pop ebx
xor dword [ecx], edx
and ebx, edi
and edi, edi
inc ecx
dec edi
cmp ecx, eax
jne fcn.0040892a
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x60172276
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..pdata_1
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7dcf2781
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x9145b4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9145be
pushal
call 0x9145c4
pop ebp
sub ebp, 0x10
sub ebp, 0x5145b4
jmp 0x9145da
mov eax, 0x5145b4
add eax, ebp
add eax, 0x4c
mov ecx, 0x617
mov edx, 0xf387a290
xor byte [eax], dl
inc eax
dec ecx
jne 0x9145f1
jmp 0x914604
fistp qword [0x5d1bd02b]
sbb ebx, dword [ecx]
lodsb al, byte [esi]
nop
nop
nop
adc dword [ecx + 0x68], edx
nop
nop
nop
xchg ebx, eax
sbb ebx, dword [ebp + 0x1b]
sbb dword [eax + edx*4 + 0x51119090], ebp
push 0x93909090
pop ebp
sub byte [esi + 0x2a909090], dl
mov eax, 0x67909090
jb entry0
pop eax
sbb edx, dword [ecx]
pushfd
nop
nop
nop
xchg ebx, eax
push ebp
rcr byte [0x196cb4f4], 0x94
mov ah, 0xf8
and byte [eax], 0x9e
nop
clc
xor dword [0xbc9190d2], eax
mov ah, 0xf8
adc byte [ebx], dl
sbb ecx, dword [eax + 0x78]
xchg ebp, eax
nop
nop
nop
jns 0x9145f1
nop
nop
nop
sbb eax, 0x196cb4f4
mov esp, 0xb4fc1db4
nop
sbb edx, dword [0x90909098]
sbb eax, dword [0x9090909c]
sbb ebx, dword [0x90909080]
push ecx
jns 0x914600
mov eax, dword [0x94521392]
fstp dword [edi + 0x6f6f6415]
outsd dx, dword [esi]
sbb edi, dword [esp + esi*4 - 0x6b4b0be3]
push edx
pushfd
nop
sbb ebx, dword [esp + esi*4]
xchg esp, eax
nop
nop
nop
clc
and byte [eax], 0x9e
nop
clc
xor dword [0xbc9190d2], eax
mov ah, 0x1d
hlt