joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4520fb
Capabilities:
Access peb ldr_data

Disassembly:
push esi
push edi
push ebx
push ebp
sub esp, 0x4cc
mov eax, dword fs:[0x30]
add byte [eax], al
add byte [ebx - 0x3f7cf3c0], cl
invalid
mov eax, dword [eax]
mov esi, dword [eax + 0x30]
movzx edx, word [esi]
test edx, edx
je 0x4521b6
xor ecx, ecx
inc ecx
movzx edx, word [esi + ecx*2]
test edx, edx
jne 0x452123
test ecx, ecx
je 0x4521b6
mov ebx, ecx
xor edx, edx
shr ebx, 1
je 0x45223e
mov dword [esp], eax
xor ebp, ebp
movzx eax, word [esi + ebp*4]
cmp eax, 0x41
jl 0x452158
cmp eax, 0x5a
lea edi, [eax + 0x20]
jg 0x452158
mov eax, edi
imul edx, edx, 0x1003f
movzx eax, ax
add edx, eax
movzx eax, word [esi + ebp*4 + 2]
cmp eax, 0x41
jl 0x452177
cmp eax, 0x5a
lea edi, [eax + 0x20]
jg 0x452177
mov eax, edi
imul edx, edx, 0x1003f
inc ebp
movzx eax, ax
add edx, eax
cmp ebp, ebx
jb 0x452145
mov eax, dword [esp]
lea ebp, [ebp + ebp + 1]
lea ebx, [ebp - 1]
cmp ebx, ecx
jae 0x4521b8
movzx ebx, word [esi + ebp*2 - 2]
cmp ebx, 0x41
jl 0x4521a9
cmp ebx, 0x5a
lea ecx, [ebx + 0x20]
jg 0x4521a9
mov ebx, ecx
imul edx, edx, 0x1003f
movzx ecx, bx
add edx, ecx
jmp 0x4521b8
xor edx, edx
cmp edx, 0xad06e977
jne 0x452111
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0xeb5c4]
mov eax, dword [ecx + 0xeb5c8]
test edx, edx
jbe 0x452215
mov ebx, edx
shr ebx, 1
je 0x452248
xor ebp, ebp
mov edi, dword [ecx + ebp*8 + 0xeb5cc]
add edi, eax
mov dword [esp + ebp*8], edi
mov edi, dword [ecx + ebp*8 + 0xeb5d0]
add edi, eax
mov dword [esp + ebp*8 + 4], edi
inc ebp
cmp ebp, ebx
jb 0x4521df
lea ebx, [ebp + ebp + 1]
lea ebp, [ebx - 1]
cmp ebp, edx
jae 0x452215
mov edx, dword [ecx + ebx*4 + 0xeb5c8]
add eax, edx
mov dword [esp + ebx*4 - 4], eax
lea eax, [esp]
mov dword [eax + 0x4c8], eax
mov edx, dword [eax + 0x48]
mov dword [eax + 0x4c0], ecx
add edx, ecx
lea ecx, [esp + 0x4ac]
push ecx
call edx
add esp, 0x4cc
pop ebp
pop ebx
pop edi
pop esi
ret
mov ebp, 1
jmp 0x45218e
mov ebx, 1
jmp 0x452201
Function at 0x401450
Capabilities:
Create process on windows

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
call fcn.00401000
mov eax, dword [esp + 8]
add esp, 8
cmp eax, 0x300
jb 0x401485
push 5
push str.game.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
xor eax, eax
add esp, 8
ret 0x10
push 0
push str.Old_DirectX_Version
push str.You_need_a_newer_version_of_DirectX.__Click_OK_to_go_to_the_Microsoft_DirectX_web_page.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
push 0
push 0
push str.http:__www.microsoft.com_directx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
add esp, 8
ret 0x10

