joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40725b
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], edi
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x34], eax
call fcn.0040719f
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi + 8]
add ebx, 0x23f
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov esi, dword [ebp - 8]
mov eax, esi
mov ecx, dword [0x711c14]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x4072e6
push 0x401130
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [0x711c14]
mov edx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x711c58]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x711c58], eax
mov eax, dword [0x711c60]
cmove eax, dword [ebp - 0x24]
mov dword [0x711c60], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x711c5c], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x1c]
sub edx, eax
mov dword [ebp - 0x10], eax
mov eax, edx
mov dword [ebp - 0x1c], edx
shl eax, 4
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
nop
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
mov dword [ebp - 0x14], ebx
dec edi
jne 0x4072ab
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4073c5
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x407403
cmp dword [0x711c14], 0x959
jne 0x4073f3
push 0
call dword [sym.imp.KERNEL32.dll_AttachConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.0040725b
add edi, 8
dec esi
jne 0x4073d5
pop edi
pop esi
pop ebp
ret 4
Function at 0x410bbf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x432f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040a7f3
mov dword [ebp - 0x14], eax
cmp dword [0x7129f4], esi
jne 0x410cb2
push 0x800
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x410c3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410d92
push esi
push esi
push 0x40512c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x410d92
push 0x405144
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410d92
push eax
call ebx
push 0x405150
push edi
mov dword [0x7129f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405160
push edi
mov dword [0x7129f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405174
push edi
mov dword [0x7129fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x712a04], eax
test eax, eax
je 0x410caf
push 0x405190
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x712a00], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x410cd7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x410cca
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x410cec
push 4
pop eax
jmp 0x410d94
cmp dword [ebp - 0x14], esi
je 0x410cec
push dword [0x7129f4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x410cd1
mov eax, dword [0x712a00]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x410d4a
cmp dword [0x712a04], edi
je 0x410d4a
push eax
call ebx
push dword [0x712a04]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x410d4a
test eax, eax
je 0x410d4a
call ecx
test eax, eax
je 0x410d3f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410d3f
test byte [ebp - 8], 1
jne 0x410d4a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x410d7a
mov eax, dword [0x7129f8]
cmp eax, edi
je 0x410d77
push eax
call ebx
test eax, eax
je 0x410d77
call eax
mov esi, eax
test esi, esi
je 0x410d77
mov eax, dword [0x7129fc]
cmp eax, edi
je 0x410d77
push eax
call ebx
test eax, eax
je 0x410d77
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x7129f4]
call ebx
test eax, eax
je 0x410d92
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x410d94
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409e2e
mov esp, ebp
pop ebp
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x3bec7f6b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
mov ecx, 0x53cf6c79
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x100010c0
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push edi
mov edi, ecx
cmp byte [edi + 0x20], 0
jne 0x100011b5
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100011b5
push ebx
push ebp
push esi
push eax
push dword [edi]
lea eax, [edi + 0x10]
push eax
call fcn.1004d2f0
mov ebp, dword [edi + 0xc]
add esp, 0xc
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
cmp ebp, 5
jae 0x10001115
mov eax, dword [edi + 8]
xor ebx, ebx
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
mov byte [edi + 0x20], 1
pop edi
add esp, 0xc
ret
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x10001147
push ebp
test esi, esi
je 0x1000113c
push esi
push ebx
call fcn.1004d2f0
add esp, 0xc
jmp 0x10001157
push 0
push ebx
call fcn.1004d8d0
add esp, 0xc
call fcn.1004f5f1
mov dword [eax], 0x16
call fcn.1004f4f3
mov eax, esi
mov byte [ebx + ebp], 0xe9
sub eax, ebx
sub eax, 5
mov dword [ebx + ebp + 1], eax
lea eax, [esp + 0x14]
push eax
push 0x40
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push ebp
push 0x90
push dword [esp + 0x18]
call fcn.1004d8d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
sub ecx, eax
sub ecx, 5
mov dword [eax + 1], ecx
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 0x18]
mov byte [eax], 0xe9
push ebp
push eax
call esi
mov eax, dword [edi + 8]
pop esi
pop ebp
mov dword [eax], ebx
mov byte [edi + 0x20], 1
pop ebx
pop edi
add esp, 0xc
ret

Function at 0x10001210
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call fcn.10049920
call fcn.100169d0
call fcn.100029f0
push 0x7a
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10001295
mov eax, dword [0x100ad250]
cmp byte [0x100aa9c4], 0
sete byte [0x100aa9c4]
mov esi, dword [eax + 0x20]
mov dword [eax + 0x5a7c], 0
test esi, esi
je 0x10001295
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.10027040
mov edx, 0x1009e9c8
mov ecx, esi
mov edi, eax
call fcn.100135d0
mov esi, eax
test esi, esi
je 0x10001295
push esi
push dword [esp + 0x10]
push 1
push edi
call fcn.10057bd9
push esi
call fcn.1005542c
add esp, 0x14
call fcn.1000e250
cmp byte [0x100aa9c4], 0
mov ecx, dword [0x100ad250]
mov al, byte [ecx + 0x92]
mov byte [ecx + 0x44], al
jne 0x100012cf
cmp byte [0x100abe9d], 0
jne 0x100012d4
mov byte [ecx + 0x44], 0
call fcn.10018520
call fcn.100188b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1000b990
call fcn.10018520
call fcn.100188b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100017c0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x100017e5
push 0
push 0
push dword [esp + 0xc]
push 0x100015a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc
Function at 0x10001f50
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069f65
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x100aa040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10071d2c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10002164
push str.CLRCreateInstance
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10002164
lea ecx, [ebp - 0x18]
push ecx
push 0x10071c5c
push 0x10071c6c
call eax
test eax, eax
jns 0x10001fd1
push str.____CLRCreateInstance
jmp 0x10002152
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 0x10071c7c
push 0x10071e38
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x10001ffb
push 0x10071e38
push str.____GetRuntime_failed:__S_n
jmp 0x10002157
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
js 0x1000214d
cmp dword [ebp - 0x1c], 0
je 0x1000214d
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x10071c3c
push 0x10071c4c
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
test eax, eax
jns 0x1000203f
push str.____GetInterface
jmp 0x10002152
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x10002056
push str.____Start
jmp 0x10002152
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x10002164
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.10001c80
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000211d
push 0x2600
push ecx
mov eax, esp
mov dword [eax], esi
mov byte [ebp - 4], 2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edx, 0x10071f60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10001da0
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, dword [0x100ad34c]
cmp ecx, edx
je 0x100020d6
mov dword [0x100ad34c], edx
mov dword [eax], 0
test ecx, ecx
je 0x100020d0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [0x100ad34c]
test ecx, ecx
setne bl
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100020ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
test bl, bl
je 0x100020f8
mov bl, 1
jmp 0x10002111
push str.____C_Get_Assembly_From_Binary_Failed
push 0x10071d64
push 0x100aac70
call fcn.1000af10
add esp, 0xc
xor bl, bl
mov byte [ebp - 4], 7
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x1000213a
push str.____C_Get_Default_Domain_Failed
push 0x10071d64
push 0x100aac70
mov byte [ebp - 4], 0
call fcn.1000af10
add esp, 0xc
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.____IsLoadable
push 0x10071d64
push 0x100aac70
call fcn.1000af10
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
cmp ebp, 5
jae 0x100030a6
pop edi
pop ebp
xor al, al
pop ebx
ret
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push 0x90
push edi
call fcn.1004d8d0
add esp, 0xc
mov byte [edi], 0xe9
lea eax, [esp + 0x10]
sub ebx, edi
sub ebx, 5
mov dword [edi + 1], ebx
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x100052c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [0x100aa040]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x1c], ecx
mov eax, dword [ebp]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
mov dword [edi], 0
mov dword [ebp], 0
mov dword [esp + 0x24], eax
mov dword [ebx], 0
cmp eax, 5
jae 0x10005326
mov eax, 6
jmp 0x100054ac
mov ecx, dword [esp + 0xac]
movzx esi, byte [ecx + 4]
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 1]
shl esi, 8
or esi, eax
mov eax, 0x1000
cmp esi, eax
cmovb esi, eax
mov al, byte [ecx]
cmp al, 0xe1
jb 0x10005366
mov eax, 4
jmp 0x100054ac
movzx ecx, al
xor edx, edx
mov eax, ecx
mov dword [esp + 0x14], 9
div dword [esp + 0x14]
mov eax, 0x38e38e39
mov byte [esp + 0x12], dl
mul ecx
mov eax, 0xcccccccd
shr edx, 1
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 5
shr edx, 2
mov dword [esp + 0x18], edx
xor edx, edx
div ecx
push 0
mov al, dl
movzx ecx, al
mov byte [esp + 0x17], al
movzx eax, byte [esp + 0x16]
add ecx, eax
mov eax, 0x300
shl eax, cl
add eax, 0x7c0
push 0x1007459c
mov dword [esp + 0x1c], eax
call fcn.10003390
mov eax, dword [esp + 0x1c]
add eax, eax
push eax
push 0x1007459c
call fcn.10003380
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100053f4
mov eax, 2
jmp 0x100054ac
mov edx, dword [esp + 0x20]
add eax, 0xd00
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov al, byte [esp + 0x12]
mov byte [esp + 0x30], al
mov al, byte [esp + 0x13]
mov byte [esp + 0x31], al
mov eax, dword [esp + 0x18]
mov byte [esp + 0x32], al
movzx eax, byte [esp + 0x2b]
push ebx
push ecx
mov byte [esp + 0x3b], al
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x24]
push edi
push dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x84], 0x114
mov dword [edi], eax
call fcn.10004e10
mov ecx, dword [esp + 0x58]
mov esi, eax
add esp, 0x10
mov dword [ebp], ecx
test esi, esi
jne 0x10005499
cmp dword [ebx], 3
mov eax, 6
cmove esi, eax
push dword [esp + 0x38]
push 0x1007459c
call fcn.10003390
add esp, 8
mov eax, esi
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004b5fe
add esp, 0x90
ret
Function at 0x100081d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp byte [0x100ad370], 0
jne 0x10008214
mov eax, dword [0x100ad35c]
test eax, eax
je 0x10008214
push eax
push dword [0x100ad350]
push 0x100ad360
call fcn.1004d2f0
push dword [0x100ad35c]
mov edx, dword [0x100ad354]
mov ecx, dword [0x100ad350]
call fcn.10003090
add esp, 0x10
mov byte [0x100ad370], 1
mov ecx, 0x100ad398
call fcn.100010c0
mov ecx, 0x100ad3bc
jmp fcn.100010c0

