joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40671a
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 0x40673e
xor eax, eax
test eax, eax
je 0x406751
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406751
xor ecx, ecx
jmp 0x406754
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 0x40687d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4068b4
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 0x40688e
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x406889
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4068e5
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 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4068c7
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0xfdaa06
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0fc4270
jmp 0xfdbf6c
pushfd
jmp 0xfd8ec4
lea esp, [esp + 5]
lea esp, [esp + 1]
mov dword [esp], edi
jmp 0xfda9b2
or ah, ah
jmp 0xfdbf17
or ah, ah
mov esi, dword [esp + 0x2c]
mov eax, 0xfee784cf
rdtsc
rdtsc
call 0xfdae99
lea ebx, reloc.KERNEL32.DLL_GetModuleHandleA
neg bx
ja 0xfdbf15
jbe 0xfdbd22

Function at 0xfe20ef
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0xfc75a3
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0xfc75bd
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0xfc75ac
pop esi
jmp 0xfc75c8
ret 4
jmp 0xfc7596

Function at 0x100411d
Capabilities:
Encode data using xor

Disassembly:
cmp cl, 0x2b
lea esp, [esp + 4]
cmp cl, 0x30
jb 0x1003a4a
jae 0x1004147
scasb al, byte es:[edi]
xor ah, byte [eax - 0x530bcd39]
aaa
cmpsd dword [esi], dword es:[edi]
ret 0x8031
cmp cl, 0x39
jmp 0x1004169
jbe 0x1003a34
ja 0x1003a4a
mov ebp, 0x46cbac3e
hlt

Function at 0x10769fb
Capabilities:
Check for peb beingdebugged flag

Disassembly:
call fcn.010755ea
mov word [esp], sp
pushal
pop word [esp + 0x1c]
mov dword [esp + 0x1a], esp
jmp 0x1076a31
mov dword [esp], esi
mov dword [esp], esi
push si
jmp 0x10769e5
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x1076a13
mov eax, dword [eax + 8]
push eax
jmp 0x10755e5
push word [esp + 0x1f]
lea esp, [esp + 2]
mov dword [esp + 0x1c], edi
lea esp, [esp + 0x1c]
mov eax, dword fs:[0x30]
jmp 0x1076a05
Function at 0x10018cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10090080]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xb8beff43
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
sub eax, 0xb8beff43
je 0x10018d41
jmp 0x10018d29
mov eax, dword [ebp - 0x20]
sub eax, 0x366f0456
je 0x10018d67
jmp 0x10018d3c
jmp 0x10018dba
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov edx, esp
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0x366f0456
jmp 0x10018dba
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp - 8]
sub esp, 8
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.10018e30
add esp, 8
mov ah, al
mov al, ah
xor al, 0xff
and al, 1
mov dl, 1
xor dl, 1
and ah, dl
mov cl, 1
xor cl, 1
and cl, 0xff
and dl, 1
or al, ah
or cl, dl
xor al, cl
and al, 1
movzx eax, al
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10022d40
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret
jmp 0x10018d13

Function at 0x10027d5a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10027d99
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10027d99
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10027d99
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10027d99
cmp dword [ecx + 0x74], 0xe
jbe 0x10027d99
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002a724
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002a7c1
push ebx
push esi
call fcn.1002a6ed
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002a681
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002a76e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a7c0
push edi
push eax
call fcn.10029022
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002a78e
call fcn.10029070
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002a7bf
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002a681
add esp, 0x20
test eax, eax
jne 0x1002a7ad
push edi
call fcn.10029070
jmp 0x1002a7b5
push ebx
call fcn.10029070
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002aa2e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10033370
push 0x10033368
push str.FlsAlloc
push 0x1f
call fcn.1002a94a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002aa62
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031150]
call esi
jmp 0x1002aa68
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002aaac
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10033380
push 0x10033378
push str.FlsGetValue
push 0x21
call fcn.1002a94a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002aae3
push dword [ebp + 8]
mov ecx, esi
call dword [0x10031150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002aaeb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10033388
push 0x10033380
push str.FlsSetValue
push 0x22
call fcn.1002a94a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002ab25
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10031150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10030030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003005d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003005d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405550
Capabilities:
Get common file path

Disassembly:
sub esp, 0x42c
mov eax, dword [esp + 0x430]
push ebx
mov ebx, dword [0x42d52c]
push ebp
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov edi, dword [0x42d528]
mov dword [esp + 0x14], eax
xor ebp, ebp
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
call fcn.00405510
add dword [esp + 0x28], 0x23f
cmp dword [0x43d664], 0x14
jne 0x4055a0
call dword [sym.imp.KERNEL32.dll_IsSystemResumeAutomatic]
mov ecx, dword [0x42d530]
mov edx, dword [0x42d534]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], 0x20
lea esp, [esp]
mov dword [esp + 0x18], 2
add dword [esp + 0x18], 3
mov ecx, dword [0x43d664]
mov eax, esi
shl eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 0xc
jne 0x4055f4
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x43d664]
add eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp ecx, 0xfa9
jne 0x405610
mov dword [0x43d660], 0xedeb2e40
jmp 0x40561e
cmp ecx, 0x3eb
jne 0x40561e
mov dword [0x43d5d0], ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
add dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, esi
shr eax, cl
mov ecx, dword [esp + 0x30]
mov dword [0x43d65c], 0xf4ea3dee
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
call fcn.00405520
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
cmp dword [0x43d664], 0x9e6
jne 0x405671
mov ecx, dword [esp + 0x30]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_SetProcessPriorityBoost]
mov edx, dword [esp + 0x10]
xor dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], 0x64
sub dword [esp + 0x14], eax
sub dword [esp + 0x14], 0x64
cmp dword [0x43d664], 0xc
jne 0x4056af
lea eax, [esp + 0x3c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebp
lea ecx, [esp + 0x3c]
push ecx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.00405490
add dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
nop
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
shr edx, cl
mov ecx, ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edx
call fcn.00405530
mov eax, dword [esp + 0x20]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004054a0
mov eax, dword [esp + 0x10]
push eax
mov eax, esi
call fcn.00405540
add dword [esp + 0x28], 0x61c88647
sub dword [esp + 0x2c], 1
mov esi, eax
mov dword [esp + 0x24], esi
jne 0x4055c0
mov eax, dword [esp + 0x440]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], ecx
pop ebx
add esp, 0x42c
ret 4
Function at 0x405760
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x1c1c
call fcn.00412b30
mov eax, dword [0x43d664]
mov ecx, dword [0x43d5d4]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x405884
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x43d664], 0x959
jne 0x40586a
push 0
lea eax, [esp + 0x42c]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x82c]
push ecx
push 0
call ebx
push 0x404844
push 0x40490c
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExA]
push 0
push 0
lea edx, [esp + 0x1030]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
lea ecx, [esp + 0x142c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea ecx, [esp + 0x20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov edx, dword [esp + 0x10]
push edx
call fcn.00405550
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x4057a4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c1c
ret
Function at 0x4061c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4299ab
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, 0x2434
call fcn.00412b30
cmp dword [0x43d664], 0xc
push ebx
push esi
push edi
jne 0x4062d6
push 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleSelectionInfo]
push 0
push 0
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea ecx, [esp + 0x844]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
lea edx, [esp + 0x1844]
push edx
push 0x404c1c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
push 0
lea eax, [esp + 0x1044]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
push 0
push 0
call fcn.00407882
fldz
fstp qword [esp]
call fcn.00407a40
fstp st(0)
push 0
call fcn.00407bd7
add esp, 0xc
push 4
call fcn.00407da2
add esp, 4
test eax, eax
je 0x4062a3
lea ecx, [esp + 0x28]
mov dword [eax], ecx
jmp 0x4062a5
xor eax, eax
mov dword [esp + 0x28], eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2480], 0xffffffff
call fcn.00406b70
mov edi, dword [sym.imp.USER32.dll_CharLowerBuffW]
mov ebx, dword [sym.imp.USER32.dll_GetSysColorBrush]
xor esi, esi
cmp esi, 0x9452
jge 0x4062fc
push 0
lea eax, [esp + 0x1c44]
push eax
call edi
push 0
call ebx
inc esi
cmp esi, 0x14ede
jl 0x4062e4
mov ecx, dword [0x42d8a4]
mov edx, dword [0x42d878]
mov dword [0x43d664], ecx
mov dword [0x6c4c3c], edx
call fcn.00405990
mov ecx, dword [esp + 0x2474]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4085cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ccb8]
jne 0x4085d5
repz ret
jmp fcn.0040d30c
Function at 0x4110ab
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.00409ce8
and dword [ebp - 4], 0
cmp dword [0x42e780], 0
mov ebx, eax
jne 0x41115c
push 0x404674
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41120d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x404668
push edi
call esi
test eax, eax
je 0x41120d
push eax
call fcn.00409c76
mov dword [esp], 0x404658
push edi
mov dword [0x42e780], eax
call esi
push eax
call fcn.00409c76
mov dword [esp], 0x404644
push edi
mov dword [0x42e784], eax
call esi
push eax
call fcn.00409c76
mov dword [esp], 0x404628
push edi
mov dword [0x42e788], eax
call esi
push eax
call fcn.00409c76
pop ecx
mov dword [0x42e790], eax
test eax, eax
je 0x41115c
push 0x404610
push edi
call esi
push eax
call fcn.00409c76
pop ecx
mov dword [0x42e78c], eax
mov eax, dword [0x42e78c]
cmp eax, ebx
je 0x4111b4
cmp dword [0x42e790], ebx
je 0x4111b4
push eax
call fcn.00409cf1
push dword [0x42e790]
mov esi, eax
call fcn.00409cf1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4111b4
test edi, edi
je 0x4111b4
call esi
test eax, eax
je 0x4111ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4111ab
test byte [ebp - 0xc], 1
jne 0x4111b4
or dword [ebp + 0x10], 0x200000
jmp 0x4111ed
mov eax, dword [0x42e784]
cmp eax, ebx
je 0x4111ed
push eax
call fcn.00409cf1
pop ecx
test eax, eax
je 0x4111ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4111ed
mov eax, dword [0x42e788]
cmp eax, ebx
je 0x4111ed
push eax
call fcn.00409cf1
pop ecx
test eax, eax
je 0x4111ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e780]
call fcn.00409cf1
pop ecx
test eax, eax
je 0x41120d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41120f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x42229c
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
or al, 0xfe
cli
mov byte [edi + 0x24735128], bh
sub al, 0x1f
pop ds
sbb cl, byte [edi]
xor dword [edi + 0x1b9418a9], ebx
dec edx
shl byte [ecx - 0x2a], cl
out dx, eax
lea esp, [ebx + 0x1326901b]
test cl, ah
cwde
xlatb
dec edx
cmp byte [eax - 0x44e4c50d], dl
xor cl, bl
aam 2
inc ebx
cmc
neg byte [esi - 0x5a]
inc ecx
rol dword [edi], cl
nop
mov dh, 0x9a
insd dword es:[edi], dx
leave
cmc
cld
test dword [eax], edi
sbb edi, dword [ebp - 0x21]
add eax, 0x2bb180b2
mov ebx, 0x136b26fc
push ss
jmp 0x40102e
invalid
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a94], 0
push esi
jne 0x405e04
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 0x405dde
mov dword [ecx*4 + 0x422a90], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
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 + 0x422a90]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x378e10f1
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..pdata_1
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x205411d6
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4011f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40a374], 0
push esi
jne 0x401227
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 0x401201
mov dword [ecx*4 + 0x40a370], eax
inc ecx
cmp ecx, 0x100
jl 0x4011fc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x401258
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 + 0x40a370]
xor eax, esi
inc ecx
dec edx
jne 0x40123a
pop edi
not eax
pop esi
ret 0xc
Function at 0x402ae5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x424f50]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402b79
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402b36
cmp dword [ebp + 0x10], ebx
jne 0x402b6d
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ae5
test eax, eax
jne 0x402b48
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402b1d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004079e0
cmp eax, ebx
je 0x402b80
push ebx
push dword [0x424f50]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402b79
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x424f50], ebx
jne 0x402b76
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402b76
jmp 0x402b79