joyce8/EMBER2024-capa huggingface dataset:
Function at 0x860f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x8759fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x861002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00864dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x861002
lea edx, [esp + 0x14]
push edx
push 0x87b140
call fcn.0085c6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0086520b
push 0x10
call fcn.008651d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x860fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.008511c0
jmp 0x860fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00860b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x860ff0
mov ecx, edi
call fcn.008512c0
push edi
call fcn.008651c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x861021
inc ebx
cmp ebx, 0x20
jb 0x860f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x8641b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00864140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00864140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00864140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00864140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x864230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x8642d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x8642ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00864230
mov esi, eax
add esp, 8
test esi, esi
jne 0x8642ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x86427e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x8642ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x864bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x864c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x87687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x864c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x864c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x450df1
Capabilities:
Encode data using xor

Disassembly:
push 0x28
mov eax, 0x4ba342
call fcn.004b69f6
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 0x18]
xor edx, edx
mov byte [edi + 0x10], dl
mov eax, dword [edi]
mov esi, dword [edi + 4]
sub esi, eax
sar esi, 3
mov dword [ebp - 0x14], esi
cmp eax, dword [edi + 4]
je 0x450ee4
cmp ebx, 0x1e
jae 0x450ee4
mov ecx, dword [ebp + 0x14]
movsx eax, byte [ecx]
shl eax, 7
test ebx, ebx
je 0x450e4f
mov edi, ecx
movsx ecx, byte [edx + edi]
imul eax, eax, 0xf4243
xor eax, ecx
inc edx
cmp edx, ebx
jb 0x450e38
invalid
invalid

Function at 0x452f76
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba763
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
call fcn.0042ea73
and dword [esp + 0x48], 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
call fcn.0042e93d
cmp dword [eax + 0x14], 0x10
jb 0x452fd0
mov eax, dword [eax]
mov edx, 0x4e94f9
mov ecx, eax
call fcn.00406032
mov ebx, eax
lea ecx, [esp + 0x20]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.0040177c
inc bl
lea ecx, [esp + 8]
push 0
push 1
setne bl
call fcn.0040f05a
mov al, bl
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret

Function at 0x45441f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba917
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4fc504]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [0x4fc504]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
call fcn.004541b3
push eax
lea ecx, [esp + 0x1c]
call fcn.004016ae
and dword [esp + 0x40], 0
lea eax, [esp + 0x10]
and dword [esp + 0x14], 0
lea edx, [esp + 0x18]
push eax
push 0x64
mov ecx, edi
mov dword [esp + 0x18], esi
call fcn.00454216
cmp dword [esp + 0x30], 0
pop ecx
pop ecx
je 0x4544ad
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x4544a2
lea eax, [esp + 0x18]
push eax
call fcn.00494517
pop ecx
mov esi, eax
jmp 0x4544b0
mov esi, dword [ebp + 0xc]
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.0040177c
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.004906a0
mov esp, ebp
pop ebp
ret 8
Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x170732e3
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x7ab058e1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b130
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x7c]
push ebx
push esi
push edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 0x10
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0xc], 0x20
mov dword [ebp - 8], 0x40
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], eax
mov edx, dword [eax + 0x30]
mov eax, dword [ecx + 0x3c]
lea eax, [edx + eax]
movzx edx, word [eax + 6]
add eax, 0xf8
mov dword [ebp - 0x74], eax
lea eax, [edx - 1]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
jb 0x40b2b5
sub dword [ebp - 0x6c], 1
lea esi, [esi]
add dword [ebp - 0x6c], 1
imul eax, dword [ebp - 0x6c], 0x28
mov edx, dword [ebp - 0x74]
lea esi, [eax + edx]
lea edi, [ebp - 0x4c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
or edx, eax
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
test dword [ebp - 0x50], 0xffffffff
je 0x40b2a9
mov ebx, dword [ebp - 0x28]
mov eax, ebx
and eax, 0x2000000
je 0x40b20c
push 0x4000
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 8]
jmp 0x40b2a9
mov eax, ebx
and eax, 0x20000000
je 0x40b21e
mov dword [ebp - 0x68], 1
jmp 0x40b225
mov dword [ebp - 0x68], 0
mov eax, ebx
and eax, 0x40000000
je 0x40b237
mov dword [ebp - 0x64], 1
jmp 0x40b23e
mov dword [ebp - 0x64], 0
mov eax, ebx
and eax, 0x80000000
je 0x40b250
mov dword [ebp - 0x60], 1
jmp 0x40b257
mov dword [ebp - 0x60], 0
mov eax, ebx
and eax, 0x4000000
je 0x40b269
mov dword [ebp - 0x5c], 1
jmp 0x40b270
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x68]
shl eax, 4
lea eax, [ebp + eax - 0x24]
mov edx, dword [ebp - 0x64]
lea ecx, [eax + edx*8]
mov eax, dword [ebp - 0x60]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 1
jne 0x40b296
or dword [ebp - 0x54], 0x200
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x78]
call dword [esi + 4]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x6c]
ja 0x40b1b4
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

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

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x4a8d7537
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x32883f57
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x488e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x58000]
push edi
jmp 0x488e2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x488e31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488e20
mov eax, 1
add ebx, ebx
jne 0x488e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x488e54
jne 0x488e73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488e73
dec eax
add ebx, ebx
jne 0x488e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x488e38
add ebx, ebx
jne 0x488e6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x488ec5
xor ecx, ecx
sub eax, 3
jb 0x488e8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x488efa
sar eax, 1
mov ebp, eax
jmp 0x488e96
add ebx, ebx
jne 0x488e96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488e64
inc ecx
add ebx, ebx
jne 0x488ea4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x488e64
add ebx, ebx
jne 0x488eb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x488ea6
jne 0x488ec2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x488ea6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x488ee4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x488ed6
jmp 0x488e26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x488ee4
add edi, ecx
jmp 0x488e26
pop esi
mov edi, esi
mov ecx, 0x28ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x488f02
cmp byte [edi], 0x27
jne 0x488f02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x488f07
lea edi, [esi + 0x85000]
mov eax, dword [edi]
or eax, eax
je 0x488f7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8aa8c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8aba4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x488f34
mov ecx, edi
jns 0x488f63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8aba8]
or eax, eax
je 0x488f79
mov dword [ebx], eax
add ebx, 4
jmp 0x488f51
call dword [esi + 0x8abb8]
mov ebp, dword [esi + 0x8abac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x488fb3
sub esp, 0xffffff80
jmp 0x44b998
Function at 0x1005e2e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x20]
je fcn.10061aa9
shld dx, bp, cl
mov esi, dword [eax + 0x3c]
xor dl, bh
not dh
not dx
and dx, di
add esi, eax
bts dx, sp
mov edx, dword [esi + 0x78]
cmp bh, ch
clc
cmc
test edx, edx
jmp 0x1007d927
call fcn.1007d47a
pushal
push 0x8e18471d
lea esp, [esp + 0x24]
je fcn.10061aa9
bswap cx
btc ecx, 6
stc
add edx, eax
cmc
mov ecx, dword [esi + 0x7c]
cmp dh, ah
cmp ah, 0x48
test bl, bh
bt di, bp
add ecx, edx
cmc
mov dword [ebp - 0x10], ecx
neg cl
mov ecx, dword [ebp + 0xc]
cmp al, al
push ecx
cmp ecx, 0xffff
pushal
pushfd
call fcn.1005e3cc
push ecx
lea esp, [esp + 4]
jae 0x10077ba4
bt dx, si
test ah, dl
bt dx, bp
cmp bh, 0x2f
cmp ah, 5
pushfd
lea esp, [esp + 4]
jae 0x1005e9de
jmp 0x1005e6ea