Function at 0x10008230
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x100abe9f], 0
jne 0x1000836e
cmp byte [0x100abe9e], 0
jne 0x1000836e
cmp byte [0x100ac03c], 0
jne 0x1000836e
cmp byte [0x100ac03f], 0
jne 0x1000836e
cmp byte [0x100ac03e], 0
jne 0x1000836e
cmp byte [0x100aa990], 0
jne 0x1000836e
cmp byte [0x100aa970], 0
jne 0x1000836e
cmp byte [0x100aa950], 0
jne 0x1000836e
cmp byte [0x100ad370], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x100082e5
mov esi, dword [0x100ad35c]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad350]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad360
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad370], 0
cmp byte [0x100ad3b8], 0
je 0x10008328
mov esi, dword [0x100ad3a4]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad398]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad3a8
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad3b8], 0
cmp byte [0x100ad3dc], 0
je 0x1000836b
mov esi, dword [0x100ad3c8]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad3bc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad3cc
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad3dc], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10009c00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100ad520], 0
je 0x10009c50
push ebx
mov ebx, dword [0x100ad500]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100ad50c]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100ad510
push ebx
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100ad520], 0
pop ebx
pop ecx
ret

Function at 0x10009c90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.10008230
cmp byte [0x100ad544], 0
je 0x10009ce5
push ebx
mov ebx, dword [0x100ad524]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100ad530]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100ad534
push ebx
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100ad544], 0
pop ebx
pop ecx
ret

