joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bdd00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
not eax
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0x101fa090
cmp dword [ebp + 0xc], 0
je 0x100bddb9
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 0x100bddb7
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 3], al
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov dl, byte [ebp - 3]
mov byte [ebp - 2], dl
movzx eax, byte [ebp - 2]
cmp eax, 0x23
jne 0x100bdd94
cmp dword [ebp + 0xc], 2
jb 0x100bdd94
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100bdd94
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x23
jne 0x100bdd94
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
movzx edx, byte [ebp - 2]
xor ecx, edx
mov edx, dword [ebp - 0x10]
xor eax, dword [edx + ecx*4]
mov dword [ebp - 0xc], eax
jmp 0x100bdd2b
jmp 0x100bde2e
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 4], cl
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov al, byte [ebp - 4]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x100bde2e
movzx edx, byte [ebp - 1]
cmp edx, 0x23
jne 0x100bde0f
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100bde0f
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x23
jne 0x100bde0f
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
mov eax, dword [ebp - 0xc]
and eax, 0xff
movzx ecx, byte [ebp - 1]
xor eax, ecx
mov ecx, dword [ebp - 0x10]
xor edx, dword [ecx + eax*4]
mov dword [ebp - 0xc], edx
jmp 0x100bddb9
mov eax, dword [ebp - 0xc]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x10111060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1095540c]
mov dword [ebp - 4], eax
jmp 0x10111078
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1011108e
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1011108c
mov eax, dword [ebp - 4]
jmp 0x10111109
jmp 0x10111070
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10111106
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x101110c8
mov edx, dword [ebp - 4]
mov eax, dword [0x1095540c]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x1095540c], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x101120c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10955400]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10112104
mov eax, dword [ebp - 8]
sub eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10112126
mov eax, 0xa
jmp 0x1011220d
cmp dword [ebp + 0xc], 0
je 0x10112172
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 8]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x10112170
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x14]
mov byte [edx + 1], 0xf9
jmp 0x101121ae
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x10112199
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x101121ae
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10112270
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10247500]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x101123af
mov dword [ebp - 0x20], 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x101123a4
cmp dword [ebp - 0x20], 0x10
jb 0x10112388
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x10112388
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10112388
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10112318
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
push edx
push 0
mov eax, dword [0x10955080]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x10112316
jmp 0x101123a4
jmp 0x10112368
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x10112368
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x10955080]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10112352
jmp 0x101123a4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x101122b2
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f297
mov esp, ebp
pop ebp
ret
Function at 0x101124e0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10112270
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x1011257e
mov dword [ebp - 4], 0
jmp 0x10112529
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x1011257e
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1011257c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.101129a0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x10112520
mov esp, ebp
pop ebp
ret

Function at 0x10112b30
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x10112ba6
mov dword [ebp - 4], 0
jmp 0x10112b50
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x10112b91
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10112b8f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x10112b47
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x10955080]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
nop
mov esp, ebp
pop ebp
ret

Function at 0x10112ff0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x10113039
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x10113039
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x10113039
xor eax, eax
jmp 0x1011307a
mov dword [ebp - 4], 1
jmp 0x1011304b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10113075
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x10113073
xor eax, eax
jmp 0x1011307a
jmp 0x10113042
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10118150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x10118173
push dword [ebx + 0x74]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x101181d9
nop dword [eax + eax]
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x54]
test eax, eax
je 0x101181d2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x101181a6
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x10118195
jmp 0x101181d2
test edx, edx
jne 0x101181af
mov dword [edi + 0x54], ecx
jmp 0x101181b2
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x101181bf
push esi
call eax
add esp, 4
push esi
call fcn.10118570
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x10118180
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x10118260
test edi, edi
je 0x10118260
mov eax, dword [ecx]
test eax, eax
je 0x10118253
mov ebx, eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x10118208
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1011821b
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1011822c
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x101181f2
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x10118274
push ebx
call eax
add esp, 4
push edi
push ebx
call fcn.101180d0
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1011828e
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x101182c4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x101182b1
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x101182c4
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
test eax, eax
je 0x101182ea
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1016e773
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1016e79a
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1016e79d
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1016e74f
pop esi
leave
ret 8

