joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d1f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xorps xmm0, xmm0
push esi
xor esi, esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push edi
movups xmmword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x1c], xmm0
test ecx, ecx
jne 0x1002d22b
call ebx
mov edi, eax
jmp 0x1002d259
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1002d279
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenProcess_failed_with_status_0x_X_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
test edi, edi
jne 0x1002d279
push str.Cannot_match_architectures_because_we_couldnt_obtain_remote_process_handle__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov eax, 9
cmp ax, word [ebp - 0x2c]
jne 0x1002d2e0
lea eax, [ebp - 8]
push eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsWow64Process]
push eax
call ebx
test eax, eax
jne 0x1002d2c6
push str.Cannot_run_IsWow64Process_for_current_process_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push edi
call ebx
test eax, eax
jne 0x1002d2d8
push str.Cannot_run_IsWow64Process_for_remote_process_n
jmp 0x1002d2a6
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x1002d2e5
mov esi, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d5e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], ebx
push edi
test esi, esi
je 0x1002d755
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x1002d755
mov edx, dword [esi + 0x3c]
add edx, esi
cmp dword [edx], 0x4550
jne 0x1002d755
movzx edi, word [edx + 6]
xor eax, eax
xor ecx, ecx
cmp ax, di
jae 0x1002d63f
movzx eax, cx
lea eax, [eax + eax*4]
lea eax, [eax + 0x1f]
cmp dword [edx + eax*8 + 0x10], 0
lea eax, [edx + eax*8]
ja 0x1002d642
inc ecx
cmp cx, di
jb 0x1002d624
jmp 0x1002d642
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
lea edi, [ecx + 5]
mov eax, ecx
xor edx, edx
sub eax, edi
sub eax, esi
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
je 0x1002d768
nop word [eax + eax]
xor eax, eax
test esi, esi
je 0x1002d686
lea ecx, [eax + edx]
mov cl, byte [ecx + edi]
cmp cl, byte [eax + ebx]
jne 0x1002d6a0
inc eax
cmp eax, esi
jb 0x1002d676
add edx, edi
je 0x1002d768
mov cl, byte [edx - 5]
cmp cl, 0xe8
jne 0x1002d6af
mov eax, 1
jmp 0x1002d733
inc edx
cmp edx, dword [ebp - 0xc]
jb 0x1002d670
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [edx - 2]
cmp bl, 0xff
jne 0x1002d6e1
mov al, byte [edx - 1]
mov ah, al
and al, 0xf
and ah, 0xf0
cmp ah, 0xd0
jne 0x1002d6d1
cmp al, 7
ja 0x1002d6d1
mov eax, 1
jmp 0x1002d730
cmp ah, 0x10
jne 0x1002d6e1
cmp al, 3
ja 0x1002d6e1
mov eax, 1
jmp 0x1002d730
mov ah, byte [edx - 6]
cmp ah, 0xff
jne 0x1002d6f5
cmp cl, 0x15
jne 0x1002d6f5
mov eax, 1
jmp 0x1002d730
cmp byte [edx - 3], 0xff
jne 0x1002d712
mov al, bl
and al, 0xf0
cmp al, 0x50
jne 0x1002d712
and bl, 0xf
cmp bl, 7
ja 0x1002d712
mov eax, 1
jmp 0x1002d730
cmp ah, 0xff
jne 0x1002d72e
mov al, cl
and al, 0xf0
cmp al, 0x90
jne 0x1002d72e
and cl, 0xf
cmp cl, 7
ja 0x1002d72e
mov eax, 1
jmp 0x1002d730
xor eax, eax
mov ebx, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
jne 0x1002d746
test eax, eax
jne 0x1002d74a
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1002d73d
mov ecx, dword [ebp - 0x10]
lea edi, [edx + 1]
jmp 0x1002d656
push str.GetModuleCodeSection_failed__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d780
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x100e8018]
xor eax, esp
mov dword [esp + 0x438], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1002d7e6
push str.CreateToolhelp32Snapshot_failed_
call fcn.1003af20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
push 0x424
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], 0x428
push 0
push eax
call fcn.100346a0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x1002d84a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Module32First_failed_with_error__d__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
cmp word [0x100efaf8], 0
jne 0x1002d875
push 0x104
push 0x100efaf8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1002d875
push str.GetWindowsDirectory_failed_
call fcn.1003af20
add esp, 4
mov esi, 0x100efaf8
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002d880
sub esi, ecx
sar esi, 1
xor edi, edi
cmp dword [ebp + 0xc], 0
je 0x1002d8b1
push esi
lea eax, [esp + 0x23c]
push 0x100efaf8
push eax
call fcn.1003c6a5
add esp, 0xc
test eax, eax
jne 0x1002d8cf
push dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
call fcn.1002d5e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1002d8e1
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1002d891
jmp 0x1002d900
mov eax, edi
sub eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push str.Found_gadget_inside__ws_at__zx._n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x444]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
Function at 0x1002d920
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x100e8018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x134], eax
push esi
push edi
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
test eax, eax
je 0x1002dab3
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x1002d96c
mov eax, str.GetModuleHandleA_ntdll__failed_
jmp 0x1002dab8
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x1002daac
mov edx, dword [esi + 0x3c]
add edx, esi
cmp dword [edx], 0x4550
jne 0x1002daac
movzx edi, word [edx + 6]
xor eax, eax
xor ecx, ecx
cmp ax, di
jae 0x1002d9bb
nop dword [eax + eax]
movzx eax, cx
lea eax, [eax + eax*4]
lea eax, [eax + 0x1f]
cmp dword [edx + eax*8 + 0x10], 0
lea eax, [edx + eax*8]
ja 0x1002d9c1
inc ecx
cmp cx, di
jb 0x1002d9a0
jmp 0x1002d9c1
mov eax, dword [ebp - 0x130]
push dword [ebp - 0x134]
mov ebx, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
add ebx, esi
push esi
mov dword [ebp - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x1002d9ec
mov eax, str.GetProcAddress_ZwProtectVirtualMemory__failed_
jmp 0x1002dab8
push 0x104
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.100346a0
add esp, 0xc
lea eax, [ebp - 0x128]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x100ddfe8
lea eax, [ebp - 0x128]
mov dword [ebp - 0x12c], 0
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1003b337
mov eax, dword [ebp - 0x12c]
add esp, 0xc
test eax, eax
jne 0x1002da4b
mov eax, str._wfopen_s_ntdll__failed_
jmp 0x1002dab8
sub edi, ebx
add edi, dword [ebp - 0x130]
push 0
push edi
push eax
call fcn.1003c5f5
push dword [ebp - 0x12c]
lea eax, [ebp - 0x24]
push 0x20
push 1
push eax
call fcn.1003c1fe
push dword [ebp - 0x12c]
mov esi, eax
call fcn.1003a031
add esp, 0x20
cmp esi, 0x20
je 0x1002da8b
mov eax, str.fread_ntdll__failed_
jmp 0x1002dab8
cmp byte [ebp - 0x24], 0xb8
je 0x1002da98
mov eax, str.Unexpected_opcodes_at_ZwProtectVirtualMemory_
jmp 0x1002dab8
mov eax, dword [ebp - 0x23]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
mov eax, str.GetModuleCodeSection_ntdll__failed_
jmp 0x1002dab8
mov eax, str.Invalid_parameters_
push eax
call fcn.1003af20
push str.GetSyscall___failed_
call fcn.1003af20
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.100313c7
mov esp, ebp
pop ebp
ret
Function at 0x1002db20
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x100e8018]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push edi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 0xc], esi
cmp esi, 0xffffffff
jne 0x1002db87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.CreateToolhelp32Snapshot_failed_for_process__d__last_error:__d__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
push 0x424
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x428
push 0
push eax
call fcn.100346a0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
jne 0x1002dbf0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.Module32First___failed_for_process__d__last_error:__d__n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x1002dc12
mov ecx, 0x10a
lea esi, [esp + 0x10]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 4], 0x428
mov esi, dword [esp + 0xc]
jmp 0x1002dc1f
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.1002fc90
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1002dbf0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x43c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100313c7
mov esp, ebp
pop ebp
ret
Function at 0x1002de70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x1002de50
mov ebx, edx
mov dword [ebp - 4], 0x103
xor esi, esi
mov dword [ebp - 8], ebx
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x1002debb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_adding_exception_handler__last_error:_0x_X_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1002df8f
push 0
push 0
push dword [ebp + 0xc]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100ee8a0], eax
test eax, eax
jne 0x1002def5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_thread__last_error:_0x_X_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1002df8f
mov eax, dword [ebp - 4]
cmp eax, 0x103
jne 0x1002df3a
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
nop dword [eax + eax]
push 0x1388
push dword [0x100ee8a0]
call edi
lea eax, [ebp - 4]
push eax
push dword [0x100ee8a0]
call ebx
test eax, eax
je 0x1002df5a
mov eax, dword [ebp - 4]
cmp eax, 0x103
je 0x1002df10
mov ebx, dword [ebp - 8]
cmp byte [ebp + 8], 0
je 0x1002df76
cmp ebx, eax
je 0x1002df8a
push eax
push str.Exit_code_was_not_the_expected_one__it_was_instead__d_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1002df8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetExitCodeThread_failed__last_error:_0x_X_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
jmp 0x1002df8f
push eax
push str.Skipping_exit_code_check__it_was__d_n
push dword [0x100ee8a4]
call fcn.1000f610
add esp, 0xc
mov esi, 1
mov eax, dword [0x100ee8a0]
test eax, eax
je 0x1002df9f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x1002dfad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10045771
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100455e7
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x405630
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
adc dword [0x698e0c11], ecx
xor bl, al
sub esi, dword [edi]
pop es
adc dword [esi + ecx*4], ecx
imul esi, dword [edx], 0x7372bd8
jb 0x405632
push es
add byte [eax + 0x6f], dh
jo 0x4056b0
xor al, byte [eax]
add byte [edx], cl
sub al, 0x28
pop es
jb 0x40563f
push es
add byte [eax + 0x6f], dh
add byte cs:[eax], al
or bl, byte [eax]
outsd dx, dword [esi]
xor eax, dword [eax]
add byte [edx], cl
adc ecx, dword [ecx]
add bh, byte [ebx + 0xa]
add byte [eax], al
add al, 0x11
or dword [esi], edx
lcall 0x346f, 0x9a170911
add byte [eax], al
or ch, byte [ebx]
add dl, byte [esi]
sub al, byte [esi]
pop ss
pop eax
or al, byte [esi]
add ecx, dword [esi - 0x29ac097]
invalid
add byte [eax + 0x28], dh
sbb byte [eax], al
add byte [edx], cl
jge 0x4056c6
add byte [eax], al
add al, 2
jnp 0x4056cc
add byte [eax], al
add al, 0x28
xor eax, 0x2d0a0000
or al, 2
jnp 0x4056d9
or ch, byte [0xd7b020c]
add byte [eax], al
add al, 0x28
add byte ss:[eax], al
or ah, byte [esi]
add bh, byte [ebx + 6]
add byte [eax], al
add al, 0x28
add byte [eax + ebp], al
and al, byte [eax]
add byte [edx], cl
sub eax, 0x77b0229
add byte [eax], al
add al, 0x6f
aaa
add byte [eax], al
or bl, byte [edi]
rdmsr
sbb al, byte [edx]
jnp 0x4056fd
add byte [eax], al
add al, 0x6f
cmp byte [eax], al
add byte [edx], cl
sub al, 0xd
add bh, byte [ebx + 8]
add byte [eax], al
add al, 0x6f
or eax, 0x87b02
add byte [edi + ebp*2], al
cmp byte [eax], al
add byte [edx], cl
sub eax, 0x22a1602
jnp 0x405719
add byte [eax], al
add al, 0x72
sysret
cmp dword [eax], eax
add byte [edx], cl
sub eax, 0x97b0211
add byte [eax], al
add al, 0x72
sysret

Function at 0xb97b6d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b97b6d
ret
Function at 0x10002560
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x10002595
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push 0
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [0x1001a1e8]
call ebp
test eax, eax
jle 0x1000259c
add esi, eax
cmp esi, edi
jb 0x10002578
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x100025b0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
test edi, edi
je 0x100025e5
mov ebx, dword [esp + 0x14]
mov ebp, dword [sym.imp.WS2_32.dll_send]
push 0
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [0x1001a1e8]
call ebp
test eax, eax
jle 0x100025ec
add esi, eax
cmp esi, edi
jb 0x100025c8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10872058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.108721a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1087207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1087206a
add dl, dl
jne 0x10872089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108720dc
xor eax, eax
add dl, dl
jne 0x10872096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1087217d
add dl, dl
jne 0x108720a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108720b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108720bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108720c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108720d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10872075
mov eax, 1
add dl, dl
jne 0x108720ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108720f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108720e1
sub eax, ebx
mov ebx, 1
jne 0x10872128
mov ecx, 1
add dl, dl
jne 0x1087210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10872119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10872105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10872075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1087213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1087214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10872136
cmp eax, 0x7d00
jae 0x1087216d
cmp eax, 0x500
jb 0x10872168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10872075
cmp eax, 0x7f
ja 0x10872170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10872075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1087219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10872075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4013c5
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x506510
jmp 0x4013b9
mov eax, 0x4c66e4
call fcn.00495c18
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014cb
mov eax, dword [0x501ee0]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x501ee0]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cd7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x50650c
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004b0f2d
push 0x50650c
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004b0f2d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40af46
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c7494
call fcn.00495c18
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x5065e0
push str.DataFile_Types
mov ecx, esi
call fcn.004c3bec
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40af7c
xor eax, eax
jmp 0x40b0c4
mov eax, dword [0x501ee0]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], pe_nt_image_headers32
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40b094
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ecdc0
push eax
call fcn.004ae6c7
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c3c9e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b0edd
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b0d96
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c3c9e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b0edd
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b0d96
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c3c32
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40b06d
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40b06d
cmp eax, 0xffffffff
je 0x40b06d
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b1b1
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], pe_nt_image_headers32
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40afb8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b0d96
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b0d96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b0d96
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret