joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4052d5
Capabilities:
Create directory

Disassembly:
mov eax, 0x424522
call fcn.00418f58
sub esp, 0x38
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405304
mov al, 1
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405315
xor al, al
jmp 0x4052f5
lea ecx, [ebp - 0x44]
call fcn.004059d1
lea ecx, [ebp - 0x1c]
call fcn.0040436a
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00405aab
test al, al
jne 0x405344
push dword [ebp - 0x1c]
call fcn.00403f1a
pop ecx
mov al, bl
jmp 0x4052f5
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
jmp 0x405337

Function at 0x4054fd
Capabilities:
Set file attributes

Disassembly:
push ebp
sub esp, 0x54
mov eax, 0x424566
call fcn.00418f58
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
lea ecx, [ebp - 0x44]
mov byte [ebp + 0x57], bl
call fcn.004059d1
lea ecx, [ebp - 0x1c]
call fcn.0040436a
push dword [esi]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00405aab
test al, al
jne 0x40554a
push dword [ebp - 0x1c]
call fcn.00403f1a
pop ecx
xor al, al
jmp 0x40567e
mov eax, dword [ebp - 0x24]
shr eax, 4
test bl, al
jne 0x405561
push 0x10b
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40553a
mov eax, dword [ebp - 0x24]
shr eax, 0xa
test bl, al
je 0x40556f
mov byte [ebp + 0x57], 0
or dword [ebp - 4], 0xffffffff
push edi
push dword [ebp - 0x1c]
call fcn.00403f1a
cmp byte [ebp + 0x57], 0
pop ecx
je 0x40563e
push esi
lea ecx, [ebp + 0x48]
call fcn.00404402
push 0x5c
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], ebx
call fcn.00402af1
mov edi, dword [ebp + 0x4c]
lea ecx, [ebp + 0x38]
call fcn.004054ce
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 2
call fcn.00405a03
lea ecx, [ebp]
call fcn.004059d1
lea ecx, [ebp + 0x28]
call fcn.0040436a
mov byte [ebp - 4], 3
jmp 0x40560b
cmp edi, dword [ebp + 0x4c]
jae 0x4055df
mov ecx, dword [ebp + 0x48]
xor eax, eax
mov dword [ebp + 0x4c], edi
mov word [ecx + edi*2], ax
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp + 0x48]
call fcn.00404641
mov eax, dword [ebp + 0x20]
shr eax, 4
test bl, al
je 0x4055ff
lea ecx, [ebp + 0x48]
call fcn.004054fd
jmp 0x405607
mov ecx, dword [ebp + 0x48]
call fcn.00405098
test al, al
je 0x405651
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.00405a39
test al, al
jne 0x4055ce
push dword [ebp + 0x28]
call fcn.00403f1a
push dword [ebp + 0x3c]
call fcn.00403f1a
pop ecx
pop ecx
lea ecx, [ebp + 0x38]
call fcn.004057e1
push dword [ebp + 0x48]
call fcn.00403f1a
pop ecx
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x405676
xor al, al
jmp 0x40567d
push dword [ebp + 0x28]
call fcn.00403f1a
push dword [ebp + 0x3c]
call fcn.00403f1a
pop ecx
pop ecx
lea ecx, [ebp + 0x38]
call fcn.004057e1
push dword [ebp + 0x48]
call fcn.00403f1a
pop ecx
jmp 0x40564d
mov ecx, dword [esi]
call fcn.0040507c
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x58
leave
ret
Function at 0x4059f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x405a02
or eax, eax
ret

