joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008e088
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x1008e0e3
mov edi, dword [ebp + 0xc]
test edi, 0xffff0000
jne 0x1008e0ad
sub edi, dword [ebx + esi + 0x10]
jmp 0x1008e0fe
mov ecx, dword [ebx + esi + 0x20]
xor eax, eax
add ecx, esi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp dword [ebx + esi + 0x18], eax
jbe 0x1008e0e3
mov eax, dword [ecx + eax*4]
add eax, esi
push edi
push eax
call fcn.1008ab54
pop ecx
pop ecx
test eax, eax
je 0x1008e0ec
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [ebx + esi + 0x18]
jb 0x1008e0c1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x1008e0e3
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ecx*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x1008e0e3
cmp edi, dword [ebx + esi + 0x14]
jae 0x1008e0e3
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x1008e0e5
Function at 0x100a8720
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x1008fec8
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.100965cc
pop ecx
pop ecx
test eax, eax
jne 0x100a8747
mov eax, dword [edi + 0x10]
jmp 0x100a8766
push esi
mov esi, dword [edi + 4]
jmp 0x100a875f
push ebx
push dword [esi + 0x28]
call fcn.100965cc
pop ecx
pop ecx
test eax, eax
je 0x100a8769
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x100a874d
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x100a8765

Function at 0x100a9c3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x100a9c9f
mov ecx, dword [ebp + 0x10]
sub dword [ebp + 0xc], ecx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [ebp + 8], eax
mov edi, dword [ebp + 8]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, dword [ebp + 0x10]
xor cl, byte [esi + eax]
mov byte [eax], cl
inc eax
sub dword [ebp - 4], 1
mov dword [ebp + 0x10], eax
mov eax, edi
jne 0x100a9c5e
mov esi, dword [ebp + 0x14]
pop edi
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
leave
ret
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x1538721b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x68790d59
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x100117c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10127b10]
push esi
mov eax, dword [ecx]
call dword [eax + 0xd0]
cmp byte [0x100b2558], 0
mov dword [0x10127b7c], eax
je 0x1001194d
mov eax, dword [eax + 0x18]
test eax, eax
je 0x100117ff
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10011801
xor eax, eax
mov esi, dword [eax + 0xf0]
mov ecx, 0xad
xor edx, edx
nop
mov al, byte [edx + 0x10060c68]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x54], al
and ecx, 0x800000ff
jns 0x1001182d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10011810
push esi
lea eax, [ebp - 0x54]
mov byte [ebp - 0x46], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10004630
mov eax, dword [0x10127b7c]
xorps xmm0, xmm0
movq qword [ebp - 0x54], xmm0
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x48], 0
mov byte [ebp - 0x46], 0
mov eax, dword [eax + 0x18]
test eax, eax
je 0x10011874
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x10011876
xor eax, eax
mov eax, dword [eax + 0x13c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x6f6d6d41
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], 0x25203a20
push eax
mov word [ebp - 0x48], 0x69
call fcn.10004630
add esp, 0xc
mov dword [ebp - 0x50], 0x5c7a6655
mov dword [ebp - 0x4c], 0x777178
xor ecx, ecx
mov byte [ebp - 0x48], 1
lea eax, [ecx + 0x12]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 7
jb 0x100118b5
movss xmm3, dword [0x1006857c]
lea ecx, [ebp - 0x50]
movss xmm2, dword [0x10068584]
mov edx, 0xff7fff00
movss xmm1, dword [0x10068554]
movss xmm0, dword [0x10068514]
mov byte [ebp - 0x48], 0
call fcn.1000f4c0
movss xmm3, dword [0x1006857c]
lea ecx, [ebp - 0x24]
movss xmm2, dword [0x10068584]
mov edx, 0xffff0000
movss xmm1, dword [0x10068560]
movss xmm0, dword [0x10068514]
call fcn.1000f4c0
movss xmm3, dword [0x1006857c]
lea ecx, [ebp - 0x44]
movss xmm2, dword [0x10068584]
mov edx, 0xffff0000
movss xmm1, dword [0x1006856c]
movss xmm0, dword [0x10068514]
call fcn.1000f4c0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1005cb94
mov esp, ebp
pop ebp
ret
Function at 0x10016110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f33d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0xc6
xor edx, edx
mov al, byte [edx + 0x10061098]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x24], al
and ecx, 0x800000ff
jns 0x1001615e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x13
jl 0x10016141
mov byte [ebp - 0x11], 0
mov edx, 0x101279a1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.10047900
cmp byte [0x101279a1], 0
je 0x100161aa
call fcn.1005b790
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1005bc60
push 0x100135a0
push 0x10127afc
call fcn.1005b1f0
call fcn.1005b7f0
movaps xmm0, xmmword [0x10068d80]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x30], 0x72397f53
movaps xmm0, xmmword [0x10068ef0]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0x7a59525a
mov word [ebp - 0x28], 0x100
lea eax, [ecx + 0x17]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 0x28
jb 0x100161d6
mov byte [ebp - 0x27], 0
mov ecx, 0xb6
xor edx, edx
nop
mov al, byte [edx + 0x100610ac]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1001620d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x100161f0
mov byte [ebp - 0x11], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x50]
xor esi, esi
cmp byte [ebp - 0x50], 0
je 0x10016246
nop dword [eax]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016235
sub ecx, edi
inc edx
add edx, ecx
inc esi
cmp byte [edx], al
jne 0x10016230
push ecx
push esi
lea eax, [ebp - 0x50]
mov edx, 0x101279a4
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10048f70
add esp, 0x10
mov ecx, 0xee
xor edx, edx
mov al, byte [edx + 0x100610b8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x10016281
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10016264
mov byte [ebp - 0x11], 0
push ecx
push 0x10060c7c
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], 0x3e8
push eax
push 0x10074534
mov edx, 4
mov dword [ebp - 0x58], 1
lea ecx, [ebp - 0x1c]
call fcn.1004a120
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cb94
mov esp, ebp
pop ebp
ret
Function at 0x100162e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f39d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x100b25bf], 0
je 0x1001650a
movaps xmm0, xmmword [0x10068d60]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x1000246
nop dword [eax + eax]
lea eax, [ecx + 0x12]
xor byte [ebp + ecx - 0x34], al
inc ecx
cmp ecx, 0x12
jb 0x10016330
lea eax, [ebp - 0x34]
mov byte [ebp - 0x21], 0
push eax
call fcn.100461e0
add esp, 4
mov ecx, 0x98
xor edx, edx
mov al, byte [edx + 0x10061118]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x10016371
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x10016354
mov byte [ebp - 0x11], 0
push ecx
push 0x10060c7c
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x64
push eax
push 0x100b2610
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], 1
call fcn.1004ad10
movaps xmm0, xmmword [0x10068b20]
add esp, 0x14
movups xmmword [ebp - 0x40], xmm0
xor ecx, ecx
mov byte [ebp - 0x20], 1
movaps xmm0, xmmword [0x100687e0]
movups xmmword [ebp - 0x30], xmm0
nop word [eax + eax]
lea eax, [ecx + 0x17]
xor byte [ebp + ecx - 0x40], al
inc ecx
cmp ecx, 0x1f
jb 0x100163d0
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x50482323
mov dword [ebp - 0x18], 0x63614820
mov word [ebp - 0x14], 0x6b
mov dword [ebp - 4], 1
lea edx, [ebp - 0x40]
xor esi, esi
cmp byte [ebp - 0x40], 0
je 0x10016421
mov eax, edx
lea edi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10016410
sub eax, edi
inc edx
add edx, eax
inc esi
cmp byte [edx], cl
jne 0x10016407
push ecx
push esi
lea eax, [ebp - 0x40]
mov edx, 0x100b2614
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10048f70
mov dword [ebp - 0x1c], 0x65482323
mov dword [ebp - 0x18], 0x74656d6c
mov byte [ebp - 0x14], 0
add esp, 0xc
mov dword [ebp - 4], 2
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x64
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], 1
push 0x10060c7c
push eax
lea eax, [ebp - 0x44]
push eax
push 0x100b2620
call fcn.1004ad10
mov dword [ebp - 0x1c], 0x6f472323
mov dword [ebp - 0x18], 0x656c6767
mov byte [ebp - 0x14], 0
add esp, 0x10
mov dword [ebp - 4], 3
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x64
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], 1
push 0x10060c7c
push eax
lea eax, [ebp - 0x44]
push eax
push 0x100b2624
call fcn.1004ad10
mov dword [ebp - 0x1c], 0x61422323
mov dword [ebp - 0x18], 0x61706b63
mov word [ebp - 0x14], 0x6b63
mov byte [ebp - 0x12], 0
add esp, 0x10
mov dword [ebp - 4], 4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x64
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x44], 1
push 0x10060c7c
push eax
lea eax, [ebp - 0x44]
push eax
push 0x100b2618
call fcn.1004ad10
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cb94
mov esp, ebp
pop ebp
ret
Function at 0x10016ad0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f44d
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
mov ecx, 0x51
mov dword [ebp - 0x18], 0
xor edx, edx
mov al, byte [edx + 0x10061188]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x10016b30
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10016b13
mov byte [ebp - 0x2d], 0
push 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10046be0
add esp, 4
mov dword [ebp - 4], 0xffffffff
test al, al
je 0x10016c3b
mov dword [ebp - 0x2c], 0x767d7c44
xor ecx, ecx
mov dword [ebp - 0x28], 0x78705473
mov dword [ebp - 0x24], 0x6579356e
mov word [ebp - 0x20], 0x7b
mov byte [ebp - 0x1e], 1
mov al, cl
add al, 0x12
xor byte [ebp + ecx - 0x2c], al
inc ecx
cmp ecx, 0xd
jb 0x10016b81
push 0
push 2
mov byte [ebp - 0x1e], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10016c3b
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], 0x128
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10016c38
nop word [eax + eax]
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x144]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10016c00
test dl, dl
je 0x10016bfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10016c00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10016be0
xor eax, eax
jmp 0x10016c05
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10016c26
push dword [ebp - 0x160]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x168]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10016bd0
push edi
call ebx
mov dword [ebp - 0x1c], 0x7c7a6655
xor ecx, ecx
mov dword [ebp - 0x18], 0x777178
mov byte [ebp - 0x14], 1
nop
mov al, cl
add al, 0x12
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 7
jb 0x10016c50
mov edx, 0x100b2558
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
call fcn.10047900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cb94
mov esp, ebp
pop ebp
ret
Function at 0x10017160
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x10017182
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x10017170
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret
Function at 0x10018350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10127ba4]
mov ecx, dword [0x100b2578]
mov dword [ebp - 0x14], ecx
push edi
mov eax, dword [esi + 0x3e48]
mov edi, ecx
movss xmm0, dword [eax + 0x1c]
movss xmm2, dword [eax + 0x20]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
subss xmm0, dword [0x100685d0]
subss xmm2, dword [0x100685bc]
movss xmm1, dword [eax + 0x14]
subss xmm1, dword [eax + 0x78]
addss xmm1, xmm0
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
mov byte [eax + 0x135], 1
movss dword [eax + 0xf0], xmm1
addss xmm0, xmm2
movss dword [eax + 0xf4], xmm0
test ecx, ecx
jne 0x100183ee
mov ecx, dword [esi + 0x54]
mov edi, ecx
test ecx, ecx
jne 0x100183eb
mov eax, dword [esi + 0x48]
mov eax, dword [eax + 0x44]
mov ecx, dword [eax]
mov edi, ecx
mov dword [ebp - 0x14], ecx
call fcn.10026e00
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x4770]
call fcn.10032630
mov eax, dword [esi + 0x3e48]
mov ebx, dword [eax + 0x26c]
mov eax, dword [edi + 0x30]
mov edi, dword [ebx + 0x4c]
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x14], ecx
cmp eax, edi
jne 0x10018449
lea ecx, [eax + 1]
test edi, edi
je 0x10018433
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10018438
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x48]
call fcn.100324e0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x50]
mov dword [eax + edx*4], ecx
inc dword [ebx + 0x48]
mov dword [ebx + 0x70], ecx
mov ecx, ebx
call fcn.1003af10
call fcn.1002a930
mov eax, dword [0x10127bd0]
cmp eax, 3
ja case.default.0x1001846e
jmp dword [eax*4 + 0x100184f8]
call fcn.10016c90
jmp case.default.0x1001846e
call fcn.10017190
jmp case.default.0x1001846e
call fcn.10017520
jmp case.default.0x1001846e
mov dword [ebp - 0x18], 0x438c0000
xor ecx, ecx
mov dword [ebp - 0x14], 0x43c30000
mov dword [ebp - 0x10], 0x61473031
mov dword [ebp - 0xc], 0x7e7163
mov byte [ebp - 8], 1
nop dword [eax]
lea eax, [ecx + 0x12]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 7
jb 0x100184b0
sub esp, 8
mov byte [ebp - 8], 0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.10021a10
add esp, 8
call fcn.10016ad0
call fcn.10021a90
call fcn.1002aa60
call fcn.10026ea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005cb94
mov esp, ebp
pop ebp
ret
Function at 0x10018d90
Capabilities:
Create thread
Get disk information
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f64e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x68], 0
jne 0x10018f0e
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0
push 0
movups xmmword [ebp - 0x5c], xmm0
push 0x10060c78
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 0x64]
lea esi, [ebp - 0x13]
mov dword [ebp - 0x60], ecx
nop dword [eax]
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
add cl, al
mov eax, dword [ebp - 0x60]
add cl, cl
sub al, cl
mov ecx, edx
add al, 0x30
mov byte [esi], al
mov eax, edx
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x10018e20
push ecx
lea eax, [ebp - 0x13]
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.10002490
movups xmm0, xmmword [ebp - 0x40]
sub esp, 0x18
mov dword [ebp - 0x68], 7
lea eax, [ebp - 0x5c]
mov ecx, esp
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [ebp - 0x30]
push eax
movq qword [ebp - 0x4c], xmm0
call fcn.100021f0
call fcn.10011a60
add esp, 0x18
test al, al
je 0x10018f2f
push 0x64
push 0x232
call dword [sym.imp.KERNEL32.dll_Beep]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x10018d20
push 0
push 0
call esi
mov ecx, 0x10018d20
call fcn.1000b060
push 0
push 0
push 0
push 0x10004840
push 0
push 0
call esi
mov ecx, 0x10004840
call fcn.1000b060
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10018f0e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018f04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10018f04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005cbd2
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cb94
mov esp, ebp
pop ebp
ret 0xc
movaps xmm0, xmmword [0x10068d30]
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0x414a496f
mov dword [ebp - 0x30], 0x63025e4e
mov dword [ebp - 0x2c], 0x1005440
call fcn.10018f90
movaps xmm0, xmmword [0x10068f70]
lea ecx, [ebp - 0x28]
mov esi, eax
mov word [ebp - 0x18], 0x100
movups xmmword [ebp - 0x28], xmm0
call fcn.10017160
push 0x10
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x10018f90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1b], 0
je 0x10018fb2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x1a
jb 0x10018fa0
mov byte [esi + 0x1b], 0
mov eax, esi
pop esi
ret