joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10063e9
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1002350
call fcn.01006780
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1006424
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006424
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100643c
cmp eax, 0x20b
je 0x1006429
mov dword [ebp - 0x1c], edi
jmp 0x1006450
cmp dword [ecx + 0x84], 0xe
jbe 0x1006424
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100644a
cmp dword [ecx + 0x74], 0xe
jbe 0x1006424
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100869c], 0xffffffff
or dword [0x10086a0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1008690]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100868c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1008698], eax
call fcn.01006778
cmp dword [0x1008510], edi
jne 0x10064ad
push fcn.01006778
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01006761
push 0x1008024
push 0x1008020
call sub.msvcrt.dll__initterm
mov eax, dword [0x1008688]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1008684]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x38], eax
push 0x100801c
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x1006513
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x10065cd
mov dword [ebp - 0x20], esi
cmp word [esi], 0x22
jne 0x1006561
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x100652f
cmp ax, 0x22
jne 0x100651c
cmp word [esi], 0x22
jne 0x100653a
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x1006548
cmp ax, 0x20
jbe 0x1006535
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x54], 1
je 0x100656e
movzx eax, word [ebp - 0x50]
jmp 0x1006571
cmp word [esi], 0x20
jbe 0x100653a
add esi, ebx
mov dword [ebp - 0x20], esi
jmp 0x1006561
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.010068d5
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], edi
jne 0x1006592
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10065c7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010067bb
ret
Function at 0x94b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x94b1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x94b07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b06a
add dl, dl
jne 0x94b089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b0dc
xor eax, eax
add dl, dl
jne 0x94b096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x94b17d
add dl, dl
jne 0x94b0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x94b0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x94b075
mov eax, 1
add dl, dl
jne 0x94b0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x94b0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b0e1
sub eax, ebx
mov ebx, 1
jne 0x94b128
mov ecx, 1
add dl, dl
jne 0x94b10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94b119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x94b13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x94b14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x94b136
cmp eax, 0x7d00
jae 0x94b16d
cmp eax, 0x500
jb 0x94b168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
cmp eax, 0x7f
ja 0x94b170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x94b075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x94b19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x94b075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40141e
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push ebp
push esi
mov esi, dword [esp + 0x124]
push edi
mov edi, dword [esp + 0x128]
and esi, 1
push eax
and edi, 0x300
mov eax, edi
or eax, 9
push eax
push dword [esp + 0x12c]
push dword [esp + 0x12c]
call fcn.00406ae9
test eax, eax
jne 0x401530
xor ebp, ebp
test byte [esp + 0x128], 2
je 0x401493
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
jne 0x40150c
push 0x105
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
call ebp
test eax, eax
jne 0x4014e1
test esi, esi
jne 0x40150c
push dword [esp + 0x128]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call fcn.0040141e
test eax, eax
jne 0x4014e1
push 0x105
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x18]
call ebp
test eax, eax
je 0x4014b2
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.0040733b
test eax, eax
jne 0x40151d
push dword [esp + 0x124]
push dword [esp + 0x124]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x401530
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x401530
push 0
push edi
push dword [esp + 0x12c]
push dword [esp + 0x12c]
call eax
pop edi
pop esi
pop ebp
add esp, 0x110
ret 0xc
Function at 0x4039f8
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x403a17
mov eax, dword [0x415134]
test eax, eax
je 0x403a0f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x415134], 0
ret
cmp dword [0x415134], 0
je 0x403a28
push 0
call fcn.00406a56
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x447020]
jbe 0x403a5b
push 0
push 0x403e2f
push 0
push 0x6f
push dword [0x443014]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x415134], eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x406668
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x406682
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4
Function at 0x4069e9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
lea eax, [ebp - 0x120]
push esi
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
ja 0x406a23
test eax, eax
je 0x406a23
lea eax, [ebp + eax - 0x120]
cmp byte [eax - 1], 0x5c
je 0x406a29
mov ecx, 0x4096c0
jmp 0x406a2e
lea eax, [ebp - 0x120]
mov ecx, 0x4096c1
push dword [ebp + 8]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x406a84
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x406aa7
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406b17
pop ecx
pop ecx
inc dword [0x4470f0]
ret 8