Function at 0x405f4d
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405f73
xor al, al
jmp 0x405f93
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041b7e0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x406596
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [esi]
and dword [esi + 4], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
push edi
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.0040442a
dec edi
mov eax, 0x103
cmp eax, edi
sbb eax, eax
inc eax
pop edi
leave
ret
Function at 0x411999
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x424d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 4], 0x425fb4
mov dword [esi + 8], 0x425fb4
mov dword [esi + 0xc], 0x4258bc
mov dword [esi + 0x10], 0x425fb4
mov dword [esi + 0x14], 0x425fb4
mov dword [esi + 0x18], 0x4258bc
mov dword [esi + 0x1c], ebx
mov eax, 0x40000
mov dword [esp + 8], esi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x58], eax
push 0x403419
push 0x407813
push 4
push 4
lea eax, [esi + 0xa0]
push eax
mov dword [esp + 0x28], ebx
mov dword [esi], 0x425d24
mov dword [esi + 4], 0x425d14
mov dword [esi + 8], 0x425d04
mov dword [esi + 0xc], 0x425cf0
mov dword [esi + 0x10], 0x425ce0
mov dword [esi + 0x14], 0x425cd0
mov dword [esi + 0x18], 0x425cbc
call fcn.0041b3b6
mov ecx, dword [esp + 0xc]
mov byte [esi + 0xb0], bl
mov byte [esi + 0xb1], bl
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4141f0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41421a
cmp dword [esp + 4], 6
jne 0x41421a
cmp dword [esp + 8], 0
je 0x414244
push str.SetDefaultDllDirectories
push 0x4257fc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414244
push 0xc00
call eax
test eax, eax
jne 0x4142f7
push 0x106
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4142f7
cmp eax, 0x104
ja 0x4142f7
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esp + eax*2 + 0x112], 0x5c
je 0x414291
mov ecx, 0x5c
mov word [esp + eax*2 + 0x114], cx
inc eax
cmp byte [str.UXTHEME], 0
push esi
mov esi, str.UXTHEME
je 0x4142f6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ebp, [esp + eax*2 + 0x124]
mov ecx, ebp
jmp 0x4142c0
mov al, byte [esi]
movzx dx, al
mov word [ecx], dx
inc esi
add ecx, 2
test al, al
jne 0x4142c0
push str..dll
lea eax, [esp + 0x128]
push eax
call edi
push 8
push 0
lea ecx, [esp + 0x12c]
push ecx
call ebx
cmp byte [esi], 0
jne 0x4142b6
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x3e4
ret
Function at 0x418657
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
xor ebx, ebx
or eax, 0xffffffff
push esi
mov esi, ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov ecx, 1
push edi
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
cmp eax, 0x20
jbe 0x4186bb
mov eax, 0x20
mov dword [esi + 0x54], eax
mov eax, dword [esi]
push ebp
mov dword [esi + 0x58], ebx
cmp eax, dword [esi + 0x20]
je 0x418719
lea ebp, [esi + 0xd0]
mov dword [esp + 0x10], 0x20
mov edx, dword [ebp]
cmp edx, ebx
je 0x4186f9
mov dword [ebp], ebx
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x14]
mov eax, dword [ecx + 4]
mov edi, dword [edx]
call eax
mov edx, edi
cmp edi, ebx
jne 0x4186e1
mov ecx, 1
add ebp, 0x28
sub dword [esp + 0x10], ecx
jne 0x4186d7
mov edx, dword [esi + 0x5c]
cmp edx, ebx
je 0x418714
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 4]
call eax
mov dword [esi + 0x5c], ebx
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x98], edx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov eax, dword [esi + 0x58]
lea ecx, [eax + eax*4 + 0x19]
lea ebp, [esi + ecx*8]
inc eax
lea ecx, [ebp + 0x20]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x58], eax
cmp dword [ecx], ebx
je 0x418762
call fcn.004188a0
jmp 0x418767
call fcn.00418900
cmp eax, ebx
jne 0x418783
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp + 0x1c]
je 0x41877a
call fcn.004188a0
jmp 0x41877f
call fcn.00418900
cmp eax, ebx
je 0x418789
mov edi, eax
cmp eax, ebx
jne 0x4187bb
lea ecx, [ebp + 0x20]
call fcn.00418880
mov edi, eax
cmp edi, ebx
jne 0x4187bd
lea ecx, [ebp + 0x1c]
call fcn.00418880
mov edi, eax
cmp edi, ebx
jne 0x4187bd
push ebp
call fcn.004183d0
mov edi, eax
cmp edi, ebx
je 0x4187bd
mov eax, esi
mov dword [esi + 0x44], ebx
call fcn.00417700
cmp edi, ebx
pop ebp
jle 0x4187c9
movzx edi, di
or edi, 0x80070000
cmp edi, ebx
je 0x4187d0
mov dword [esi + 0x40], edi
cmp dword [esi + 0x38], ebx
jne 0x4187e2
cmp dword [esi + 0x40], ebx
jne 0x4187e2
cmp dword [esi + 0x3c], ebx
jne 0x4187e2
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x44]
neg eax
sbb eax, eax
not eax
and eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x418840
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041bc1d
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x418868
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x418877
mov eax, 1
ret 4
Function at 0x41cc5b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b170]
jne 0x41cc65
repz ret
jmp fcn.00420047

