joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x470ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.00465d87
mov cl, byte [0x474df8]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x38]
call fcn.00460cb4
mov eax, dword [0x48daf8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x474d88
call fcn.004223a0
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.0041adb0
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 7
call fcn.0042f8c7
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x4227ed
mov edx, dword [esp + 0x34]
push edx
call fcn.00420670
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x4227ed
xor bl, bl
jmp 0x4227ef
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00465d19
test bl, bl
jne 0x422875
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0041adb0
mov eax, dword [eax]
mov byte [esp + 0x2c], 8
push eax
call fcn.00422730
add esp, 4
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x2c], 6
call fcn.00465d19
test bl, bl
jne 0x422847
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004208d0
add esp, 4
test al, al
jne 0x422875
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00422320
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00465d19
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.00422320
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00465d19
mov ecx, dword [esp + 0x24]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4314b4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4314d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00431076
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4314f7
test byte [esp + 8], 2
je 0x4314f7
call fcn.004310e9
mov dword [eax], 0xd
call fcn.004310f2
mov dword [eax], 5
jmp 0x4314d0
xor eax, eax
ret

Function at 0x43756a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x48ef98
cmp edx, dword [eax]
je 0x43758c
add eax, 8
inc ecx
cmp eax, 0x48f028
jl 0x43757d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x48ef98]
jne 0x4376ba
mov eax, dword [0x497718]
cmp eax, 1
je 0x437694
test eax, eax
jne 0x4375bd
cmp dword [0x48e61c], 1
je 0x437694
cmp edx, 0xfc
je 0x4376ba
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4375f4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00437760
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042ed20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x437637
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042ed20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4793d4
push edi
call fcn.0042f470
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00437760
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00437770
lea eax, [ebp - 0xa0]
push 0x4793b4
push eax
call fcn.00437770
push dword [esi + 0x48ef9c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00437770
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043c47b
add esp, 0x2c
pop edi
jmp 0x4376ba
lea eax, [ebp + 8]
lea esi, [esi + 0x48ef9c]
push 0
push eax
push dword [esi]
call fcn.0042ed20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44f0a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x44f140
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x44f0f2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x492778]
xor eax, edx
inc esi
cmp esi, edi
jl 0x44f0d3
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x44f11b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x492778]
xor eax, edx
inc esi
cmp esi, edi
jl 0x44f0fe
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x461bf7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x461c19
cmp dword [edi + 0x3c], 0
jne 0x461c19
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0046bbc1
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00461c46
pop edi
pop esi
pop ebx
ret 8

Function at 0x461c94
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0046bbc1
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x461cc5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00461cd8
pop edi
pop esi
pop ebx
ret 8
Function at 0x461fca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x470ffc
call fcn.00431aa0
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0046bbc1
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x462009
call fcn.0046bbc1
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x462017
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x462025
or eax, 0xffffffff
jmp 0x46210d
mov ecx, esi
call fcn.00461f40
mov dword [ebp - 0x14], eax
call fcn.00462dd6
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x46205c
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46205c
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00462d8a
push dword [ebp - 0x14]
call fcn.004628d8
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00461cd8
cmp eax, edi
je 0x4620cf
test byte [esi + 0x24], 0x10
je 0x46209d
push 4
mov ecx, esi
pop ebx
call fcn.004652bb
test ah, 1
je 0x462095
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.00464c14
cmp dword [esi + 0x1c], edi
je 0x4620cf
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046542c
jmp 0x4620cf
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4620e3
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4620fc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4620fc
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00461f7a
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x463286
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4632be
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046614c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00466124
jmp 0x4632ca
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x464ac2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x464b04
call fcn.0046bbc1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x464b04
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x464afb
xor eax, eax
jmp 0x464b0c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00464b12
pop edi
pop esi
pop ebx
ret 4

Function at 0x46c5c9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46c5f7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46c615
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046c52f
jmp 0x46c615
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46c615
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046c52f
test edi, edi
mov eax, edi
jne 0x46c5ff
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x451260
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov eax, dword [0x4964b4]
sub esp, 0x44
test eax, eax
jne 0x451281
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x24]
mov dword [0x4964b4], ecx
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov dword [0x480f20], 0x4000000
mov eax, dword [esp + 8]
and eax, 0xffff0000
cmp eax, 0x4000000
ja 0x4512ab
mov dword [0x480f20], eax
add esp, 0x44
ret

Function at 0x451520
Capabilities:
Get disk size

Disassembly:
mov ecx, dword [0x481154]
sub esp, 0x14
lea eax, [esp]
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
mov al, byte [esp + 0x14]
add esp, 0x14
test al, al
je 0x45157a
push ebx
push esi
push edi
mov edi, 0x407870
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x4515bc
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x18]
imul ecx, dword [esp + 8]
xor edx, edx
div ecx
cmp eax, dword [esp + 0xc]
sbb eax, eax
neg eax
add esp, 0x14
ret 4
mov al, 1
add esp, 0x14
ret 4

Function at 0x4517c0
Capabilities:
Terminate process

