joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485524
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49cdb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047c542
and dword [ebp - 0x14], 0
cmp dword [0x49f260], 0
mov dword [ebp - 0x18], eax
jne 0x4855d7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48567f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48567f
mov esi, dword [0x4759f0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x49f260], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49f264], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49f268], eax
call edi
push eax
call esi
mov dword [0x49f270], eax
test eax, eax
je 0x4855d7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49f26c], eax
mov eax, dword [0x49f26c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x4759f4]
cmp eax, ecx
je 0x485630
cmp dword [0x49f270], ecx
je 0x485630
push eax
call esi
push dword [0x49f270]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x485630
test ebx, ebx
je 0x485630
call edi
test eax, eax
je 0x485627
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x485627
test byte [ebp - 8], 1
jne 0x485630
or dword [ebp + 0x10], 0x200000
jmp 0x485663
mov eax, dword [0x49f264]
cmp eax, dword [ebp - 0x18]
je 0x485663
push eax
call esi
test eax, eax
je 0x485663
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x485663
mov eax, dword [0x49f268]
cmp eax, dword [ebp - 0x18]
je 0x485663
push eax
call esi
test eax, eax
je 0x485663
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49f260]
call esi
test eax, eax
je 0x48567f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x485681
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047f404
leave
ret
Function at 0x10005cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10036220]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10005d12
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10005d38
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10005d59
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10005d59
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10005d53
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10005d59
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10005e20
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
mov eax, dword [0x10034240]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10005f1f
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10005f18
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x10], 0x10
jb 0x10005efd
call ebx
cmp dword [esp + 0x1c], eax
jne 0x10005efd
call ebp
cmp dword [esp + 0x18], eax
je 0x10005efd
mov edx, dword [esi]
test edx, edx
jne 0x10005ec5
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100352b4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10005f18
jmp 0x10005ef0
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10005ef0
shl eax, 3
push eax
push edx
push 0
push dword [0x100352b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10005f18
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10005e85
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10005f6d
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10005f6d
xor ebp, ebp
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebp]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10005f64
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push edi
call fcn.10006320
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add ebp, 4
cmp ebx, dword [esi + 8]
jb 0x10005f30
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10007114
add esp, 0x20
ret

Function at 0x100064a0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x100064f5
push ebx
xor ebx, ebx
cmp dword [edi + 8], ebx
jbe 0x100064e4
push ebp
push esi
xor ebp, ebp
mov eax, dword [edi]
push dword [eax + ebp]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100064d9
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add ebp, 4
cmp ebx, dword [edi + 8]
jb 0x100064b6
pop esi
pop ebp
push dword [edi]
push 0
push dword [0x100352b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop ebx
pop edi
ret
Function at 0x10006500
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10036214]
test eax, eax
je 0x1000651c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1000656b
mov eax, dword [eax]
test eax, eax
jne 0x10006510
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10006579
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10006545
mov ecx, dword [0x10036214]
pop edi
mov dword [eax], ecx
pop esi
mov dword [0x10036214], eax
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
xor eax, eax
ret
Function at 0x10006940
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x10006955
cmp cl, 0x90
je 0x10006955
cmp cl, 0xcc
jne 0x10006973
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1000696c
cmp byte [eax + edx], cl
jne 0x10006973
inc eax
cmp eax, esi
jb 0x10006962
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100093e6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10009407
jl 0x100093fe
test edi, edi
jne 0x10009407
xor eax, eax
xor edx, edx
jmp 0x100094c8
cmp dword [ebx + 0x38], 0
je 0x1000941c
push eax
push edi
push dword [ebp + 8]
call fcn.100094ce
jmp 0x100094c8
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10009463
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x10009463
cmp eax, edi
jb 0x1000943d
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.1000bf50
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10009469
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x100094bd
mov ecx, ebx
call fcn.10008bea
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x100094a8
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.100126da
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x100094bd
jmp 0x1000947b
test edx, edx
je 0x100094bd
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.100126da
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x100095bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x100095df
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100096a2
jmp 0x1000969d
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x10009605
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1000960a
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov eax, ecx
cdq
mov dword [ebp - 4], eax
mov ecx, edx
mov dword [ebp - 8], ecx
test edi, edi
jl 0x1000966a
jg 0x1000961f
test esi, esi
je 0x1000966a
test ecx, ecx
jl 0x10009665
jg 0x10009629
test eax, eax
je 0x10009665
cmp edi, ecx
jg 0x1000963b
jl 0x10009633
cmp esi, eax
jae 0x1000963b
mov eax, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.1000bf50
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 8]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1000966d
mov ecx, dword [ebp + 8]
jmp 0x10009677
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x10009691
jg 0x10009677
test esi, esi
je 0x10009691
cmp dword [ebx + 0x4c], 0
je 0x10009691
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.10012d46
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1000a3d6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10034240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0xffff
push edi
mov edi, ecx
cmp bx, si
jne 0x1000a401
push ebx
call fcn.1000a3bc
pop ecx
jmp 0x1000a456
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000a42a
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1000a42a
dec dword [edx]
mov edx, dword [edi + 0x20]
mov eax, dword [ebp + 8]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], ax
jmp 0x1000a456
cmp dword [edi + 0x4c], 0
je 0x1000a453
mov ecx, edi
call fcn.1000a04a
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1000a467
push dword [edi + 0x4c]
push esi
call fcn.10009b33
pop ecx
pop ecx
test al, al
je 0x1000a453
movzx ebx, si
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007114
leave
ret 4
mov word [ebp - 0x28], si
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x100281ac]
mov ecx, dword [ebp - 0x2c]
call esi
sub eax, 0
je 0x1000a4c2
sub eax, 1
je 0x1000a4c2
dec eax
sub eax, 1
jne 0x1000a453
push dword [edi + 0x4c]
push dword [ebp - 0x28]
call fcn.10009b33
pop ecx
pop ecx
test al, al
je 0x1000a453
mov eax, dword [ebp + 8]
movzx ebx, ax
jmp 0x1000a453
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x1000a4e3
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.10012d46
add esp, 0x10
cmp esi, eax
jne 0x1000a453
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x1000a453
mov eax, dword [ebp + 8]
jmp 0x1000a456

Function at 0x1001cb05
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001c7b6

Function at 0x1001cb10
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001c940

Function at 0x10026a90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10026abd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10026abd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
push esi
mov dword [edi], 0
mov al, byte [0x66204a]
mov cl, byte [0x66204d]
mov edx, dword [0x662030]
and cl, al
mov eax, dword [0x662034]
mov byte [0x66204d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x662043]
mov dword [0x662030], edx
mov edx, dword [0x662038]
or edx, 7
imul edx, ecx
invalid

Function at 0x659c4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662398
cmp edx, dword [eax]
je 0x659c6f
add eax, 8
inc ecx
cmp eax, 0x662428
jl 0x659c60
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662398]
jne 0x659d9d
mov eax, dword [0xa5f0f4]
cmp eax, 1
je 0x659d77
test eax, eax
jne 0x659ca0
cmp dword [0x6622c4], 1
je 0x659d77
cmp edx, 0xfc
je 0x659d9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659cd7
lea eax, [ebp - 0x1a4]
push 0x65eb80
push eax
call fcn.0065a630
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065aac0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659d1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065aac0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eb7c
push edi
call fcn.0065c990
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65eb60
push eax
call fcn.0065a630
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a640
lea eax, [ebp - 0xa0]
push 0x65eb5c
push eax
call fcn.0065a640
push dword [esi + 0x66239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a640
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65eb34
push eax
call fcn.0065c904
add esp, 0x2c
pop edi
jmp 0x659d9d
lea eax, [ebp + 8]
lea esi, [esi + 0x66239c]
push 0
push eax
push dword [esi]
call fcn.0065aac0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x407e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407e72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407e68
mov eax, 1
add ebx, ebx
jne 0x407e8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407e80
jne 0x407e9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407e80
xor ecx, ecx
sub eax, 3
jb 0x407eb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407f22
mov ebp, eax
add ebx, ebx
jne 0x407ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407eec
inc ecx
add ebx, ebx
jne 0x407ed8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ecd
jne 0x407ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x407f0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x407efd
jmp 0x407e6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x407f0c
add edi, ecx
jmp 0x407e6e
pop esi
mov edi, esi
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x407f2a
cmp byte [edi], 1
jne 0x407f2a
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 eax, ebx
loop 0x407f2f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407fa7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7f88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7fc4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407f5c
mov ecx, edi
jns 0x407f8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7fc8]
or eax, eax
je 0x407fa1
mov dword [ebx], eax
add ebx, 4
jmp 0x407f79
call dword [esi + 0x7fcc]
popal
jmp 0x4011c0
Function at 0x407a06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [str.2lC]
push edi
mov edi, 0x465100
push edi
call esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0xc], esi
jne 0x407a31
mov byte [ebx], al
jmp 0x407a79
push edi
push ebx
call dword [0x45d138]
mov eax, dword [ebp - 8]
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x407a46
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x407a79
mov eax, esi
cdq
idiv dword [ebp - 8]
mov eax, esi
push 0x19
pop edi
lea ecx, [edx + ebx]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
movzx edx, byte [ecx]
xor eax, edx
cdq
idiv edi
add dl, 0x41
inc esi
cmp esi, dword [ebp - 4]
mov byte [ecx], dl
jl 0x407a4d
pop edi
pop esi
leave
ret 4
Function at 0x4288b8
Capabilities:
Encode data using xor

Disassembly:
xor ecx, dword [ebx - 0x4551ca70]
add byte [edi + 0x14], cl
push 0xffffffffffffffaf
push es
fnstsw word [bx - 0x4d2a]
into
fcom qword [edx + 0x46]
add byte [edi + 6], ah
invalid

Function at 0x459f1a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
aam 0xe9
mov edi, 0x53034638
sbb eax, 0x4e8b06
fsubr st(7), st(0)
sbb dword [edx], ebx
test dword [ebx], ebp
js 0x459f83
js 0x459f7c
invalid
xchg ecx, eax
inc ebx
add edx, dword [ebx]
jl 0x459f00
mov dword [0xaf687416], eax
invalid
std
pop ss
xchg ecx, eax
add al, 0xce
adc dword [ecx + 0x43], ebp
sub bh, byte [edx]
fimul word [0xe9632f70]
enter 0x3147, 0xffffffffffffffaf
pop ebx
mov word [edx + edx - 0x5866c5fc], ds
push cs
xchg byte [esi - 0x52], dh
retf
sti
sahf
int3
mov byte [eax - 0x44f9b56], cl
imul edx, ebx, 0xe30df4
add dword [edi], edx
clc
mov cl, 0x93
add dword [esi - 0x76], edx
xor al, 1
xor byte [edx], bh
dec esp
jnp 0x459ff0
test al, 0x62
cmc
adc byte [0xd37db27a], al
jmp 0x459f4f
movsd dword es:[edi], dword [esi]
aaa
sub eax, dword [esi - 0x27]
loope 0x45a035
xor eax, 0xd7cce965
aaa
aad 0xf0
out dx, eax
cmpsb byte [esi], byte es:[edi]
leave
add cl, dh
adc al, 0x51
pushfd
lahf
add eax, 0x7371f462
pop ecx
add al, 0x8f
mov al, 0xb3
popal
xchg esp, eax
mov byte [edx + 0xf097201], bl
sub cl, ah
test byte [edi], al
dec esi
xchg edi, eax
cmpsd dword [esi], dword es:[edi]
push ebp
les ebp, [ebx - 0x6d]
popfd
lea eax, [ebx - 0x15ad72f8]
movsb byte es:[edi], byte [esi]
adc eax, 0x9f41dd9e
or byte [ebp + 0x15a4ea52], cl
sahf
fld qword [ecx - 0x61]
push esp
push edx
sbb edx, dword [eax]
js 0x459fb3
push ecx
pop esi
div dh
invalid
pop edi
or eax, 0xcecd4673
push ebx
fistp word [ebx - 0x7f]
invalid
Function at 0x4068fb
Capabilities:
Get common file path

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

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

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a8f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a69
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406ac0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406aa2
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x65300031
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x37861c2b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40e1d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 8]
cmp eax, 9
jne 0x429ff6
mov al, byte [ecx]
ret
xchg edi, eax
mov word [edi], es
or ebp, dword [eax + 0x5a250031]
xor dword [edi + 0x43], ebx
add byte [0x435f315a], ah
fild word [esi + edi*8 - 0x74f461f6]
xor dword [edi + 0xe], ebp
cmp al, 0x82
out 0xf, al
mov ebp, dword [ecx]
outsd dx, dword [esi]
push cs
cmp al, 0xd8
xor ebx, edx
out 0xde, al
aas
stc
cmp eax, dword [ebp - 0x5c]
adc eax, 0x841c004f
mov dh, 0xd
mov fs, edi
js 0x429ffc
fisttp word [edi]
jnp 0x429fef
stosb byte es:[edi], al
add eax, 0x841c004f
out dx, al
and ch, 0xf
mov ah, bh
in eax, dx
iretd