Function at 0x10061e0f
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 8], bh
lea esp, [esp + 0x24]
jne 0x1005eb90
btc ax, 4
xor edx, edx
call fcn.10060736
push ebx
sub al, 0x45
fisubr dword [ecx - 0x681298b2]
xor dh, dl
je 0x1005e33f
lcall 0xf879, 0x52a933
sbb eax, 0x6ae29dd3
mov byte [0xbc3870bb], ch
sahf
xor bl, bh
insb byte es:[edi], dx
and bh, ah
xchg esp, eax
adc edx, dword [edx + 0x1e86383f]
inc ebp
pop ds
invalid
lea ebp, [esp + 4]
daa
aas
sub esp, 0xc
ror ah, 2
bts ax, 7
bsr ax, sp
push esi
aam 0x76
cwde
aam 0xca
rol eax, 0x10
push edi
movsx ax, cl
stc
push ebx
pushal
mov dword [esp + 0x1c], edx
dec al
mov eax, dword [ebp + 8]
cmp ah, dh
stc
cmc
test eax, eax
call fcn.1005e2e6
clc
push ecx
shl bl, 1
rol bh, 2
mov ebx, eax
bt di, sp
cmp byte [edi], 0x23
pushal
mov byte [esp + 4], bh
jmp 0x1005e31c

Function at 0x10076305
Capabilities:
Encode data using xor

Disassembly:
pushfd
push 0x40df442a
lea esp, [esp + 0x34]
jne 0x1005f652
pushal
mov byte [esp + 8], 0x11
not ax
jmp 0x10079660
mov byte [edi - 1], 0
lea eax, [edx + 0x79465fd]
mov dword [esp + 0x1c], ebx
setg ah
call fcn.100777c3
mov bh, byte [ecx + 0x4ea82686]
mov esi, 0x49a7fd4b
call 0x42ba92e0
les ebx, [edx]
xor byte [esp + ebx], ch
add ah, byte [esi + 0x63]
mov ebx, 0x233885ab
xchg byte [esi + 0xe], cl
xchg edi, eax
in al, 0x2f
fdivr dword [esi + 0x76eb8792]
pop es
xchg esp, eax
pop edi
and eax, 0xac254abf
dec ebx
add edi, ebx
mov bl, 0xa1
lodsd eax, dword [esi]
sbb dword [edi + 0x7d], esp
std
xchg edi, eax
inc ebp
xor ebp, dword [edi]
xor ah, byte [ecx - 0x3b]
nop
mov esi, 0x481c1a8d
fstp xword [ebx + 0x7e]
xchg esp, eax
shr bh, 0x94
out dx, eax
invalid
Function at 0x401e50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
mov edx, dword [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret

Function at 0x402000
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x402030
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret 8

Function at 0x40a561
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040a5e0
jae 0x40a56d
xor ecx, ecx
call fcn.0040a5e0
jae 0x40a597
xor eax, eax
call fcn.0040a5e0
jae 0x40a5a8
mov al, 0x10
call fcn.0040a5e0
adc al, al
jae 0x40a589
jne 0x40a5d5
stosb byte es:[edi], al
jmp 0x40a56e
call fcn.0040a5ec
dec ecx
loop 0x40a5b4
mov eax, ebp
call fcn.0040a5ea
jmp 0x40a5d6
lodsb al, byte [esi]
shr eax, 1
je 0x40a5fc
adc ecx, 2
mov ebp, eax
jmp 0x40a5d6
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040a5ea
cmp eax, 0x7d00
jae 0x40a5d4
cmp eax, 0x500
jae 0x40a5d5
cmp eax, 0x7f
ja 0x40a5d6
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40a56e
pop ebp
ret 8

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x524678a1
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x42483fbf
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x2c0e1fd0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x216455d7
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
popal
nop
nop
jmp 0x401219