Function at 0x4014c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404120
push 0x402718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x4076a4], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x4076a0], ecx
shl ecx, 8
add ecx, edx
mov dword [0x40769c], ecx
shr eax, 0x10
mov dword [0x407698], eax
call fcn.004025e0
test eax, eax
jne 0x40152a
push 0x1c
call fcn.00401690
add esp, 4
mov dword [ebp - 4], 0
call fcn.004023e0
call fcn.004023d0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x407b74], eax
call fcn.00401d90
mov dword [0x407680], eax
test eax, eax
je 0x40155d
mov eax, dword [0x407b74]
test eax, eax
jne 0x401567
push 0xffffffffffffffff
call fcn.004016f0
add esp, 4
call fcn.00401ae0
call fcn.004019f0
call fcn.004016c0
mov esi, dword [0x407b74]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x401646
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x4015ae
test al, al
je 0x4015ae
and eax, 0xff
push eax
call fcn.00401990
add esp, 4
test eax, eax
je 0x401588
inc esi
mov dword [ebp - 0x64], esi
jmp 0x401588
cmp byte [esi], 0x22
jne 0x4015b7
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x4015c7
cmp al, 0x20
ja 0x4015c7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4015b7
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4015e8
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x4015ed
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.004016f0
jmp 0x40162b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4015b7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x401646

Function at 0x401690
Capabilities:
Terminate process

Disassembly:
cmp dword [0x407688], 1
jne 0x40169e
call fcn.004027f0
mov eax, dword [esp + 4]
push eax
call fcn.00402830
add esp, 4
push 0xff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401730
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4076d4]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40174f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x4076d0], 1
mov byte [0x4076cc], bl
jne 0x4017a9
mov ecx, dword [0x407b6c]
test ecx, ecx
je 0x401797
mov esi, dword [0x407b68]
sub esi, 4
cmp esi, ecx
jb 0x401797
mov eax, dword [esi]
test eax, eax
je 0x401790
call eax
mov ecx, dword [0x407b6c]
sub esi, 4
cmp esi, ecx
jae 0x401782
push 0x405014
push 0x405010
call fcn.004017e0
add esp, 8
push 0x40501c
push 0x405018
call fcn.004017e0
add esp, 8
test ebx, ebx
jne 0x4017d0
push ebp
mov dword [0x4076d4], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret

Function at 0x401d90
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x4077e8]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x401dd2
call edi
mov esi, eax
test esi, esi
je 0x401dbc
mov eax, 1
jmp 0x401dcd
call ebp
mov ebx, eax
test ebx, ebx
je 0x401edf
mov eax, 2
mov dword [0x4077e8], eax
cmp eax, 1
jne 0x401e72
test esi, esi
jne 0x401deb
call edi
mov esi, eax
test esi, esi
je 0x401edf
cmp word [esi], 0
mov eax, esi
je 0x401e05
add eax, 2
cmp word [eax], 0
jne 0x401df3
add eax, 2
cmp word [eax], 0
jne 0x401df3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x401e64
push edi
call fcn.00402a60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401e64
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x401e56
push ebx
call fcn.00402a10
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x401edf
test ebx, ebx
jne 0x401e83
call ebp
mov ebx, eax
test ebx, ebx
je 0x401edf
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x401e9b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401e8b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401e8b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.00402a60
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x401ebd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x402830
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x4053b8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x402854
add eax, 8
inc ebp
cmp eax, 0x405448
jb 0x402845
cmp ecx, dword [ebp*8 + 0x4053b8]
jne 0x4029fb
mov eax, dword [0x407688]
cmp eax, 1
je 0x4029bd
test eax, eax
jne 0x402880
cmp dword [0x405210], 1
je 0x4029bd
cmp ecx, 0xfc
je 0x4029fb
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4028bb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x402904
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x404400
add ebx, ecx
push ebx
call fcn.00403660
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4043e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x4053bc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004035d0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x407a60]
test eax, eax
je 0x4029ce
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x4029d8
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x4053bc]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x1fb96c81
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..tls
nop
mov ebx, 0x42f314
mov ecx, 0x43706d6c
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404c80
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 4], 6
sbb eax, eax
inc eax
add esp, 0x94
ret
Function at 0x40b230
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b2a6
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
push 0x104
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40b2a6
mov eax, dword [esi + 0x3c]
xor edx, edx
add eax, esi
xor ecx, ecx
sub edi, esi
xor ebp, ebp
mov dx, word [eax + 0x14]
mov cx, word [eax + 6]
test ecx, ecx
lea edx, [edx + eax + 0x18]
jbe 0x40b2a6
lea eax, [edx + 0x10]
mov edx, dword [eax]
mov esi, dword [eax - 8]
mov ebx, dword [eax - 4]
cmp edx, esi
ja 0x40b294
mov edx, esi
cmp edi, ebx
jb 0x40b29e
add edx, ebx
cmp edi, edx
jbe 0x40b2b0
inc ebp
add eax, 0x28
cmp ebp, ecx
jb 0x40b286
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc ebp
sub edi, ebx
mov dword [eax], ebp
mov dword [ecx], edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret

