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

Disassembly:
cmp ecx, dword [0x40301c]
jne 0x4014e5
repz ret
jmp fcn.004017f4
Function at 0x40700f
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [esp + 4]
push 0xfffffffffffffffb
pop eax
mov dl, byte [eax + ecx]
cmp dl, 0x90
je 0x407023
cmp dl, 0xcc
jne 0x40706d
inc eax
cmp eax, 0xffffffff
jle 0x407016
mov al, byte [ecx]
cmp al, 0x8b
je 0x407033
cmp al, 0x89
jne 0x40706d
cmp byte [ecx + 1], 0xff
jne 0x40706d
mov eax, 0x40189c
mov byte [ecx - 5], 0xe9
sub eax, ecx
mov dword [ecx - 4], eax
lea eax, [ecx + 2]
mov dword [0x436a10], eax
mov eax, 0xf9eb
push 0
push 0
mov word [ecx], ax
call dword [0x42a014]
push eax
call dword [0x42a034]
mov al, 1
ret 0xc
xor al, al
jmp 0x40706a
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x41cee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x41cf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cef8
mov eax, 1
add ebx, ebx
jne 0x41cf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cf10
jne 0x41cf2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf10
xor ecx, ecx
sub eax, 3
jb 0x41cf40
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41cfb2
mov ebp, eax
add ebx, ebx
jne 0x41cf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cf58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cf7c
inc ecx
add ebx, ebx
jne 0x41cf68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cf5d
jne 0x41cf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf5d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41cf9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cf8d
jmp 0x41cefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41cf9c
add edi, ecx
jmp 0x41cefe
pop esi
mov edi, esi
mov ecx, 0x157
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41cfba
cmp byte [edi], 0
jne 0x41cfba
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 eax, ebx
loop 0x41cfbf
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d02e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d0b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d100]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41cfec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d104]
or eax, eax
je 0x41d028
mov dword [ebx], eax
add ebx, 4
jmp 0x41d009
call dword [esi + 0x1d108]
popal
jmp 0x403ab4
Function at 0x9bc108
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009bc258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9bc12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9bc11a
add dl, dl
jne 0x9bc139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9bc18c
xor eax, eax
add dl, dl
jne 0x9bc146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9bc22d
add dl, dl
jne 0x9bc155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9bc160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9bc16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9bc176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9bc182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9bc125
mov eax, 1
add dl, dl
jne 0x9bc19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9bc1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9bc191
sub eax, ebx
mov ebx, 1
jne 0x9bc1d8
mov ecx, 1
add dl, dl
jne 0x9bc1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9bc1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9bc1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9bc125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9bc1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9bc1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9bc1e6
cmp eax, 0x7d00
jae 0x9bc21d
cmp eax, 0x500
jb 0x9bc218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9bc125
cmp eax, 0x7f
ja 0x9bc220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9bc125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9bc24e
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 0x9bc125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401452
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
xor eax, eax
push 3
inc eax
call fcn.00401392
cmp byte [0x403366], 0
jne 0x401534
push ebx
push edi
mov ebx, 0x403366
push ebx
push str.VisualFoxProRuntime.9
call fcn.004012d8
test eax, eax
mov edi, dword [sym.imp.MSVCR71.dll__access]
je 0x4014a5
push 0
push ebx
call edi
test eax, eax
pop ecx
pop ecx
je 0x4014a5
mov byte [0x403366], 0
jmp 0x401528
cmp byte [0x403366], 0
jne 0x401532
push 0x104
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40151f
add eax, 0xc
cmp eax, 0x105
jg 0x40151f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4020e8
lea eax, [ebp - 0x118]
push eax
call esi
push 3
call fcn.00401037
push eax
lea eax, [ebp - 0x118]
push eax
call esi
lea eax, [ebp - 0x118]
push 0
push eax
call edi
test eax, eax
pop ecx
pop ecx
pop esi
jne 0x40151f
push 1
lea eax, [ebp - 0x118]
push eax
mov edx, 0x106
mov ecx, ebx
call section..text
cmp byte [0x403366], 0
jne 0x401532
xor eax, eax
inc eax
push 3
call fcn.00401392
pop edi
pop ebx
leave
ret
Function at 0x401873
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x402140
call fcn.00401b5c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4018b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4018b3
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4018cb
cmp eax, 0x20b
je 0x4018b8
mov dword [ebp - 0x1c], ebx
jmp 0x4018df
cmp dword [ecx + 0x84], 0xe
jbe 0x4018b3
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4018d9
cmp dword [ecx + 0x74], 0xe
jbe 0x4018b3
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x403474], 0xffffffff
or dword [0x403478], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x403134]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x403130]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403470], eax
call fcn.00401ab6
call fcn.00401b56
cmp dword [0x403014], ebx
jne 0x40193f
push fcn.00401b56
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00401b44
push 0x40300c
push 0x403008
call sub.MSVCR71.dll__initterm
push 0x401afa
call fcn.00401aa4
mov eax, dword [0x40312c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403128]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x401993
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x403004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401a11
cmp al, bl
je 0x4019bd
cmp dword [ebp - 0x20], ebx
jne 0x401a11
mov al, byte [esi]
cmp al, bl
je 0x4019cd
cmp al, 0x20
ja 0x4019cd
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4019bd
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4019e9
movzx eax, word [ebp - 0x54]
jmp 0x4019ec
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004015b6
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x401a09
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x401a66
cmp al, 0x22
jne 0x401a20
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x401a33
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x4019ab
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00401b97
ret
Function at 0x40b2c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041cec0
push esi
mov esi, dword [ebp + 8]
cmp word [esi], 0
jne 0x40b2e3
xor al, al
jmp 0x40b44d
push ebx
push edi
push esi
call fcn.0040b45f
push esi
call fcn.004220a3
pop ecx
push esi
mov edi, eax
call fcn.0040b48b
test al, al
je 0x40b375
push esi
call fcn.0040b45f
test al, al
je 0x40b32c
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40b449
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.0040f160
push dword [ebp + 0x10]
jmp 0x40b43c
push 0x5c
pop eax
cmp word [esi], ax
jne 0x40b449
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x40b449
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x40b449
push esi
push str.__
push dword [ebp + 0xc]
call fcn.0040f160
push esi
push 0x4305ec
push dword [ebp + 0xc]
call fcn.0040f138
push esi
push ebx
jmp 0x40b43d
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40b449
cmp eax, ebx
ja 0x40b449
movzx eax, word [esi]
push eax
call fcn.0040b566
test al, al
je 0x40b3dc
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x40b449
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040f160
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.0040f138
jmp 0x40b43b
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040ae45
lea eax, [ebp - 0x1000]
push eax
call fcn.004220a3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x40b449
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040f160
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.0040f138
cmp word [esi], 0x2e
jne 0x40b43b
movzx eax, word [esi + 2]
push eax
call fcn.0040b566
test al, al
je 0x40b43b
add esi, 4
push edi
push esi
push dword [ebp + 0xc]
call fcn.0040f138
mov al, 1
jmp 0x40b44b
xor al, al
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40c083
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40c0a0
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40c098
cmp cl, byte [edx]
jne 0x40c0db
push esi
push edx
push 0xffffffffffffffff
call fcn.00405e83
not eax
mov ecx, ebx
cmp dword [ecx + 0x43a02c], eax
jne 0x40c0c1
cmp dword [ecx + 0x43a028], esi
je 0x40c0cc
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40c0b1
jmp 0x40c0db
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x43a030]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc
Function at 0xef6ac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0xd5000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0xef6ae7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0xef6aee
mov al, 1
jmp 0xef6be9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x50]
jne 0xef6b25
mov dword [ebp - 0x38], 1
jmp 0xef6b2c
mov dword [ebp - 0x38], 0
movzx edx, byte [ebp - 0x38]
test edx, edx
je 0xef6b3b
xor al, al
jmp 0xef6be9
mov dword [ebp - 0x5c], 0x20
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x3c]
call dword [ebp - 0x54]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0xef6b86
cmp dword [ebp - 0x30], 1
je 0xef6b8d
cmp dword [ebp - 0x30], 3
je 0xef6bdc
jmp 0xef6be7
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x28]
sub ecx, edx
mov dword [ebp - 0x34], ecx
je 0xef6bbc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.010c72bd
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0xef6bbc
xor al, al
jmp 0xef6be9
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0xef6bd0
mov dword [ebp - 0x40], 1
jmp 0xef6bd7
mov dword [ebp - 0x40], 0
mov al, byte [ebp - 0x40]
jmp 0xef6be9
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0xef6be9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010b7b7b
mov esp, ebp
pop ebp
ret
Function at 0xff0d70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.00fed4c0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xff0d9c
mov eax, 7
jmp 0xff0e4c
movzx ecx, byte [0xd50b24]
test ecx, ecx
je 0xff0db8
push 0xc8
call fcn.00ff1bf0
add esp, 4
test eax, eax
je 0xff0dcd
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
jmp 0xff0e1d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0xc31130
push 0
push 0
call fcn.010ccdba
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0xff0e1d
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0xff0e42
call dword [0xd250c0]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0xffe9f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0xffea40
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0xffead3
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.00fed9e0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0xffeaa1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.010e0660
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.00fec660
add esp, 0x10
mov eax, 7
jmp 0xffeaf6
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10afa40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
pop ebp
ret
Function at 0x10b4aa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebx + 0xc]
shl eax, 2
mov ecx, dword [ebx + 8]
lea edx, [ecx + eax*4]
push edx
mov eax, dword [ebx + 8]
push eax
call fcn.010b4c10
add esp, 8
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 0xc]
lea edx, [ecx*4 - 4]
mov dword [ebp - 8], edx
jmp 0x10b4afa
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
sub ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x10b4b48
mov eax, dword [ebp - 4]
mov ecx, dword [ebx + 8]
aesimc xmm0, xmmword [ecx + eax*4]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 8]
aesimc xmm0, xmmword [eax + edx*4]
movaps xmmword [ebp - 0x30], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 8]
movups xmm0, xmmword [ebp - 0x30]
movups xmmword [edx + ecx*4], xmm0
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 8]
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ecx + eax*4], xmm0
jmp 0x10b4ae8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
aesimc xmm0, xmmword [eax + edx*4]
movaps xmmword [ebp - 0x50], xmm0
mov ecx, dword [ebp - 4]
mov edx, dword [ebx + 8]
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [edx + ecx*4], xmm0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x10d52b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.010d512c
Function at 0x409776
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x417004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406e10
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4097d8
push 0x406dcc
mov ecx, esi
call fcn.00409c73
cmp dword [ebp - 0x6c], ebx
je 0x409880
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409880
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040ce40
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409865
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x409865
cmp dword [ebp - 0x70], 1
jne 0x409865
shr edi, 1
cmp edi, 0x32
jae 0x409865
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push 0x406db8
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [edi + edi]
mov edx, eax
cmp word [ebp + ecx - 0x6a], bx
je 0x409856
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x409856
cmp ecx, 0x64
jae 0x409892
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x409862
mov eax, 0x406dcc
push eax
jmp 0x40986a
push 0x406dcc
mov ecx, esi
call fcn.00409c73
cmp dword [ebp - 0x6c], ebx
je 0x40987f
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b163
leave
ret 8
call fcn.0040b293
int3

Function at 0x40bc26
Capabilities:
Parse pe header

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