Function at 0x420f41
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041ccdc
and dword [ebp - 4], 0
cmp dword [0x42cabc], 0
mov ebx, eax
jne 0x420ff2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4210a3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4210a3
push eax
call fcn.0041cc6a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42cabc], eax
call esi
push eax
call fcn.0041cc6a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42cac0], eax
call esi
push eax
call fcn.0041cc6a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42cac4], eax
call esi
push eax
call fcn.0041cc6a
pop ecx
mov dword [0x42cacc], eax
test eax, eax
je 0x420ff2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041cc6a
pop ecx
mov dword [0x42cac8], eax
mov eax, dword [0x42cac8]
cmp eax, ebx
je 0x42104a
cmp dword [0x42cacc], ebx
je 0x42104a
push eax
call fcn.0041cce5
push dword [0x42cacc]
mov esi, eax
call fcn.0041cce5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42104a
test edi, edi
je 0x42104a
call esi
test eax, eax
je 0x421041
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x421041
test byte [ebp - 0xc], 1
jne 0x42104a
or dword [ebp + 0x10], 0x200000
jmp 0x421083
mov eax, dword [0x42cac0]
cmp eax, ebx
je 0x421083
push eax
call fcn.0041cce5
pop ecx
test eax, eax
je 0x421083
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x421083
mov eax, dword [0x42cac4]
cmp eax, ebx
je 0x421083
push eax
call fcn.0041cce5
pop ecx
test eax, eax
je 0x421083
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42cabc]
call fcn.0041cce5
pop ecx
test eax, eax
je 0x4210a3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4210a5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x431005
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401608
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
test esi, esi
sete dl
test ebx, ebx
sete al
xor ecx, ecx
or dl, al
jne 0x401727
mov edx, dword [ebp + 0xc]
lea eax, [edx*4 + 0xb]
mov edx, 0xc
mov ecx, edx
cdq
idiv ecx
lea eax, [eax*4 + 1]
cmp dword [ebp + 0x14], eax
jge 0x40168f
push 0x6f
call sub.KERNEL32.DLL_SetLastError
xor ecx, ecx
jmp 0x401727
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.5i31kwgw]
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
mov byte [ecx + 1], al
add ecx, 4
jmp 0x40171f
and eax, 0xf
movzx eax, byte [eax*4 + section.5i31kwgw]
mov byte [ecx + 3], 0x3d
mov byte [ecx + 2], al
mov ecx, esi
jmp 0x40171f
xor edi, edi
cmp edi, dword [ebp + 0xc]
mov ecx, esi
jge 0x40171f
movzx eax, byte [ebx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.5i31kwgw]
mov byte [esi], al
mov esi, dword [ebp + 0xc]
movzx eax, byte [ebx]
sub esi, edi
cmp esi, 1
je 0x401656
mov edx, eax
and edx, 3
shl edx, 4
movzx eax, byte [ebx + 1]
shr al, 4
movzx eax, al
or edx, eax
cmp esi, 2
lea esi, [ecx + 4]
movzx eax, byte [edx + section.5i31kwgw]
mov byte [ecx + 1], al
movzx eax, byte [ebx + 1]
je 0x401676
mov edx, eax
movzx eax, byte [ebx + 2]
and edx, 0xf
add edi, 3
shl edx, 2
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.5i31kwgw]
mov byte [ecx + 2], al
movzx eax, byte [ebx + 2]
add ebx, 3
and eax, 0x3f
movzx eax, byte [eax + section.5i31kwgw]
mov byte [ecx + 3], al
jmp 0x401691
mov byte [ecx], 0
mov ecx, 1
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401732
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
push 0
push 0xa7
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
sete dl
test eax, eax
sete al
xor ecx, ecx
or dl, al
jne 0x401818
push 0
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_GetFileSize
push eax
push 0
mov dword [ebp - 0x14], eax
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapAlloc
test eax, eax
mov edi, eax
je 0x4017b9
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4017c5
push edi
push 0
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapFree
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_CloseHandle
xor ecx, ecx
jmp 0x401818
mov eax, dword [ebp - 0x14]
mov edx, 0xc
mov ebx, edx
xor edx, edx
lea ecx, [eax*4 + 0xb]
mov eax, ecx
div ebx
lea esi, [eax*4 + 1]
push esi
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
push esi
mov ebx, eax
push eax
push dword [ebp - 0x14]
push edi
call fcn.00401608
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [edx], eax
push edi
push 0
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapFree
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, ebx
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x54fe3b6d
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2fd314cc
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x52dd4078
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f3a4504
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4063d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4334c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x43437c]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24c], ebx
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4340c0]
cmp eax, dword [ecx + 4]
jg 0x406597
cmp dword [0x433498], 0
jne 0x40657a
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.004071b0
test al, al
jne 0x406489
push esi
lea eax, [ebp - 0x1c]
push str._05d
push eax
call fcn.00401250
mov esi, eax
add esp, 0xc
cmp esi, 0x433488
je 0x406571
mov ecx, dword [0x43349c]
cmp ecx, 0x10
jb 0x40652e
mov edx, dword [0x433488]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x406524
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4065cd
jmp 0x406524
push edi
push 0
push 2
mov dword [ebp - 0x24c], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov edi, eax
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0040fc00
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4064f7
cmp dword [ebp - 0x240], esi
je 0x4064eb
lea eax, [ebp - 0x248]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4064d0
jmp 0x4064f7
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x24c], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x24c]
lea eax, [ebp - 0x1c]
push str._05d__05d
push eax
call fcn.00401250
add esp, 0x10
mov esi, eax
cmp esi, 0x433488
pop edi
jmp 0x406446
push ecx
push edx
call fcn.0040e1d3
add esp, 8
mov dword [0x433498], 0
mov dword [0x43349c], 0xf
mov byte [0x433488], 0
movups xmm0, xmmword [esi]
movups xmmword [0x433488], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x433498], xmm0
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [esi + 0x14], 0xf
lea ecx, [ebp - 0x1c]
call fcn.004014b0
pop esi
push 0x433488
mov ecx, ebx
call fcn.00402650
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040e1e1
mov esp, ebp
pop ebp
ret
push 0x4340c0
call fcn.0040e4b4
add esp, 4
cmp dword [0x4340c0], 0xffffffff
jne 0x40640d
push 0x4273a0
call fcn.0040e44e
push 0x4340c0
call fcn.0040e463
add esp, 8
jmp 0x40640d
call fcn.004115ef
int3