joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001afc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001afd0
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001afed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x26
jl 0x1001afd0
mov byte [esi + 0x26], 0
mov eax, esi
ret

Function at 0x1001b000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 2
xor ecx, ecx
jmp 0x1001b010
mov al, byte [edi + ecx - 0x321a2a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b02d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0x20
jl 0x1001b010
mov byte [esi + 0x20], 0
mov eax, esi
ret

Function at 0x1001b740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x29
xor ecx, ecx
jmp 0x1001b750
mov al, byte [edi + ecx + 0x1e7b41dd]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b76d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b750
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b780
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x6c
xor ecx, ecx
jmp 0x1001b790
mov al, byte [edi + ecx + 0x6fad512a]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b7ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b790
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001b7c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x49
xor ecx, ecx
jmp 0x1001b7d0
mov al, byte [edi + ecx + 0x16440e0f]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001b7ed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001b7d0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001bed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0xfa
xor ecx, ecx
jmp 0x1001bee0
mov al, byte [edi + ecx - 0x2b3158]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001befd
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001bee0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1f
xor ecx, ecx
jmp 0x1001c1d0
mov al, byte [edi + ecx - 0x97d5a03]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c1ed
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c1d0
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x1d
xor ecx, ecx
jmp 0x1001c590
mov al, byte [edi + ecx - 0x1a1d45]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001c5ad
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001c590
mov byte [esi + 0xc], 0
mov eax, esi
ret

Function at 0x1001c9f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x58
xor ecx, ecx
jmp 0x1001ca00
mov al, byte [edi + ecx - 0x221f1b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x1001ca1d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x1001ca00
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x1001d9d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100215f8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x1001da33
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.1001d790
mov ecx, esi
call fcn.1001d840
mov ecx, edi
mov ebx, esi
call fcn.1001d920
cmp dword [ebp + 0x1c], 0x10
jb 0x1001da62
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e242
mov esp, ebp
pop ebp
ret
Function at 0x1001dd60
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020da8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002e018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor edx, edx
mov ecx, 0x49
xor eax, eax
lea esp, [esp]
mov bl, byte [eax + 0x100297ac]
xor bl, cl
inc ecx
and ecx, 0x800000ff
mov byte [ebp + eax - 0x20], bl
jns 0x1001ddbd
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x1001dda0
mov byte [ebp - 0x14], dl
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], edx
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
push edx
call fcn.1001db20
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x30]
call dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x1001de11
xor eax, eax
jmp 0x1001de48
push esi
push eax
call fcn.1001db20
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1001de0d
test edi, edi
jle 0x1001de3f
lea eax, [ebp + 0xc]
mov ecx, edi
jmp 0x1001de30
mov edx, dword [eax + 4]
add eax, 4
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
dec ecx
jne 0x1001de30
call dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001e242
mov esp, ebp
pop ebp
ret

Function at 0x1001e242
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002e018]
jne 0x1001e24c
repz ret
jmp fcn.1001e70b