Function at 0x1000a120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call fcn.10008230
cmp byte [0x100ad56c], 0
je 0x1000a175
push ebx
mov ebx, dword [0x100ad54c]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100ad558]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100ad55c
push ebx
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100ad56c], 0
pop ebx
pop ecx
ret

Function at 0x1000a1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
cmp byte [0x100ad590], 0
je 0x1000a240
push ebx
mov ebx, dword [0x100ad570]
lea eax, [esp + 4]
push edi
mov edi, dword [0x100ad57c]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push 0x100ad580
push ebx
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 8]
push eax
push dword [esp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov byte [0x100ad590], 0
pop ebx
pop ecx
ret
Function at 0x1000a330
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
cmp byte [0x100ad5fc], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push edi
je 0x1000a37d
mov esi, dword [0x100ad5e8]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad5dc]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad5ec
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad5fc], 0
cmp byte [0x100ad5d8], 0
je 0x1000a3c0
mov esi, dword [0x100ad5c4]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad5b8]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad5c8
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad5d8], 0
cmp byte [0x100ad5b4], 0
je 0x1000a403
mov esi, dword [0x100ad5a0]
lea eax, [esp + 0xc]
mov edi, dword [0x100ad594]
push eax
push 0x40
push esi
push edi
call ebx
push esi
push 0x100ad5a4
push edi
call fcn.1004d2f0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push edi
call ebx
mov byte [0x100ad5b4], 0
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1000ada0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x24
push esi
push edi
or eax, 0xffffffff
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov esi, 0x1009d3dd
mov dword [esp + 8], str.Config
mov cl, 0x43
or edi, 0xffffffff
nop word [eax + eax]
cmp cl, 0x23
jne 0x1000addf
cmp byte [esi], cl
jne 0x1000addf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10098130]
test cl, cl
jne 0x1000add0
pop edi
not eax
mov dword [esp + 0xc], fcn.1000a5d0
pop esi
lea ecx, [esp]
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0x1000a5e0
mov dword [esp + 0x14], 0x1000a8e0
mov dword [esp + 0x18], fcn.1000a5d0
mov dword [esp + 0x1c], 0x1000a5f0
call fcn.10026c60
add esp, 0x24
ret
Function at 0x1000b8a0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push eax
push 0x1000b400
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x100ad248], eax
call fcn.10015050
mov esi, dword [0x100ad250]
mov edi, eax
mov eax, dword [edi + 0x5a94]
test eax, eax
je 0x1000b917
mov dword [edi + 0x5a90], 0
mov dword [edi + 0x5a8c], 0
test esi, esi
je 0x1000b904
dec dword [esi + 0xb0]
push eax
call fcn.1004f934
add esp, 4
mov dword [edi + 0x5a94], 0
call fcn.1000ada0
call fcn.1000a510
push ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
push ecx
mov ecx, eax
mov dword [esp + 0x14], 0
call fcn.100136d0
mov esi, eax
add esp, 8
test esi, esi
je 0x1000b969
mov edx, dword [esp + 0xc]
test edx, edx
je 0x1000b951
mov ecx, esi
call fcn.10026e10
mov eax, dword [0x100ad250]
test eax, eax
je 0x1000b960
dec dword [eax + 0xb0]
push esi
call fcn.1004f934
add esp, 4
call fcn.1000b4d0
call fcn.1000b800
mov ecx, dword [0x100abe54]
call fcn.10048f80
call fcn.10047eb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret