joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451e90
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x451f93
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call sym.runtime.startPCforTrace
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x48af80]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x541d3c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.runtime._traceStackTable_.put
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.runtime.traceEvent
add esp, 0x28
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.traceGoCreate
Function at 0x4538d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x453a66
sub esp, 0x28
movzx eax, byte [esp + 0x2c]
movzx ebx, al
add ebx, dword [edx + 4]
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
mov edi, esi
shl esi, 8
or ebp, esi
shr edi, 0x18
movzx esi, byte [ebx + 2]
mov ecx, esi
shr esi, 0x10
or esi, edi
shl ecx, 0x10
or ecx, ebp
movzx ebp, byte [ebx + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [ebx + 4]
or esi, ebp
movzx ebp, byte [ebx + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [ebx + 6]
shl ebp, 0x10
or esi, ebp
movzx ebx, byte [ebx + 7]
shl ebx, 0x18
or edi, ecx
or ebx, esi
movzx ebp, byte [esp + 0x2d]
xchg ebp, eax
cmp al, 8
xchg ebp, eax
jae 0x4539f3
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], edi
shl ebp, 3
lea ecx, [ebp - 0x40]
neg ecx
mov byte [esp + 9], cl
shl ebx, cl
mov esi, edi
shl esi, cl
add ebp, 0xffffffe0
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
mov ecx, ebp
shr edi, cl
mov dword [esp + 0x18], edi
neg ecx
mov byte [esp + 0xa], cl
mov eax, dword [esp + 0x1c]
shl eax, cl
movzx edx, byte [esp + 9]
cmp dl, 0x20
sbb edi, edi
mov dword [esp + 0x1c], edi
and ebx, edi
and esi, edi
mov ecx, edx
shr esi, cl
and esi, edi
mov dword [esp + 0x14], esi
movzx esi, byte [esp + 0xa]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb edi, edi
and eax, edi
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb ebp, ebp
mov edx, dword [esp + 0x18]
and edx, ebp
or ebx, edx
or ebx, eax
mov eax, ecx
mov ecx, esi
mov edx, ebx
shr edx, cl
and edi, edx
mov ecx, eax
mov eax, ebx
shr eax, cl
movzx ecx, byte [esp + 0xb]
shl ebx, cl
and ebx, ebp
mov edx, dword [esp + 0x14]
or ebx, edx
mov edx, dword [esp + 0x1c]
and eax, edx
or edi, ebx
mov edx, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 8]
mov dword [esp + 0x20], eax
call sym.runtime.printlock
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov dword [esp], eax
call sym.runtime.printhex
call sym.runtime.printunlock
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
movzx ecx, byte [esp + 0x2c]
mov byte [esp], cl
movzx ecx, byte [esp + 0x2e]
mov byte [esp + 1], cl
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x453a62
call sym.runtime.printlock
lea eax, [0x4d1488]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
add esp, 0x28
ret
call sym.runtime.morestack
jmp sym.runtime.printArgs.func2
Function at 0x4551b0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45524b
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x55d75c]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045da37
lea ecx, [sym.runtime.callers.func1]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call sym.runtime.systemstack
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.callers
Function at 0x45a720
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45a880
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call sym.runtime.lock2
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45a869
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call sym.runtime._pollDesc_.publishInfo
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call sym.runtime.netpollunblock
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45a7f0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x55d830]
test eax, eax
jne 0x45a7d7
mov eax, dword [esp + 0x20]
jmp 0x45a7e5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45a827
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call sym.runtime.deltimer
mov eax, dword [0x55d830]
test eax, eax
jne 0x45a812
mov eax, dword [esp + 0x20]
jmp 0x45a820
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45a84d
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45a865
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.netpollgoready
add esp, 0x1c
ret
lea eax, [0x49e33c]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.internal_poll.runtime_pollUnblock

Function at 0x45d740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x55d644], 0
je 0x45d75a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x45d760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x55d644], 0
je 0x45d77b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x45e5d0
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x45e5ea
mov ecx, 0x14
jmp 0x45e5f3
shl ecx, 2
add ecx, 0xe10
mov dword [0x55d75c], ecx
ret
Function at 0x4822d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x55d75c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x482371
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx], ecx
jne 0x482367
movzx ecx, byte [eax + 4]
cmp byte [edx + 4], cl
jne 0x482367
movzx ecx, byte [eax + 5]
cmp byte [edx + 5], cl
jne 0x482367
movzx ecx, byte [eax + 6]
cmp byte [edx + 6], cl
jne 0x482367
movzx ecx, byte [eax + 7]
cmp byte [edx + 7], cl
jne 0x482367
movzx ecx, byte [eax + 8]
cmp byte [edx + 8], cl
jne 0x482367
movzx ecx, byte [eax + 9]
cmp byte [edx + 9], cl
jne 0x482367
movzx ecx, byte [eax + 0xa]
cmp byte [edx + 0xa], cl
jne 0x482367
movzx ecx, byte [eax + 0xb]
cmp byte [edx + 0xb], cl
jne 0x482367
movzx ecx, byte [eax + 0xc]
cmp byte [edx + 0xc], cl
jne 0x482367
add eax, 0x10
mov dword [esp], eax
lea eax, [edx + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x4c
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
jmp 0x482369
xor eax, eax
mov byte [esp + 0x1c], al
add esp, 0x10
ret
call sym.runtime.morestack_noctxt
jmp sym.type:.eq.fmt.fmt

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

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

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, 0x408e84
mov ecx, 0x5d0e3158
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7552676
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x406294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b8
xor eax, eax
test eax, eax
je 0x4062ca
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062ca
xor ecx, ecx
jmp 0x4062cd
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
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 0x4063b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4063f0
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 0x4063ca
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406421
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 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x406403
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0xa365cd8
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x52156984
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x403161
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403161
lcall 0x5de5, 0x8b10c483
jmp loc.00791034
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
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 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
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 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
popal
mov ch, 0xc8
mov bl, 0xd9
ror dword [esi + 0x4d], 1
into
imul ecx, dword [ecx - 0x39], 0xec7d0434
into
adc eax, dword [eax + 0x71]
cmp eax, 0xd43adcec
fdivr qword [edx]
aam 0x2a
mov word [ebx + 0x60], fs
lodsd eax, dword [esi]
mov dword [edx - 0xeb4c3a7], esi
fdivr qword [edx]
aam 0x2a
mov word [ebx + 0x60], fs
lodsd eax, dword [esi]
mov dword [edx - 0xeb4c3a7], esi
xor dword [esi + 0x294b5b7f], eax
ja 0x414b22
popal
add al, 0x2d
jne 0x414aaa
adc esi, dword [eax]
mov bl, 0xd1
scasb al, byte es:[edi]
mov dword [ecx], ecx
xor eax, 0x89b3cb0c
fsub st(1), st(0)
xor dword [ecx + ebx*8], eax
dec esp
into
adc esp, dword [ecx - 0x18]
into
adc esi, dword [esi + 0xb]
and dword [eax + ecx*8 + 0xf3dd9b3], ecx
dec esp
into
and eax, 0xec31b34a
mov dword [ebx - 0x4c7613cf], esi
xor esp, ebp
mov dword [ebx + 0x4c76ec31], esi
into
adc ecx, dword [ecx + 0x76ec31b3]
dec esp
into
adc ecx, dword [ecx - 0x7613ce4d]
mov bl, 0x31
in al, dx
xor esp, ebp
mov dword [ebx - 0x4c7613cf], esi
mov dl, 0
lea esi, [ebp + esi - 0x38]
sbb esi, dword gs:[ebx - 0x14]
mov dword [ebx + 0x748d00b2], esi
xor eax, 0x731b65c8
in al, dx
or byte [eax + 0x7e], 0x84
mov ebx, eax
jo 0x414b28
invalid
Function at 0x30001650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
lea edi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x30001660
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push dword [ebp + 8]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov esi, eax
test esi, esi
je 0x3000169a
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
jg 0x300016a0
pop edi
mov eax, esi
pop esi
pop ebp
ret
movzx eax, si
pop edi
or eax, 0x80070000
pop esi
pop ebp
ret

Function at 0x300020a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.300293e0
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x300020ba
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x3000210e
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x302728a4], 0
jne 0x300020f1
push 0x302728a0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x302728a4], 0
jne 0x300020f1
push str.GetAllocationBase:_Failed_to_obtain_system_page_size._n
call fcn.30009b20
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x3000211b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x3000211b
pop esi
mov esp, ebp
pop ebp
ret
push 0x301e43bc
call fcn.30009b00
add esp, 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x30002130
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x3021ae88]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x624], ecx
mov byte [ebp - 0x618], 0
pushfd
mov eax, dword fs:[0x18]
pop ebx
test eax, eax
jne 0x30002167
or esi, 0xffffffff
or edi, 0xffffffff
jmp 0x30002170
mov esi, dword [eax + 0x34]
mov edi, dword [eax + 0xbf4]
push 0x104
push 8
push dword [0x30271450]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x61c], eax
test ecx, ecx
je 0x300021a3
mov dword [ecx + 0x34], esi
mov dword [ecx + 0xbf4], edi
test ebx, ebx
je 0x300021a3
push ebx
popfd
test eax, eax
jne 0x300021b6
push str.TranslatePathFromDeviceToLetter:_Unable_to_allocate_buffer_for_DriveLetterFilePath
call fcn.30009b00
jmp 0x30002333
lea eax, [ebp - 0x618]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x30002329
mov ax, word [0x301e4444]
lea edi, [ebp - 0x618]
mov word [ebp - 0x620], ax
xor ebx, ebx
movzx eax, byte [0x301e4446]
mov byte [ebp - 0x61e], al
mov al, byte [ebp - 0x618]
jmp 0x30002200
mov byte [ebp - 0x620], al
lea eax, [ebp - 0x110]
push 0x104
push eax
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x300022fb
lea esi, [ebp - 0x110]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x30002230
sub esi, ecx
cmp esi, 0x104
jae 0x300022fb
push esi
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x624]
call fcn.30168401
xor ebx, ebx
add esp, 0xc
test eax, eax
sete bl
mov dword [ebp - 0x628], ebx
test eax, eax
jne 0x300022fb
mov eax, dword [ebp - 0x624]
add eax, esi
cmp byte [eax], 0x5c
jne 0x300022fb
push eax
lea eax, [ebp - 0x620]
push eax
push 0x301e4448
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.30002010
lea eax, [ebp - 0x218]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x300022a7
sub eax, edx
cmp eax, 0x7ffffffe
jbe 0x300022c2
mov ecx, dword [ebp - 0x61c]
mov byte [ecx], 0
jmp 0x30002301
mov ebx, dword [ebp - 0x61c]
lea esi, [ebp - 0x218]
mov edx, 0x104
mov ecx, ebx
sub esi, ebx
test eax, eax
je 0x300022ed
mov bl, byte [esi + ecx]
test bl, bl
je 0x300022ed
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x300022d7
jmp 0x300022f1
test edx, edx
jne 0x300022f2
dec ecx
mov ebx, dword [ebp - 0x628]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x61c]
mov al, byte [edi]
inc edi
test al, al
jne 0x30002301
test ebx, ebx
jne 0x30002316
mov al, byte [edi]
test al, al
jne 0x30002200
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret
push str.TranslatePathFromDeviceToLetter:_GetLogicalDriveStrings_failed
call fcn.30009b20
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret