joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e2e0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000e31f
cmp bl, 0x23
jne 0x1000e301
cmp byte [esi], bl
jne 0x1000e301
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10047610]
test bl, bl
jne 0x1000e2f2
mov ecx, dword [0x1004e504]
not eax
mov esi, dword [ecx + 0x3f70]
mov edi, dword [ecx + 0x3f78]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1000e35e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000e358
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000e35a
mov esi, edx
test esi, esi
jne 0x1000e340
cmp edi, ebx
je 0x1000e36d
cmp dword [edi], eax
jne 0x1000e36d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1001c640
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5dc8], 0
lea esi, [edi + 0x5dcc]
je 0x1001c6c2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001c67c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001ea70
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10007a80
mov edx, dword [esi]
mov ecx, 0x1004e4f9
push dword [edi + 0x5dc8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5dd4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10007a80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001cad0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x1004e504]
test bl, bl
je 0x1001cb16
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001caf7
cmp byte [esi], bl
jne 0x1001caf7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10047610]
test bl, bl
jne 0x1001cae8
mov edi, dword [0x1004e504]
mov ecx, dword [edi + 0x5d6c]
not eax
mov edx, dword [edi + 0x5d74]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001cb3d
cmp dword [edx + 4], eax
je 0x1001cb40
add edx, 0x24
cmp edx, ecx
jne 0x1001cb31
xor eax, eax
ret
mov eax, edx
ret

Function at 0x1001cd70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1004e504]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5d5c], 0
push edi
test esi, esi
je 0x1001cdcd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1001cde0
mov edx, 0x10047208
mov ecx, esi
mov edi, eax
call fcn.10007440
mov esi, eax
test esi, esi
je 0x1001cdcd
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002fb30
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x1004e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x1004e504]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1002fcdc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1002fcdc
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x1004e504]
add esp, 4
mov edi, eax
test esi, esi
je 0x1002fbd3
movsx edx, word [esi + 0x5e6c]
lea eax, [esi + 0x5e70]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x1002fbc9
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5e6c], ax
cwde
add eax, 0xbce
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5e64]
test edi, edi
je 0x1002fbe6
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x1002fbe8
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x68], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x1002fc23
mov esi, dword [esi + 0x70]
jmp 0x1002fc25
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x1002fc48
mov dword [esi], eax
mov eax, dword [0x1004e504]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a00]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x24], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1002fcaa
inc esi
cmp esi, 5
jl 0x1002fc81
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042a37
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042a37
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10042a37
mov esp, ebp
pop ebp
ret
Function at 0x10040c70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1004e040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x10040ced
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x10040ce3
cmp word [eax + 6], dx
jne 0x10040ce3
cmp word [eax + 0xc], dx
je 0x10040d07
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x10040cd1
mov ecx, dword [eax + 1]
mov eax, dword [ebp + 8]
pop esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10042a37
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x10040cf0

Function at 0x10040de0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10040e0d
mov eax, dword [ebp + 8]
push eax
mov dword [0x1004e4f4], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push 0x10040d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop ebp
ret 0xc
Function at 0x41d3b3
Capabilities:
Parse pe header

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

Function at 0x42f530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f55d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f55d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x2a30e3b1
Capabilities:
Terminate thread