Function at 0x442fd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x43f015
lea edi, [esi - 0x3e015]
push edi
or ebp, 0xffffffff
jmp 0x442ff2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x442ff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x442fe8
mov eax, 1
add ebx, ebx
jne 0x44300b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x443000
jne 0x44301c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x443000
xor ecx, ecx
sub eax, 3
jb 0x443030
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4430a2
mov ebp, eax
add ebx, ebx
jne 0x44303b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x443048
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x44306c
inc ecx
add ebx, ebx
jne 0x443058
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44304d
jne 0x443069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44304d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44308c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44307d
jmp 0x442fee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44308c
add edi, ecx
jmp 0x442fee
pop esi
mov edi, esi
mov ecx, 0x218
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4430aa
cmp byte [edi], 5
jne 0x4430aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4430af
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x44311e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x43000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4303c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4430dc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x43044]
or eax, eax
je 0x443118
mov dword [ebx], eax
add ebx, 4
jmp 0x4430f9
call dword [esi + 0x43040]
mov ebp, dword [esi + 0x43048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x43179]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44316a
sub esp, 0xffffff80
jmp 0x4014a0
Function at 0x40535f
Capabilities:
Encode data using xor

Disassembly:
cmp edx, edi
insd dword es:[edi], dx
les edx, [edx - 0x61]
and ebx, dword [ecx - 0x77]
dec ebx
cmc
mov byte [0x6678adf1], al
mov eax, 0x77d9a41b
mov edi, 0xde716084
push 0xc2c5845d
pop esi
jo 0x4053cb
loopne 0x405345
shr esi, 0xa9
cmp al, 0x93
cld
std
out dx, al
test eax, 0xfdfc933c
inc edi
bound edx, qword [ebp + ebx*4 - 0x33f05764]
mov eax, 0x226a57e5
xchg ebp, eax
sahf
add eax, 0x88dd0f87
sub byte [ebx - 0x130d2afc], 0xb4
xor dword [edi - 0x14872720], esi
cmc
sahf
pushal
cwde
imul ebp, dword [ecx - 0x24a91264], 0xfffffff3
fnsave dword [ebx + 0x153f7fe4]
pop ecx
imul ecx, dword [ecx + 0x17], 0xaa6af1c6
push ecx
jecxz 0x40536a
das
cmp eax, 0xdddb0f12
and eax, 0xe89b8b31
jae 0x4053fa
invalid
inc ebx
or ch, ch
popfd
and esi, dword [ecx + 0x69]
jno 0x40543b
xchg ebp, eax
inc edi
clc
jne 0x40544c
push edi
jo 0x405440
ljmp 0xfedb:0x47f9965d
or eax, 0x876b45d1
mov al, 0xa9
dec ecx
jb 0x405430
stosb byte es:[edi], al
invalid
add byte [edx + 0x13db05b6], bl
invalid
sub edi, esi
add al, 0xc7
salc
retf
salc
mov eax, 0xd34cc51a
push edx
sbb dword [ecx], 0x1976b922
out dx, eax
add dword [eax], 0x41620700
lahf
sbb dword [edx], esp
mov ecx, 0x81ef1976
add byte [eax], al
pop es
bound eax, qword [ecx - 0x61]
je 0x4054a8
adc eax, 0xd71b552c
lodsb al, byte [esi]
pop esi
in al, dx
mov ecx, 0x5f9ac990
inc ebx
lahf
iretd
xchg ebp, eax
and eax, 0xeb1e0d88
movsd dword es:[edi], dword [esi]
adc al, 0x89
xchg dword [esi], eax
pop ss
mov ah, byte [esi + 0x4c]
call 0x49fc976
pop eax
ljmp 0x17c7:0x9b8624bd
xchg edi, eax
sub byte [esi - 0x2e4df672], 0x43
dec edi
mov eax, 0x376b720a
mov ebx, 0x3d3ab396
in al, dx
adc al, dl
adc eax, dword [ebx + 0x50]
aas
int1
sahf
cdq
jns 0x405481
fbstp tbyte [esi - 0x2b]
pushfd
jp 0x405496
sbb dl, al
je 0x405454
add al, 0xd7
pushal
add al, 0x10
movsd dword es:[edi], dword [esi]
retf 0xdc74

Function at 0x405807
Capabilities:
Encode data using xor

Disassembly:
pop ecx
xor bh, dh
not edx
jae 0x405821
not edx
jae 0x405821
cmp dword [edx - 0x38], edi
outsb dx, byte [esi]
mov dword [edi + ebx], esi
pop ds
pop esi
xor esp, edi
xchg ebx, eax
nop
push ds
fdivr dword [edi + 0x59]
xchg edx, eax
jne 0x405805
jo 0x405811
mov esi, ss
salc
invalid
Function at 0x6721b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00672140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00672140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00672140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00672140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x672bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x672c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x68487c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x672c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x672c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4015c4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4015d6
mov eax, dword [0x51509f]
shl eax, 2
mov dword [0x5150a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.00504b04
pop edx
call fcn.00504704
call fcn.00505020
push 0
call fcn.00506350
pop ecx
push 0x515048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x5150a7], eax
push 0
jmp fcn.0050fb9c

Function at 0x404a50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x100
or dword [ebp + 0x10], 0x100
shl dword [ebp + 0x14], 1
mov eax, dword [ebp + 0x10]
shr eax, 7
and eax, 1
push eax
mov edx, dword [ebp + 0x14]
and edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
shr ecx, 8
add edx, ecx
add edx, edx
add edx, dword [ebp + 0xc]
push edx
push dword [ebp + 8]
call fcn.00404995
add esp, 0xc
shl dword [ebp + 0x10], 1
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0x10]
not eax
and dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x10000
jb 0x404a62
pop ecx
pop ebp
ret

Function at 0x404aab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], eax
or dword [ebp + 0xc], 0x100
mov edx, dword [ebp + 0xc]
shr edx, 8
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + edx*2]
mov edx, dword [ebp + 0xc]
shr edx, 7
and edx, 1
neg edx
and edx, 0x7ff
xor eax, edx
sar eax, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4]
add dword [ebp - 4], eax
shl dword [ebp + 0xc], 1
cmp dword [ebp + 0xc], 0x10000
jb 0x404abb
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret

Function at 0x404af9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x100
or dword [ebp + 0xc], 0x100
shl dword [ebp + 0x10], 1
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 8]
add edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
shr ecx, 8
add edx, ecx
mov eax, dword [ebp + 8]
movzx edx, word [eax + edx*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor edx, ecx
sar edx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + edx*4]
add dword [ebp - 4], edx
shl dword [ebp + 0xc], 1
mov ecx, dword [ebp + 0x10]
xor ecx, dword [ebp + 0xc]
not ecx
and dword [ebp - 8], ecx
cmp dword [ebp + 0xc], 0x10000
jb 0x404b12
mov eax, dword [ebp - 4]
pop ecx
pop ecx
pop ebp
ret

Function at 0x404c17
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, 1
shl edx, cl
or dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 1
je 0x404c65
mov eax, dword [ebp + 0x10]
shr eax, 1
mov edx, dword [ebp + 8]
movzx ecx, word [edx + eax*2]
mov ebx, dword [ebp + 0x10]
and ebx, 1
neg ebx
and ebx, 0x7ff
xor ecx, ebx
sar ecx, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + ecx*4]
add dword [ebp - 4], edx
shr dword [ebp + 0x10], 1
cmp dword [ebp + 0x10], 1
jne 0x404c34
mov eax, dword [ebp - 4]
pop ebx
pop ecx
pop ebp
ret