Disassembly:
push 0x4964b0
mov dword [0x481198], 0xf
call fcn.00439610
mov al, byte [0x480ed4]
test al, al
je 0x4517ec
push 0x1787
push 0
call fcn.00431710
add esp, 8
mov al, byte [0x4690c4]
test al, al
je 0x4517fa
call fcn.00415270
push 1
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x451810
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x4690c4]
test al, al
je 0x45181e
call fcn.00415270
mov al, byte [0x481161]
mov dword [0x481198], 0xf
test al, al
push 0x4964b0
je 0x451859
call fcn.00439610
push 0x1771
push 0
call fcn.00431710
add esp, 8
push 1
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00439610
push 0xff1
push 0
call fcn.00431730
add esp, 8
push 0
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x451880
Capabilities:
Terminate process

Disassembly:
mov al, byte [0x4690c4]
test al, al
je 0x45188e
call fcn.00415270
mov al, byte [0x481161]
test al, al
je 0x4518b9
push 0x4964b0
mov dword [0x481198], 0xe
call fcn.00439610
push 1
call fcn.0044a320
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x4ba
push 0
call fcn.00431660
add esp, 8
ret
Function at 0x414b5d
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x10]
shr edi, 2
mov ecx, edi
dec edi
test ecx, ecx
je 0x414b8b
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov esi, dword [edx]
add eax, esi
xor ecx, esi
mov dword [edx], ecx
add edx, 4
mov ecx, edi
dec edi
test ecx, ecx
jne 0x414b77
pop edi
pop esi
ret

Function at 0x414c23
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
imul ecx, ecx, 0x28
mov ecx, dword [ecx + eax + 0x24]
test ecx, 0x20000000
je 0x414c5c
test ecx, 0x40000000
je 0x414c55
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xe0
add eax, 0x40
jmp 0x414c6d
mov eax, 0x10
jmp 0x414c6d
mov eax, ecx
and eax, 0x80000000
cmp eax, 1
sbb eax, eax
and al, 0xfe
add eax, 4
test ecx, 0x4000000
je 0x414c7a
add eax, 0x200
ret
Function at 0x4431f0
Capabilities:
Terminate process

Disassembly:
mov ecx, eax
call dword [0x4476b8]
cmp dword [0x4480ec], 0
je 0x435084
cmp dword [0x447710], 0
je 0x435071
mov edx, 0xff
mov eax, 0x10
call dword [0x447710]
call dword [0x4476b8]
call dword [0x4476bc]
mov eax, ecx
jmp fcn.00436060
mov edx, 0xff
mov eax, 0x10
call fcn.00437f30
jmp 0x435071
push edx
push ebp
mov ebp, esp
mov eax, dword [0x447808]
add eax, 3
and al, 0xfc
mov edx, dword [0x447808]
sub esp, eax
mov eax, esp
add eax, edx
mov dword [0x44780c], eax
call fcn.00445020
mov edx, dword [0x448930]
mov eax, dword [0x44892c]
call fcn.00406950
jmp 0x435047

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x493439cb
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section._RDATA
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3d4b663c
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0xaa6e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x4f9000]
lea eax, [edi + 0x6309bc]
push dword [eax]
mov dword [eax], 0xb0ca9d42
push eax
push edi
or ebp, 0xffffffff
jmp 0xaa6e92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xaa6e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaa6e88
mov eax, 1
add ebx, ebx
jne 0xaa6eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xaa6ebc
jne 0xaa6edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaa6edb
dec eax
add ebx, ebx
jne 0xaa6ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xaa6ea0
add ebx, ebx
jne 0xaa6ed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xaa6f2d
xor ecx, ecx
sub eax, 3
jb 0xaa6ef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xaa6f62
sar eax, 1
mov ebp, eax
jmp 0xaa6efe
add ebx, ebx
jne 0xaa6efe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaa6ecc
inc ecx
add ebx, ebx
jne 0xaa6f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xaa6ecc
add ebx, ebx
jne 0xaa6f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xaa6f0e
jne 0xaa6f2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xaa6f0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xaa6f4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xaa6f3e
jmp 0xaa6e8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xaa6f4c
add edi, ecx
jmp 0xaa6e8e
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x461041
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xaa6f8b
cmp byte [edi], 0x5d
jne 0xaa6f70
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xaa6f6e
lea edi, [esi + 0x6a3000]
mov eax, dword [edi]
or eax, eax
je 0xaa6fd3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6da558]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6da654]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xaa6f91
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6da65c]
or eax, eax
je 0xaa6fcd
mov dword [ebx], eax
add ebx, 4
jmp 0xaa6fae
call dword [esi + 0x6da658]
mov ebp, dword [esi + 0x6da660]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0xaa7007
sub esp, 0xffffff80
jmp 0x619a38
Function at 0x5db1b0
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.005db140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005db140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005db140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005db140
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 0x5dbbfa
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 0x5dbc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5ed87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5dbc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5dbc52
xor eax, eax
pop esi
leave
ret 4

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa000089
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x16782942
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219