Function at 0x406b17
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, 0x400
mov dword [0x43da50], 0x4c554e
mov ebp, 0x43da50
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
je 0x406b63
push 1
push 0
push esi
call fcn.00407370
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebp
push esi
call edi
test eax, eax
je 0x406c43
cmp eax, ebx
jg 0x406c43
push ebx
mov esi, 0x43d650
push esi
push dword [esp + 0x1c]
call edi
test eax, eax
je 0x406c43
cmp eax, ebx
jg 0x406c43
push esi
push ebp
push str._s_s_r_n
push 0x43d250
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x447038]
add esp, 0x10
mov ebp, eax
push dword [ecx + 0x128]
push esi
call fcn.004066e3
push 4
push 0xc0000000
push esi
call fcn.00407370
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406c43
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
lea ecx, [ebp + 0xa]
add ecx, esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x406c3c
push esi
push edi
push ebx
call fcn.0040739d
test eax, eax
je 0x406c3c
push str._Rename__r_n
push edi
call fcn.0040757c
test eax, eax
jne 0x406c48
push str._Rename__r_n
lea eax, [edi + esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esi, 0xa
mov ecx, esi
push ebp
push 0x43d250
lea eax, [ecx + edi]
push eax
call fcn.00407098
xor eax, eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esi + ebp]
push eax
push edi
push ebx
call fcn.0040745c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x409f14
add eax, 0xa
push eax
call fcn.0040757c
mov ecx, eax
test ecx, ecx
je 0x406c0d
lea edx, [edi + esi]
jmp 0x406c67
mov al, byte [edx]
mov byte [edx + ebp], al
dec edx
cmp edx, ecx
ja 0x406c61
sub ecx, edi
inc ecx
jmp 0x406c0f
Function at 0x406eaa
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
call fcn.004075e3
mov edi, eax
cmp edi, 0xffffffff
je 0x406ee0
test byte [ebp + 0xc], 1
push dword [ebp + 8]
je 0x406ee7
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x406eef
test byte [ebp + 0xc], 4
jne 0x406ee0
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop edi
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x406ecc
xor eax, eax
inc eax
jmp 0x406ee2

Function at 0x406f58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push dword [esp + 0xc]
mov ebx, 0x43b250
push ebx
call fcn.00407560
push ebx
call fcn.0040760b
mov esi, eax
test esi, esi
je 0x406fca
push esi
call fcn.00407782
test byte [0x447034], 0x80
je 0x406f8e
mov al, byte [esi]
test al, al
je 0x406fca
cmp al, 0x5c
je 0x406fca
sub esi, ebx
jmp 0x406fa6
call fcn.00406ef4
test eax, eax
je 0x406fa0
test byte [eax], 0x10
je 0x406fca
push ebx
call fcn.00407757
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
cmp eax, esi
jg 0x406f92
call fcn.00406e7d
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x406fcc
xor eax, eax
pop esi
pop ebx
ret 4

Function at 0x4070ba
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x439208], 0x44
lea eax, [ebp - 0x10]
push eax
push 0x439208
xor eax, eax
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4070f9
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x407370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
push 0
cmove eax, ecx
push eax
push dword [esp + 0x14]
push ecx
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x4073cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x2000
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00406ae9
mov edi, dword [ebp + 0x14]
test eax, eax
jne 0x40743c
push esi
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp + 0x18]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov byte [edi + 0x1fff], 0
pop esi
jne 0x40743c
cmp dword [ebp + 0x18], 1
je 0x40743f
cmp dword [ebp + 0x18], 2
je 0x40743f
mov byte [edi], 0
pop edi
leave
ret 0x14

Function at 0x407444
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
ret 4