Disassembly:
push 0xc
mov eax, 0x2a3549f2
call fcn.2a30266e
mov ebx, ecx
xor ecx, ecx
cmp dword [ebx], 0xb
mov edi, ecx
mov dword [ebp - 0x14], edi
jne 0x2a30e4a2
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
or dword [ebx + 0x1a0], 0xffffffff
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
lea esi, [eax + 0x12c]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, esi
jae 0x2a30e45b
mov edi, esi
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebx + 0x2d8]
mov esi, dword [ebx]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp esi, 0xb
jne 0x2a30e458
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call dword [sym.imp.kernel32.dll_GetTickCount]
shr eax, 4
cmp eax, edi
jb 0x2a30e41f
mov edi, dword [ebp - 0x14]
push 0xea60
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp dword [ebx], 0xb
jne 0x2a30e482
push 1
push dword [ebx + 0x2d4]
call dword [sym.imp.kernel32.dll_TerminateThread]
xor edi, edi
inc edi
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [ebx + 0x2d8]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebx + 0x2d8], ecx
cmp dword [ebx + 0x18], 0
lea esi, [ebx + 0x1a0]
mov dword [esi], ecx
je 0x2a30e4d7
test di, di
jne 0x2a30e4d4
push esi
push dword [ebx + 0x18]
call fcn.2a332fa7
xor ecx, ecx
cmp dword [esi], ecx
jne 0x2a30e4d7
push esi
push dword [ebx + 0x14]
mov dword [ebx + 0x18], ecx
call fcn.2a332fa7
xor ecx, ecx
jmp 0x2a30e4d7
mov dword [ebx + 0x18], ecx
cmp word [ebx + 0x144], cx
je 0x2a30e55e
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.2a332fa7
mov edi, dword [0x2a36db18]
xor eax, eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + 0x40]
push eax
mov eax, dword [0x2a36db04]
push str.Cstring
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [str.Pv0]
call esi
mov esi, dword [edi + 0xd0]
pop ecx
movzx eax, ax
mov ecx, esi
push eax
push 0
call dword [str.Pv0]
call esi
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0
push eax
call fcn.2a332fa7
cmp dword [ebp - 0x14], 0
je 0x2a30e550
lea ecx, [ebp - 0x18]
call fcn.2a332fa7
test al, al
je 0x2a30e550
lea ecx, [ebp - 0x18]
call fcn.2a33f665
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a332fa7
xor ecx, ecx
cmp dword [ebx + 0x34], 0
je 0x2a30e582
mov eax, dword [0x2a36d7bc]
push dword [ebx + 0x34]
mov esi, dword [eax + 0x284]
mov ecx, esi
call dword [str.Pv0]
call esi
pop ecx
xor ecx, ecx
mov dword [ebx + 0x34], ecx
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x2a30e5b6
push eax
mov eax, dword [0x2a36dabc]
cmp word [ebx + 0x196], cx
je 0x2a30e5a0
mov esi, dword [eax + 0x124]
jmp 0x2a30e5a6
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [str.Pv0]
call esi
xor eax, eax
pop ecx
mov dword [ebx + 0x20], eax
mov dword [ebx], 2
call fcn.2a302b96
ret
Function at 0x2a32d61e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x2a35670e
call fcn.2a3041d5
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x2a32d83f
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.2a332fa7
add esp, 0x10
test eax, eax
js 0x2a32d839
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x2a32d6c2
push edi
call fcn.2a32eb0c
pop ecx
test al, al
je 0x2a32d6c2
mov eax, edi
call fcn.2a3534e0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a32d6d4
push edi
lea ecx, [ebp - 0x424]
call fcn.2a332fa7
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.2a332fa7
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x2a32d839
push 0x60
push ebx
push eax
call fcn.2a32edc8
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x2a32d72c
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.2a32edc8
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x2a32d72c
call fcn.2a32be19
mov ebx, eax
jmp 0x2a32d808
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x2a32d753
call fcn.2a32be19
jmp 0x2a32d7fb
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x2a32d749
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x2a32d786
mov ebx, 0x8007000e
jmp 0x2a32d7fd
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a332fa7
jmp 0x2a32d7ac
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x2a32d77f
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.2a332fa7
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.2a332fa7
mov ebx, eax
test edi, edi
je 0x2a32d808
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a32d821
lea ecx, [ebp - 0x418]
call fcn.2a32c4ed
or dword [ebp - 4], 0xffffffff
jmp 0x2a32d831
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32d827
mov eax, ebx
jmp 0x2a32d86d
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x2a32d854
lea ecx, [ebp - 0x418]
call fcn.2a32c4ed
or dword [ebp - 4], 0xffffffff
jmp 0x2a32d864
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x2a32d85a
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.2a30420f
ret 0x10
Function at 0x2a332fa7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x2a332fb6
pop dword [ebp - 0x38]
mov eax, 0x4768fa77
add eax, 0xe2ca353f
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa6a0d5c1
sub dword [ebp - 0x48], 0x584e9076
mov dword [ebp - 0x44], 0xbc6a3c87
add dword [ebp - 0x44], 0x75c90fbe
mov dword [ebp - 0x40], 0x5f5d1ee3
add dword [ebp - 0x40], 0xecef254b
mov dword [ebp - 0x3c], 0x64b8ebe8
sub dword [ebp - 0x3c], 0x64b8ebe8
lea eax, [ebp - 0x48]
push eax
mov eax, 0x742e390f
add eax, 0xb6076775
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x2ce1767a
sub dword [ebp - 0x48], 0xb86f0d24
mov dword [ebp - 0x44], 0x33b8afa
sub dword [ebp - 0x44], 0xc1cf2985
mov dword [ebp - 0x40], 0x1f4ef679
sub dword [ebp - 0x40], 0xbbdf8a0d
mov dword [ebp - 0x3c], 0xce7b2a3b
add dword [ebp - 0x3c], 0x3184d5c5
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4ad8d
push 0
call eax
mov ecx, 0x7f29aabf
sub ecx, 0x7f29611d
mov edx, eax
mov ebx, 0x1c9e049d
sub ebx, 0xf265ee9d
add ebx, dword [ebp - 0x38]
mov edi, 0x44dd5387
add edi, 0x1efd5cb
sub dword [ebp - 0x14], esi
mov esi, dword [ebx]
mov dword [ebp - 0x28], 0x9016397a
add esi, edi
mov dword [ebp - 0xc], 0x7afd15b6
mov dword [edx], esi
xor dword [ebp - 0x14], 0xdaeaad11
add edx, 4
add ebx, 4
loop 0x2a3330d3
add eax, 0xf78370af
sub eax, 0xf7825754
xor ebx, ebx
add ebx, eax
add eax, 0x87328a10
add eax, 0x78cd75f5
mov ecx, 0xf56b8f56
sub ecx, 0xcb3b8f56
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x402ee4
pop dword [ebp - 0x18]
mov eax, 0x38412fb8
add eax, 0xc7feff2c
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xeaa5b4b7
add dword [ebp - 0x28], 0x63ac9094
mov dword [ebp - 0x24], 0xafb9eed4
sub dword [ebp - 0x24], 0x7d86a28f
mov dword [ebp - 0x20], 0x110ce0fa
add dword [ebp - 0x20], 0x3b3f6334
mov dword [ebp - 0x1c], 0x96041724
add dword [ebp - 0x1c], 0x69fbe8dc
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4b60fcf2
add eax, 0xb4df8412
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xf29e7a05
sub dword [ebp - 0x28], 0x7e2c10af
mov dword [ebp - 0x24], 0xc78dbb83
sub dword [ebp - 0x24], 0x86215a0e
mov dword [ebp - 0x20], 0xbaad3949
sub dword [ebp - 0x20], 0x573dccdd
mov dword [ebp - 0x1c], 0x46ff08b1
add dword [ebp - 0x1c], 0xb900f74f
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 0x36967
push 0
call eax
mov ecx, 0x518b7fa1
add ecx, 0xae74c694
xor ebx, ebx
add ebx, eax
mov esi, 0x9230a097
add esi, 0x6e164369
add esi, dword [ebp - 0x18]
mov edi, 0xa162458e
add edi, 0x1697376
xor dword [ebp - 0x10], 0x1f359f77
mov edx, dword [esi]
sub dword [ebp - 8], ecx
add edx, edi
xor dword [ebp - 4], 0x236653c
mov dword [ebx], edx
add ebx, 0xc5f2023e
add ebx, 0x3a0dfdc6
add esi, 0x2fd4c2c9
add esi, 0xd02b3d3b
loop 0x403003
add eax, 0x16377ff3
sub eax, 0x1636744c
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x449ff0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fbcdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004f0365
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44a072
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004edc12
mov eax, dword [eax]
push 0x80eed8
push eax
call fcn.004dc494
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f05f0
test bl, bl
je 0x44a072
push 0x80eed8
lea ecx, [esp + 0xc]
call fcn.004f0980
push 0x80eee4
lea ecx, [esp + 0xc]
call fcn.004f0980
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44a0ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f05f0
jmp 0x44a179
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x44a132
lea edx, [esp + 0x7c]
push 0x80eee0
push edx
call fcn.004dc494
add esp, 8
test eax, eax
je 0x44a132
lea eax, [esp + 0x7c]
push 0x80eedc
push eax
call fcn.004dc494
add esp, 8
test eax, eax
je 0x44a132
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x44a0c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004f05f0
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x44a980
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x44a9e2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc