joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b2d0
mov eax, dword fs:[0]
push eax
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x1008b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.100019a0
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10001920
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10003470
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x7c
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.10001080
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x28], 0xffffffff
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x28], 0xffffffff
mov edx, 4
shl edx, 0
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 0x30], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret
Function at 0x10006e50
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x1006f948
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], 0
je 0x10006e89
mov dword [ebp - 0x14], 1
jmp 0x10006e90
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x10006ec7
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, dword [ebp - 4]
and edx, 0xff
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor edx, eax
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + edx*4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
jmp 0x10006e6b
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x10006ed0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x1006f948
cmp dword [ebp + 0xc], 0
je 0x10006f9f
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 0x10006f19
mov dword [ebp - 0x18], 1
jmp 0x10006f20
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x10006f9d
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 0x19]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
cmp eax, 0x23
jne 0x10006f7a
cmp dword [ebp + 0xc], 2
jb 0x10006f7a
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10006f7a
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x10006f7a
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, dword [ebp - 4]
and ecx, 0xff
movzx edx, byte [ebp - 0xd]
xor ecx, edx
mov edx, dword [ebp - 0xc]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 4], eax
jmp 0x10006efb
jmp 0x10007014
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x1a], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 0x1a]
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
test ecx, ecx
je 0x10007014
movzx edx, byte [ebp - 0xe]
cmp edx, 0x23
jne 0x10006ff5
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10006ff5
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x10006ff5
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp - 4]
and eax, 0xff
movzx ecx, byte [ebp - 0xe]
xor eax, ecx
mov ecx, dword [ebp - 0xc]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 4], edx
jmp 0x10006f9f
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x100072d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.1006a100
xor edx, edx
pop esi
cmp ebp, esp
call fcn.1006a100
pop ebp
ret

Function at 0x10007310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ucrtbased.dll_fwrite]
add esp, 0x10
cmp esi, esp
call fcn.1006a100
xor edx, edx
pop esi
cmp ebp, esp
call fcn.1006a100
pop ebp
ret

Function at 0x1000a0b0
Capabilities:
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b721
mov eax, dword fs:[0]
push eax
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x1008b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.10002240
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.10002240
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.10002240
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.10001080
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.10002c70
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.10026e50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xb8
call fcn.10026e50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.10026e50
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret
Function at 0x1003c690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b9b8
mov eax, dword fs:[0]
push eax
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x1008b040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10026e50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10026e50
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.10026e50
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0xc], xmm0
mov edx, 0xffff
mov eax, dword [ebp - 0x10]
mov word [eax + 0x3a], dx
mov ecx, 0xffff
mov edx, dword [ebp - 0x10]
mov word [edx + 0x3c], cx
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x44], xmm0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [ecx + 0x40], xmm0
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x3e], dx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov word [edx + 0x38], cx
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x48], 0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x100880f4]
movss dword [ecx + 0x4c], xmm0
mov edx, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [edx + 0x54], xmm0
mov eax, dword [ebp - 0x10]
xorps xmm0, xmm0
movss dword [eax + 0x50], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x58], 0
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x5c
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret

Function at 0x10041ac0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.1006a100
movsx ecx, ax
and ecx, 0x8000
je 0x10041af3
mov dword [ebp - 4], 1
jmp 0x10041afa
mov dword [ebp - 4], 0
movzx eax, byte [ebp - 4]
pop esi
add esp, 4
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret
Function at 0x10062d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [0x1008b040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 5
jge 0x10062d98
xor al, al
jmp 0x10062e06
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1006a100
mov eax, dword [ebp + 0x10]
push eax
push 0x90
mov ecx, dword [ebp + 8]
push ecx
call sub.VCRUNTIME140D.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
sub edx, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov byte [eax], 0xe9
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 1], edx
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1006a100
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x10062e30]
call fcn.1006a0a0
pop eax
pop edx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10068460
add esp, 0x20
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret

Function at 0x10062ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x10062eda
jmp 0x10062eff
mov esi, esp
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x100631a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1006a100
mov dword [0x1008b4e4], eax
mov eax, 1
pop esi
add esp, 4
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10062f20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov esi, esp
push 0
push 0x10063170
call dword [sym.imp.USER32.dll_EnumWindows]
cmp esi, esp
call fcn.1006a100
cmp dword [0x1008b090], 0xffffffff
jne 0x10062f69
mov dword [0x1008b090], 0x110abfb8
jmp 0x10062f54
mov eax, dword [0x1008b090]
add eax, 5
mov dword [0x1008b4e0], eax
cmp dword [0x1008b094], 0xffffffff
jne 0x10062f8b
mov dword [0x1008b094], 0x10cb4e9f
jmp 0x10062f76
mov ecx, dword [0x1008b094]
add ecx, 5
mov dword [0x1008b4f0], ecx
cmp dword [0x1008b08c], 0xffffffff
jne 0x10062faf
mov dword [0x1008b08c], 0x110bc010
jmp 0x10062f9a
mov edx, dword [0x1008b08c]
add edx, 0xb
mov dword [0x1008b4e8], edx
cmp dword [0x1008b098], 0xffffffff
jne 0x10062fd3
mov dword [0x1008b098], 0x10ccd69a
jmp 0x10062fbe
mov eax, dword [0x1008b098]
add eax, 5
mov dword [0x1008b500], eax
push 5
push 0x10062e70
mov ecx, dword [0x1008b090]
push ecx
call fcn.10062d60
add esp, 0xc
push 5
push 0x10062e90
mov edx, dword [0x1008b094]
push edx
call fcn.10062d60
add esp, 0xc
push 5
push 0x10061a30
mov eax, dword [0x1008b08c]
push eax
call fcn.10062d60
add esp, 0xc
push 5
push 0x10061a80
mov ecx, dword [0x1008b098]
push ecx
call fcn.10062d60
add esp, 0xc
mov edx, dword [0x11435780]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], 0x11435784
mov dword [ebp - 0x10], 0x114357ac
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
shl edx, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
sub eax, edx
imul ecx, dword [ebp - 8], 0xf
sub eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [0x1008b508], edx
mov dword [0x1008b504], 0x1145d734
xor eax, eax
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.1006a100
mov esp, ebp
pop ebp
ret 4

Function at 0x100641d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x54
mov dword [ebp - 0xc], 0
jmp 0x100641f2
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x23
jge 0x10064231
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
movsx edx, byte [ecx - 0x2c124937]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, 0x800000ff
jns 0x1006422c
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
jmp 0x100641e9
mov eax, 1
imul ecx, eax, 0x23
mov edx, dword [ebp - 4]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x100023fd
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
je 0x1000240f
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x10002415
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push eax
call fcn.10011e80
mov esi, eax
pop ecx
cmp esi, edi
je 0x1000243f
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x1000244d
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
mov eax, edi
pop edi
pop esi
ret 0xc
Function at 0x10006ed9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xe0
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x74], eax
push edi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
xor edi, edi
and dword [ebp - 0x5c], edi
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f4f
and dword [ebp - 0x60], edi
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
push edi
push str.ActiveTimeBias
push dword [ebp - 0x5c]
mov dword [ebp - 0x64], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x10006f41
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
test ebx, ebx
pop ebx
je 0x10006f61
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x10006f61
mov edi, dword [ebp - 0x58]
lea eax, [ebp + 0x54]
push eax
mov eax, edi
call fcn.100067f8
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.msvcr100.dll__strdup]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop edi
call fcn.100122d0
add ebp, 0x78
leave
ret

Function at 0x10007644
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
push edi
xor ebx, ebx
push ebx
push 1
push ebx
mov edi, str.J2SE
push edi
lea eax, [ebp - 8]
push eax
mov byte [ebp - 1], bl
call esi
test eax, eax
jne 0x1000767f
push 8
push 1
push ebx
push edi
lea eax, [ebp - 8]
push eax
call esi
test eax, eax
jne 0x1000767f
xor al, al
jmp 0x100076d4
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0x2ac]
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2e0]
mov edi, eax
cmp edi, ebx
je 0x100076c7
push edi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
test eax, eax
je 0x100076b9
mov byte [ebp - 1], 1
mov eax, dword [esi]
push ebx
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x300]
push ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 0xc

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

Disassembly:
push esi
push dword [0x1001cf68]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10007e43
xor al, al
jmp 0x10007e74
push ebx
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.10011e80
push esi
mov ebx, eax
call dword [sym.imp.msvcr100.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007e83
mov eax, dword [esp + 0x18]
dec eax
je 0x10007e71
dec eax
je 0x10007e78
dec eax
dec eax
jne 0x10007e83
mov al, 1
pop ebx
pop esi
ret 0x10
mov al, 1
test bl, 0x10
jne 0x10007e73
test al, bl
je 0x10007e73
xor al, al
jmp 0x10007e73
Function at 0x10007e87
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x14], 4
push edi
mov byte [ebp - 1], 0
je 0x10007f2d
cmp dword [ebp + 0x14], 1
je 0x10007f2d
push dword [0x1001cf68]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.1000a207
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10007ec2
xor al, al
jmp 0x10007f30
push esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
push edi
call esi
cmp eax, 0xffffffff
je 0x10007f1f
push ebx
test eax, 0x400
je 0x10007ef7
push edi
push dword [ebp + 8]
call fcn.1000773c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10007f1e
push edi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push ebx
mov edi, ebx
call esi
cmp eax, 0xffffffff
je 0x10007f1e
test al, 0x10
jne 0x10007f1e
cmp byte [ebp + 0x18], 0
je 0x10007f0b
and eax, 0xfffffffe
jmp 0x10007f0e
or eax, 1
push eax
push edi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
je 0x10007f1e
mov byte [ebp - 1], 1
pop ebx
push edi
call dword [sym.imp.msvcr100.dll_free]
mov al, byte [ebp - 1]
pop ecx
pop esi
jmp 0x10007f30
mov al, byte [ebp + 0x18]
pop edi
leave
ret 0x18

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.10011e80
mov esi, eax
add esp, 0xc
cmp esi, edi
jne 0x100080a7
xor al, al
jmp 0x10008123
push esi
call fcn.10011e80
pop ecx
test eax, eax
je 0x100080bc
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
jmp 0x100080a3
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008112
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x100080b2
cmp edi, 0xb7
je 0x100080b2
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100080b2
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
jmp 0x100080b2
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
ret 0xc

Function at 0x10008128
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push dword [0x1001cf68]
xor bl, bl
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a207
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000814c
xor al, al
jmp 0x1000818c
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10008182
push esi
test al, 0x10
je 0x10008171
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x10008177
call dword [sym.imp.kernel32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x10008182
mov bl, 1
push esi
call dword [sym.imp.msvcr100.dll_free]
pop ecx
mov al, bl
pop esi
pop ebx
ret 0xc
Function at 0x1000af8b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1001cf10]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x94]
push esi
push edi
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov esi, dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, 0x10014bfc
test eax, eax
je 0x1000aff5
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x1000b028
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b028
lea eax, [ebp - 0x7c]
push edi
push eax
call sub.msvcr100.dll_strcat
lea eax, [ebp - 0x7c]
push ebx
push eax
call sub.msvcr100.dll_strcat
add esp, 0x10
lea eax, [ebp - 0x7c]
push eax
call esi
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp + 0x88]
mov eax, dword [ebp - 0x80]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100122d0
add ebp, 0x8c
leave
ret

Function at 0x10011e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x10011e8f
pop dword [ebp - 0x18]
mov eax, 0x10011e8f
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x83bf3473
add dword [ebp - 0x28], 0xca9310d8
mov dword [ebp - 0x24], 0xccc6ee3b
sub dword [ebp - 0x24], 0x9a93a1f6
mov dword [ebp - 0x20], 0x7b4b8cb4
add dword [ebp - 0x20], 0xd100b77a
mov dword [ebp - 0x1c], 0x9c1d0b29
add dword [ebp - 0x1c], 0x63e2f4d7
lea eax, [ebp - 0x28]
push eax
mov eax, 0x5508b157
add eax, 0xbaf88001
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xa55f3581
add dword [ebp - 0x28], 0xcf1333d5
mov dword [ebp - 0x24], 0x6985a64a
sub dword [ebp - 0x24], 0x281944d5
mov dword [ebp - 0x20], 0x3bf37d4e
add dword [ebp - 0x20], 0x277bef1e
mov dword [ebp - 0x1c], 0x8af4ee25
sub dword [ebp - 0x1c], 0x8af4ee25
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x37db2
push 0
call eax
mov ecx, 0x749706d8
add ecx, 0x8b6941be
xor esi, esi
add esi, eax
mov edx, 0x10020600
add edx, dword [ebp - 0x18]
mov ebx, 0xabb8dd1f
add ebx, 0xa1efd4c5
xor dword [ebp - 8], 0x92c763ac
mov edi, dword [edx]
mov dword [ebp - 0xc], 0xab0ac226
xor edi, ebx
sub dword [ebp - 0x14], eax
mov dword [esi], edi
sub dword [ebp - 8], ecx
add esi, 0xd3c7c699
add esi, 0x2c38396b
add edx, 0x56edd4c1
sub edx, 0x56edd4bd
loop 0x10011fa3
add eax, 0x69f208c5
add eax, 0x960f0c66
mov ebx, eax
add eax, 0x8e019920
sub eax, 0x8e01991b
mov ecx, 0x10000000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x100122d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001cf10]
jne 0x100122da
repz ret
jmp fcn.100128eb