Function at 0x40bb20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push edi
xor dl, dl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 5]
mov byte [esp + 4], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x109]
mov byte [esp + 0x108], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
pop edi
jne 0x40bb73
add esp, 0x208
ret
lea ecx, [esp]
push str.Version.dll
push ecx
lea edx, [esp + 0x10c]
push 0x42f174
push edx
call fcn.00419629
add esp, 0x10
lea eax, [esp + 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x208
ret
Function at 0x40e6b6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov dword [ebx], esi
jne 0x40e6d0
mov dword [ebx], 0x16
jmp 0x40e70c
push 0x8000
push dword [ebp + 8]
call fcn.0041bc64
mov edi, eax
pop ecx
cmp edi, 0xffffffff
pop ecx
mov dword [ebp + 8], edi
je 0x40e703
push 2
push esi
push edi
call fcn.00422e86
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
jne 0x40e710
push edi
call fcn.00420878
pop ecx
call fcn.0041bbc9
mov eax, dword [eax]
mov dword [ebx], eax
xor eax, eax
jmp 0x40e779
push 0
push 0
push edi
call fcn.00422e86
lea eax, [esi + 2]
push eax
call fcn.00419406
mov edi, eax
add esp, 0x10
test edi, edi
je 0x40e756
push esi
push edi
push dword [ebp + 8]
call fcn.00420c4f
add esp, 0xc
cmp eax, esi
jne 0x40e74b
and byte [edi + esi], 0
and byte [edi + esi + 1], 0
lea eax, [edi + esi]
jmp 0x40e75c
call fcn.0041bbc9
mov eax, dword [eax]
mov dword [ebx], eax
jmp 0x40e75c
mov dword [ebx], 0xc
push dword [ebp + 8]
call fcn.00420878
cmp dword [ebx], 0
pop ecx
je 0x40e777
test edi, edi
je 0x40e777
push edi
call fcn.00419540
pop ecx
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40ed38
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp word [ebp + 0x10], 0
not eax
je 0x40ed69
push esi
movzx edx, byte [ecx]
movzx esi, al
add dword [ebp + 0x10], 0xffff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x431f08]
xor eax, edx
inc ecx
cmp word [ebp + 0x10], 0
jne 0x40ed45
pop esi
not eax
pop ebp
ret

Function at 0x40ee0c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040dde4
mov edi, eax
test edi, edi
je 0x40ee56
mov ecx, edi
call fcn.0040def4
mov esi, dword [ebp + 0x1c]
push eax
push esi
push edi
push 0x432308
push 1
call fcn.004036f0
add esp, 0x14
mov ecx, edi
call fcn.0040def4
test eax, eax
je 0x40ee56
neg esi
sbb esi, esi
and esi, 0xffffff00
add esi, 0x20219
jmp 0x40ee5b
mov esi, 0x20019
test edi, edi
je 0x40ee67
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea eax, [ebp - 4]
push eax
push esi
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40eea0
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
push esi
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x4af406
Capabilities:
Encode data using xor

Disassembly:
push 1
pop ecx
cmp dword [esp + 8], ecx
jl 0x4af426
mov eax, dword [esp + 4]
mov edx, ecx
and edx, 3
mov dl, byte [esp + edx + 0xc]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esp + 8]
jle 0x4af413
ret
Function at 0x5ae476
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
bsr eax, esi
mov al, dh
xchg dword [esp], ebp
mov al, 0xb2
jmp fcn.005ae460

Function at 0x5ae59b
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg dh
jge 0x5ae5a0
sub esp, 0x1d
lea edx, [edx + esi]
lea esp, [esp + 1]
rdtsc
jmp 0x5ae66c
inc esi
bswap eax
jmp 0x5ae585
sub esp, 0x1d
lea edx, [edx + esi]
jmp 0x5ae5ac
lea esp, [esp + 1]
rdtsc
mov dl, byte [esp]
bswap eax
bsr edx, esp
jne 0x5ae5f8
sub esp, 0xd
lea esp, [esp + 1]
jmp 0x5ae5df
sub esp, 0xd
jmp 0x5ae5db
mov dl, byte [esp]
jmp 0x5ae5b5

Function at 0x5ae640
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, 0x31163990
bswap edx
rcr dx, 0xe
lea eax, [ebx*4]
xchg edx, eax
xchg dword [esp], ebx
jmp 0x5ae62a

Function at 0x5ae787
Capabilities:
Execute anti-debugging instructions

Disassembly:
add eax, 0xe999819b
jmp 0x5ae79d
add eax, 0x69a11e9e
jmp 0x5ae83f
not dh
pop dx
lea esp, [esp + 2]
jmp 0x5ae789
jmp 0x5ae771
shl eax, 2
add dl, bh
jmp 0x5ae7fe
mov edx, dword [esp]
push esp
jmp 0x5ade7d
bt dx, dx
jmp 0x5ae7c2
jnp 0x5ae7d8
mov dl, cl
jmp 0x5ae7da
mov dl, cl
mov eax, dword [eax + 0x16c1720a]
or edx, 0x219b8945
jmp 0x5ae809
inc edx
jmp 0x5adeed
jbe 0x5ae794
mov edx, dword [esp]
push esp
jmp 0x5ade7d
jl 0x5ae81f
mov dl, byte [esp]
clc
jmp 0x5ae7e8
mov dl, byte [esp]
clc
inc edx
jmp 0x5adeed
mov esp, ebp
mov edx, edi
mov dl, byte [esp]
bt dx, bx
jmp 0x5ae8d8
setb dl
bswap edx
mov edx, dword [esp]
mov edx, 0xafa70303
jmp 0x5ae829
push eax
ret
jno 0x5ae84e
jo 0x5ae84e

Function at 0x5aeaaf
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp]
pushfd
xchg edx, eax
jmp 0x5aea2a
neg edx
mov eax, dword [ecx + ebp]
seto dh
not ch
seto cl
jmp 0x5aea72
jmp 0x5ae9f1
neg edx
jmp 0x5ae9fb
sub edi, 4
bswap edx
neg ah
ja 0x5ae9f9
jbe 0x5aea14
loope 0x5aeaab
ljmp 0xf161:0xf9be7c8d
mov edx, 0x1a074f7
xchg edx, eax
and ecx, 0x3c
inc dx
jnp 0x5aea12
mov ax, word [esp]
pushfd
xchg edx, eax
jmp 0x5aea2a
pushfd
jmp 0x5aea84
mov dword [edi], eax
xchg edx, eax
rdtsc
lea edx, [0x2bb4d381]
jmp 0x5aea5c
xor ch, 0xa9
jnp 0x5aeacd
add esp, 2
lea esp, [esp + 2]
jmp 0x5aea96
lea ecx, [ebp + 0x50]
jmp 0x5aeb1d
je 0x5aeb14
mov ds, word [ecx]
lea esp, [esp + 4]
inc cl
jmp 0x5aea46
add esp, 2
lea esp, [esp + 2]
call fcn.005aeab7
push ss
retf 0xf766

Function at 0x5b1e3a
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xa0
jmp 0x5b1e90
mov ebp, esp
btc edx, ebx
jp 0x5b1eda
lea edx, [ebp + ebp]
mov al, 0xbe
mov al, dl
jmp fcn.005b1ebe
lea edx, [ebp + ebp]
jmp 0x5b1eba
Function at 0x5b4068
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, [ecx + 0x31]
lea edx, [esi*4]
call fcn.005b4052
scasb al, byte es:[edi]
or al, 0x82
in eax, 0x14
xchg ebx, eax
sbb dword [eax + 0x5b], edi
lea esp, [esp + 0x30]
sub al, 0x12
bsr edx, ecx
jmp 0x5b40f4
jp 0x5b410a
mov dx, 0xe05b
not dx
jmp 0x5b411c
mov dx, 0xe05b
not dx
mov dx, 0x8831
jmp 0x5b4218
mov dx, 0x8831
jmp 0x5b4218
pop dx
lea esp, [esp + 1]
jmp 0x5b41d6
xchg dword [esp + 5], edx
mov dx, 0xdaa1
lea edx, [edx + edi]
jmp 0x5b4157
mov eax, esp
jmp 0x5b41a2
rdtsc
xchg dx, ax
xchg dx, ax
rdtsc
setg al
lea eax, [ebx + 0xdc8be24]
jmp 0x5b4299
lea edx, [ebx + 0x4b]
rol eax, 4
jno 0x5b417a
mov eax, esp
jmp 0x5b417c
dec esi
sub dl, ah
jl 0x5b417e
rdtsc
call fcn.005b41f2
sti
xchg dx, ax
xchg dx, ax
jmp 0x5b4228
xchg dword [esp + 5], edx
mov dx, 0xdaa1
lea edx, [edx + edi]
pop dx
lea esp, [esp + 1]
add cl, al
mov edx, ebp
jmp 0x5b4196
not al
lea edx, [ecx + ecx]
sub esp, 0x1f
jo 0x5b41c5
jno 0x5b416d
rdtsc
setg al
jmp 0x5b418a
lea edx, [eax + 0x56feb859]
jmp 0x5b42a6
lea edx, [eax + 0x56feb859]
jmp 0x5b42a6
call fcn.005b42f9
fist word [ebx - 0x3d]
cmpsb byte [esi], byte es:[edi]
push ebp
nop
inc edi
aam 0x4a
sub eax, 0x80c11adc
inc ebx
cli
aad 0xf6
shl dword [esi - 0x79], cl
ret 0xf66
not bl
xchg dx, ax
btc dx, si
js 0x5b426f
jns 0x5b427b
sub bl, 0x40
mov edx, 0xb37f4f89
lea edx, [0xab6c74d0]
inc dh
jge 0x5b4283
not edx
mov edx, ecx
setle al
jmp 0x5b4338
xor bl, 0xb3
clc
jno 0x5b436a
lea eax, [esi - 0x8a]
jmp 0x5b4372
mov edx, 0xaccf6a4d
call fcn.005b43b5
push eax
retf
lea eax, [esi - 0x8a]
jmp 0x5b4354
mov edx, 0xaccf6a4d
jmp 0x5b4359

Function at 0x5be28a
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x5a27ab
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x5a27c5
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x5a27b4
pop esi
jmp 0x5a27d0
ret 4
lea esp, [esp + 8]
jmp 0x5a279e

Function at 0x5dfc7e
Capabilities:
Encrypt data using aes

Disassembly:
push edx
jmp 0x5dfc1c
xor ecx, edx
xchg dl, dh
mov dx, 0x9368
neg edx
jmp 0x5dfc26
mov edx, eax
add edx, 8
mov ecx, dword [edx]
pop edx
jmp 0x5dfbed
push ebx
mov ebx, eax
add ebx, 0x18
jmp 0x5dfc6c
xor edx, ecx
pushal
mov word [esp + 0xb], ax
jmp 0x5dfc75
mov dword [ebx], ecx
pop ebx
mov edx, dword [eax + 0xc]
stc
jmp 0x5dfc56
mov dword [eax + 0x1c], edx
call 0x5dfc7e
add dword [eax], eax
add byte [eax], al
mov word [ebp - 0x7ecbdb9c], cs
sti
sub al, 0xd0
pop edx
add cl, ch
xchg byte [eax], al
add byte [eax], al
pop es
mov dword [0x1da55633], eax
jg 0x5dfc79
jp 0x5dfcb4
in al, dx
sub byte [ebx + 0x13e08111], cl
movsd dword es:[edi], dword [esi]
adc byte [ebx - 0x47fb72f4], cl
pop edx
add cl, al
out dx, eax
adc byte [ecx], ah
imul ebx
xchg ecx, eax
lea ebx, [ebx + esi]
pop esi
pop ebp
lea ebx, [ebx*4]
sbb al, 0x9d
add byte [eax], al
add byte [eax], al
jmp 0x5dfce9
pop ebx
ret