Function at 0x1001ecc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1001ed31
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1001ed31
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1001ed1a
jmp 0x1001ed31
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], str.Failed
mov dword [ebp - 0x114], 0x104
push str.website
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401240
add esp, 8
test eax, eax
je 0x401059
push 1
push 0
push 0
push str.http:__www.hp.com_
push 0x408170
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x401206
push 0x104
push 0
lea ecx, [ebp - 0x110]
push ecx
call fcn.00401480
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x110]
push eax
call fcn.004013f0
add esp, 4
movsx ecx, byte [ebp + eax - 0x111]
cmp ecx, 0x5c
je 0x4010b1
push 0x408178
lea edx, [ebp - 0x110]
push edx
call fcn.00401290
add esp, 8
push str.Lang.txt
lea eax, [ebp - 0x110]
push eax
call fcn.00401290
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov word [ebp - 0x53c], ax
push 0xa
lea ecx, [ebp - 0x538]
push ecx
movzx edx, word [ebp - 0x53c]
push edx
call fcn.004013bc
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
lea edx, [ebp - 0x328]
push edx
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x538]
push ecx
push str.LANGUAGES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x118]
push edx
lea eax, [ebp - 0x328]
push eax
call fcn.00401220
add esp, 8
test eax, eax
jne 0x40115d
push 0x104
push 0
lea ecx, [ebp - 0x328]
push ecx
call fcn.00401480
add esp, 0xc
push str.English
lea edx, [ebp - 0x328]
push edx
call fcn.00401280
add esp, 8
lea eax, [ebp - 0x430]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.00401480
add esp, 0xc
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00401280
add esp, 8
push 0x40819c
lea ecx, [ebp - 0x220]
push ecx
call fcn.00401290
add esp, 8
lea edx, [ebp - 0x328]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00401290
add esp, 8
push str.Manuals_
lea ecx, [ebp - 0x220]
push ecx
call fcn.00401290
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.00401290
add esp, 8
push 1
push 0
push 0
lea ecx, [ebp - 0x220]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004014fa
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4014fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401504
repz ret
jmp fcn.00401c1a
Function at 0x405853
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.0040279a
and dword [ebp - 4], 0
cmp dword [0x40b5d8], 0
mov ebx, eax
jne 0x405904
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4059b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4059b5
push eax
call fcn.00402728
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b5d8], eax
call esi
push eax
call fcn.00402728
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b5dc], eax
call esi
push eax
call fcn.00402728
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b5e0], eax
call esi
push eax
call fcn.00402728
pop ecx
mov dword [0x40b5e8], eax
test eax, eax
je 0x405904
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402728
pop ecx
mov dword [0x40b5e4], eax
mov eax, dword [0x40b5e4]
cmp eax, ebx
je 0x40595c
cmp dword [0x40b5e8], ebx
je 0x40595c
push eax
call fcn.004027a3
push dword [0x40b5e8]
mov esi, eax
call fcn.004027a3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40595c
test edi, edi
je 0x40595c
call esi
test eax, eax
je 0x405953
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405953
test byte [ebp - 0xc], 1
jne 0x40595c
or dword [ebp + 0x10], 0x200000
jmp 0x405995
mov eax, dword [0x40b5dc]
cmp eax, ebx
je 0x405995
push eax
call fcn.004027a3
pop ecx
test eax, eax
je 0x405995
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405995
mov eax, dword [0x40b5e0]
cmp eax, ebx
je 0x405995
push eax
call fcn.004027a3
pop ecx
test eax, eax
je 0x405995
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b5d8]
call fcn.004027a3
pop ecx
test eax, eax
je 0x4059b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4059b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
or ebp, 0xffffffff
jmp 0x43f032
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43f039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43f028
mov eax, 1
add ebx, ebx
jne 0x43f04b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43f040
jne 0x43f05c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f040
xor ecx, ecx
sub eax, 3
jb 0x43f070
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43f0e2
mov ebp, eax
add ebx, ebx
jne 0x43f07b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43f088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43f0ac
inc ecx
add ebx, ebx
jne 0x43f098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43f08d
jne 0x43f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43f08d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43f0cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43f0bd
jmp 0x43f02e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43f0cc
add edi, ecx
jmp 0x43f02e
pop esi
mov edi, esi
mov ecx, 0xe2d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43f0ea
cmp byte [edi], 1
jne 0x43f0ea
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 0x43f0ef
lea edi, [esi + 0x3c000]
mov eax, dword [edi]
or eax, eax
je 0x43f167
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x40294]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x40360]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43f11c
mov ecx, edi
jns 0x43f14b
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 + 0x40368]
or eax, eax
je 0x43f161
mov dword [ebx], eax
add ebx, 4
jmp 0x43f139
call dword [esi + 0x40364]
mov ebp, dword [esi + 0x4036c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x43f19b
sub esp, 0xffffff80
jmp 0x407db7
Function at 0x405ac2
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
test ecx, 0x4000000
je 0x405ad5
mov eax, 0x200
push esi
mov esi, ecx
and esi, 0x20000000
push edi
mov edx, 0x40000000
mov edi, 0x80000000
je 0x405af3
test edx, ecx
je 0x405af3
test edi, ecx
jne 0x405b21
test esi, esi
je 0x405b00
test edx, ecx
je 0x405b00
or eax, 0x20
jmp 0x405b24
mov esi, ecx
and esi, edx
je 0x405b0f
test edi, ecx
je 0x405b18
or eax, 4
jmp 0x405b24
test edi, ecx
je 0x405b18
or eax, 8
jmp 0x405b24
test esi, esi
je 0x405b21
or eax, 2
jmp 0x405b24
or eax, 0x40
pop edi
pop esi
ret

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

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

Function at 0x1001d9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.01003560
lea eax, [ebp - 0x1210]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x1001dc7
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitThread]
mov dword [ebp - 0x20c], 0
jmp 0x1001de2
mov ecx, dword [ebp - 0x20c]
add ecx, 1
mov dword [ebp - 0x20c], ecx
cmp dword [ebp - 0x20c], 0x400
jae 0x1001e10
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp + edx*4 - 0x1210]
add eax, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x20c]
mov dword [ebp + ecx*4 - 0x1210], eax
jmp 0x1001dd3
mov esp, ebp
pop ebp
ret
Function at 0x99768c
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 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x378a5581
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, str._08
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x30e13424
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x289461ef
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x537d70c7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1000158f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push reloc.OLEAUT32.dll_SysStringLen
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x9dc
call fcn.10027ab0
add esp, 0x10
mov dword [ebp - 4], eax
push dword [ebp + 0x14]
call fcn.1000160e
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
push 0
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001603
push 0x60
push 0x402f3bb
push 6
call fcn.1002737b
add esp, 0xc
jmp 0x10001608
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1000cbce
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp byte [ebp + 0xc], 0
jne 0x1000cbfa
mov byte [ebp + 0xc], 0x20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], al
push dword [ebp + 8]
call fcn.1000cc6e
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], esp
push 0x40
push 0x1000
mov eax, dword [ebp + 0xc]
and eax, 0xff
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000cc55
push 0xc9
push 0x403c5be
push 6
call fcn.1002737b
add esp, 0xc
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
call fcn.1000ccb8
mov eax, dword [ebp - 0xc]
jmp 0x1000cc68
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1000dd01
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp byte [ebp + 0xc], 0
jne 0x1000dd26
mov byte [ebp + 0xc], 0x20
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], al
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
mov eax, dword [ebp + 0xc]
and eax, 0xff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000dd76
push 0x95
push 0x403c5c3
push 6
call fcn.1002737b
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x1000dd81
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1001c9f9
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
xor eax, eax
call dword [0x10055945]
nop
nop
cmp dword [ebp - 4], esp
je 0x1001ca31
push 0x24
push 0x403e25b
push 6
call fcn.1002737b
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1001ca4f
pushal
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
popal
leave
ret 0xc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10027bf0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x154]
push ebp
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esp + 0x154]
xor ebp, ebp
test edi, edi
je 0x10027c70
push edi
call dword [0x10055eec]
add esp, 4
test eax, eax
jbe 0x10027c70
test esi, esi
je 0x10027c2e
cmp esi, 0xffffffff
je 0x10027c2e
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebx], esi
je 0x10027cb2
mov eax, dword [esp + 0x15c]
test eax, eax
je 0x10027c5c
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
je 0x10027c70
jmp 0x10027c6b
mov edx, dword [esp + 0x158]
mov eax, dword [esp + 0x10]
test edx, eax
je 0x10027c70
mov ebp, 1
test esi, esi
je 0x10027cb2
cmp esi, 0xffffffff
je 0x10027cb2
test ebp, ebp
jne 0x10027ce9
mov eax, dword [esp + 0x15c]
mov edi, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
lea eax, [esp + 0x10]
push eax
push esi
je 0x10027cbf
call edi
test eax, eax
je 0x10027cb2
mov ecx, dword [esp + 0x10]
and ecx, 0x10
cmp cl, 0x10
jne 0x10027ce9
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x10027c9a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x140
ret
call edi
test eax, eax
je 0x10027cb2
mov ebx, dword [esp + 0x158]
test dword [esp + 0x10], ebx
jne 0x10027ce9
lea ecx, [esp + 0x10]
push ecx
push esi
call edi
test eax, eax
jne 0x10027ccc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret
lea edx, [esp + 0x3c]
push edx
call dword [0x10055eec]
inc eax
push eax
call fcn.100277a0
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret

Function at 0x1002bc70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1002bc8e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1002bc83
pop esi
ret