Function at 0x4074a7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
add byte [ebp + 0xa], dl
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4074e6
test edi, edi
jne 0x4074b2
mov byte [esi], al
jmp 0x4074e8
mov eax, esi
pop edi
pop esi
pop ebp
ret 8

Function at 0x4075e3
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407605
mov ecx, esi
and ecx, 0xfffffffe
push ecx
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, esi
pop esi
ret 4

Function at 0x407860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43df94], 0
push esi
jne 0x40789a
xor ecx, ecx
push 8
mov edx, ecx
pop esi
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x407871
mov dword [ecx*4 + 0x43df90], edx
inc ecx
cmp ecx, 0x100
jl 0x40786c
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
not ecx
test edx, edx
je 0x4078c4
mov esi, dword [esp + 0xc]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43df90]
inc esi
sub edx, 1
jne 0x4078ac
not ecx
mov eax, ecx
pop esi
ret 0xc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
pushal
sub esp, 4
mov al, 1
inc al
jne 0x35004959
add esp, 0x90
add esp, 4
popal
mov dword [ebp - 0xc], 0x350217f4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx]
mov word [ebp - 2], dx
add dword [ebp - 0xc], 2
cmp word [ebp - 2], 0
jne 0x3500496a
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp + 8]
add edx, 0xfffffffe
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov cx, word [eax + 2]
mov word [ebp - 4], cx
add dword [ebp - 0x18], 2
cmp word [ebp - 4], 0
jne 0x35004997
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [0x3502cb10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x350049f6
call dword [0x3502d298]
cmp eax, 0xb7
jne 0x35004a40
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x10]
mov cx, word [eax]
mov word [ebp - 6], cx
add dword [ebp - 0x10], 2
cmp word [ebp - 6], 0
jne 0x35004a05
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x2c]
sar edx, 1
mov dword [ebp - 0x30], edx
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2 - 0x1e], ax
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x35025aec]
xor eax, eax
jmp 0x35004aae
mov dword [ebp - 0x34], 0
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [0x35025278]
push edx
push str.t__r__y3___oe
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x3502cd30]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov cx, word [eax]
mov word [ebp - 8], cx
add dword [ebp - 0x14], 2
cmp word [ebp - 8], 0
jne 0x35004a72
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x38]
sar edx, 1
mov dword [ebp - 0x3c], edx
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2 - 0x1e], ax
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x35025aec]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3500aa80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
pushal
sub esp, 4
mov al, 1
inc al
jne 0x3500aa9c
add esp, 0x90
add esp, 4
popal
pushal
push ebx
mov bx, 0xdb30
xor bl, bl
jne 0x3500aaa4
pop ebx
popal
mov dword [ebp - 8], 0
jmp 0x3500aabc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jge 0x3500ab1a
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x3500aadd
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x3500ab0b
mov eax, dword [ebp - 4]
and eax, 1
je 0x3500aafb
mov ecx, dword [ebp - 4]
shr ecx, 1
xor ecx, 0xedb88320
mov dword [ebp - 0x10], ecx
jmp 0x3500ab03
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x3500aad4
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x414], edx
jmp 0x3500aab3
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 0x14], 0
je 0x3500ab5f
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 4]
and eax, 0xff
mov ecx, dword [ebp - 4]
shr ecx, 8
xor ecx, dword [ebp + eax*4 - 0x414]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x3500ab21
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
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..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3b6246f6
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x64291cc2
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4076a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4076ec
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4076bb
jmp 0x4076ec
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4076dc
pop esi
pop ebp
ret

Function at 0x408124
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x408159
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x408183
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x408183
test edi, edi
je 0x408150
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x408150
test edi, edi
je 0x40818b
mov eax, edi
jmp 0x408152
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x408152
int3
Function at 0x40ace3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestLinkedList.exe_gMozillaPoisonSize], eax
call fcn.00408124
pop ecx
mov ecx, dword [sym.TestLinkedList.exe_gMozillaPoisonSize]
mov dword [sym.TestLinkedList.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ad1b
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestLinkedList.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

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

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