joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ed0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x1008
call fcn.00431990
push ebx
push ebp
mov ebp, dword [esp + 0x1014]
push 0
push 0x8000
push ebp
call fcn.004330bc
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x402f12
push ebp
push str.Unable_to_open_file___S__for_inserting_n
push edi
call fcn.0043011a
add esp, 0xc
pop ebp
pop ebx
add esp, 0x1008
ret
push esi
push ebx
call fcn.00432891
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
jne 0x402f3c
push ebp
push str.Unable_to_get_file_length_for_file___S__n
push edi
call fcn.0043011a
add esp, 0xc
pop esi
pop ebp
pop ebx
add esp, 0x1008
ret
cmp esi, 0x100000
jle 0x402f5d
push 0x100000
push esi
push str.File_size_exceeds_max_insert_length__truncating_from__d_to__d_n
push edi
call fcn.0043011a
add esp, 0x10
mov esi, 0x100000
push esi
push ebp
push str.Inserting_file:_name__S__length_d_n
push edi
call fcn.0043011a
push 0xfff
lea eax, [esp + 0x29]
push 0
push eax
mov byte [esp + 0x30], 0
call fcn.00431730
xor eax, eax
add esp, 0x1c
mov dword [esp + 0xc], eax
cmp esi, 0x1000
jl 0x402fd8
mov ebp, 0x1000
push 0x1000
lea ecx, [esp + 0x18]
push ecx
push ebx
call fcn.0043279b
push edi
push 0x1000
lea edx, [esp + 0x28]
push 1
push edx
call fcn.00431b39
add dword [esp + 0x28], 0x1000
add ebp, 0x1000
add esp, 0x1c
cmp ebp, esi
jle 0x402f96
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 0x1018]
cmp eax, esi
jge 0x402ffb
sub esi, eax
push esi
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0043279b
push edi
push esi
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.00431b39
add esp, 0x1c
push str.Finished_inserting_file_n
push edi
call fcn.0043011a
push 4
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.0043279b
add esp, 0x14
test eax, eax
je 0x403028
push str.ERROR_:_file_continues_beyond_length_n
push edi
call fcn.0043011a
add esp, 8
push ebx
call fcn.00432120
add esp, 4
cmp dword [esp + 0x101c], 0
je 0x403042
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
pop ebx
add esp, 0x1008
ret
Function at 0x403e90
Capabilities:
Get common file path

Disassembly:
push esi
push edi
push 0
call fcn.00403c90
add esp, 4
test eax, eax
je 0x403ec3
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
push edi
push 0x461a34
push esi
call fcn.004316e2
add esp, 0xc
xor edx, edx
mov word [esi + edi*2 - 2], dx
pop edi
xor eax, eax
pop esi
ret
push 0
call fcn.00403c90
mov edi, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x403f2e
mov esi, dword [esp + 0xc]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x403f83
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x403f2b
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403f00
sub eax, edx
sar eax, 1
mov ecx, edi
sub ecx, eax
push ecx
push str.DRPREI1.DLL
push esi
call fcn.00433280
xor edx, edx
add esp, 0xc
mov word [esi + edi*2 - 2], dx
xor eax, eax
pop edi
pop esi
ret
cmp word [0x475370], 0
jne 0x403f6a
push 0x104
push 0x475370
push str.DYNAMORIO_HOME
push 0
push 0x461214
call fcn.004067e0
add esp, 0x14
test eax, eax
jne 0x403f63
cmp word [0x475370], ax
jne 0x403f6a
mov eax, 0x461158
jmp 0x403f6f
mov eax, 0x475370
mov esi, dword [esp + 0xc]
push eax
push str._slib
push edi
push esi
call fcn.00431593
add esp, 0x10
push edi
push esi
xor eax, eax
push esi
mov word [esi + edi*2 - 2], ax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x403ef7
Function at 0x406480
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x14]
xor esi, esi
mov dword [esp + 0x10], 0
test edi, edi
jne 0x4064a4
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
jmp 0x406514
push ebp
call fcn.00406420
add esp, 4
test eax, eax
je 0x4064ec
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
push edi
push ebp
push ebx
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40661b
mov eax, dword [ebp]
test eax, eax
je 0x40661b
push edi
push eax
push ebx
call fcn.00406480
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
jmp 0x4065fe
mov eax, dword [esp + 0x18]
push 0x2000e
push 0
push edi
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00404420
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x40661b
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x4065b7
nop
mov edi, dword [ebp + 8]
mov ecx, str.__DELETE_PARAMETER_KEY
mov eax, edi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406556
test dx, dx
je 0x406552
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406556
add eax, 4
add ecx, 4
test dx, dx
jne 0x406530
xor eax, eax
jmp 0x40655b
sbb eax, eax
sbb eax, 0xffffffff
mov edx, dword [ebp + 4]
test eax, eax
jne 0x40656e
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor esi, esi
jmp 0x4065a8
test edi, edi
je 0x40659a
mov eax, edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406577
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4065a2
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
jne 0x406617
mov ebp, dword [ebp]
mov ebx, dword [esp + 0x10]
test ebp, ebp
jne 0x406520
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4065db
push ecx
push eax
push ebx
call fcn.00406480
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x406617
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x4065fa
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.00406480
mov ebx, dword [esp + 0x1c]
add esp, 0xc
mov esi, eax
mov ebp, dword [esp + 0x1c]
test ebx, ebx
je 0x40660f
cmp dword [ebp + 0x14], 0
je 0x40660f
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
jmp 0x4065fe
Function at 0x4066e0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20c
test eax, eax
jne 0x4066ff
push 0x104
push str.SoftwareDynamoRIO
lea eax, [esp + 0xc]
push eax
jmp 0x406733
cmp dword [esp + 0x214], 0
jne 0x406728
push eax
push str.SoftwareDynamoRIO
push 0x4613a4
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.00431593
add esp, 0x14
jmp 0x40673b
push 0x104
push eax
lea edx, [esp + 0xc]
push edx
call fcn.004316e2
add esp, 0xc
lea eax, [esp + 4]
push eax
call fcn.004043c0
add esp, 4
push 0
lea ecx, [esp + 4]
push ecx
push 0
call fcn.004020a0
or eax, 0x20006
push eax
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4067d8
mov edx, dword [esp + 0x21c]
push esi
test edx, edx
je 0x4067b5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406787
mov ecx, dword [esp + 0x21c]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [esp + 0xc]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4067c8
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x20c
ret

Function at 0x4067e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x210
test eax, eax
jne 0x4067ff
push 0x104
push str.SoftwareDynamoRIO
lea eax, [esp + 0x10]
push eax
jmp 0x406833
cmp dword [esp + 0x218], 0
jne 0x406828
push eax
push str.SoftwareDynamoRIO
push 0x4613a4
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.00431593
add esp, 0x14
jmp 0x40683b
push 0x104
push eax
lea edx, [esp + 0x10]
push edx
call fcn.004316e2
add esp, 0xc
lea eax, [esp + 8]
push eax
call fcn.004043c0
add esp, 4
push 0
lea ecx, [esp + 4]
push ecx
push 0
call fcn.004020a0
or eax, 0x20019
push eax
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4068b9
mov eax, dword [esp + 0x224]
push esi
lea ecx, [eax + eax]
mov eax, dword [esp + 0x224]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
push eax
push 0
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x22c]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x210
ret
Function at 0x42cc40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
cmp dword [0x4757b0], edi
jne 0x42cd57
lea eax, [esp + 0x18]
push eax
push str.SystemCurrentControlSetServicesEventLogDynamoRIO
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x42ce4c
cmp dword [0x4757b0], 8
jge 0x42cd4d
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov ebx, 0x104
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x70]
push edx
push edi
push eax
mov dword [esp + 0x30], ebx
call ebp
mov esi, eax
inc edi
cmp esi, 0x103
je 0x42cd57
test esi, esi
jne 0x42ce2c
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x42cd29
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.EventMessageFile
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42cd29
push 2
push eax
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [0x4757b0]
mov dword [ecx*4 + 0x475788], eax
inc ecx
mov dword [0x4757b0], ecx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42cd40
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
cmp dword [0x4757b0], 8
jl 0x42cc95
mov esi, 0x7a
jmp 0x42ce2c
mov edx, dword [esp + 0x268]
movzx eax, word [edx + 0x1a]
cmp eax, 0x10
jbe 0x42cd71
mov esi, 0x7a
jmp 0x42ce2c
mov ecx, dword [edx + 0x24]
add ecx, edx
mov dword [esp + 0x1c], ecx
cmp eax, 1
jle 0x42cdb3
lea ecx, [esp + 0x1c]
lea ebx, [eax - 1]
mov esi, dword [ecx]
mov eax, esi
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x42cd90
sub eax, edi
sar eax, 1
lea edx, [esi + eax*2 + 2]
mov dword [ecx + 4], edx
add ecx, 4
dec ebx
jne 0x42cd86
mov edx, dword [esp + 0x268]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [0x4757b0], eax
jle 0x42ce1c
mov esi, dword [esp + 0x270]
mov edi, dword [esp + 0x26c]
mov ebp, dword [sym.imp.KERNEL32.dll_FormatMessageW]
jmp 0x42cde0
mov ecx, dword [ebx*4 + 0x475788]
test ecx, ecx
je 0x42ce0f
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x1c]
push eax
push esi
push edi
push 0
push edx
push ecx
push 0x2800
call ebp
mov dword [esp + 0x10], eax
test eax, eax
jne 0x42ce23
mov edx, dword [esp + 0x268]
inc ebx
cmp ebx, dword [0x4757b0]
jl 0x42cde0
test eax, eax
jne 0x42ce23
mov esi, 0xfffffff7
jmp 0x42ce2c
xor eax, eax
mov word [edi + esi*2 - 2], ax
xor esi, esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42ce3b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x42ce4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret
Function at 0x42de70
Capabilities:
Terminate process

Disassembly:
push esi
push edi
xor edi, edi
call fcn.004025a0
mov eax, dword [esp + 0xc]
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call fcn.00402650
test esi, esi
jne 0x42de9a
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x42deaf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

Function at 0x42edc0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x2d0
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call fcn.00401ca0
add esp, 4
cmp dword [esp], 0x8c
jb 0x42edec
xor eax, eax
add esp, 0x2d0
ret
cmp dword [0x4757d0], 0
jne 0x42ee45
push esi
push 0
push 4
push 0
push 0x42edb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x42ee44
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x42ee36
mov edx, dword [esp + 0xc0]
mov dword [0x4757d0], edx
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, dword [0x4757d0]
add esp, 0x2d0
ret
Function at 0x42fa50
Capabilities:
Get number of processors

Disassembly:
sub esp, 0x10
push 0xffffffffffffffff
call fcn.0042eb40
add esp, 4
test al, al
jne 0x42fa67
xor ecx, ecx
xor eax, eax
jmp 0x42fa7f
mov eax, dword gs:[0x60]
mov dword [esp], eax
mov eax, dword gs:[0x64]
mov dword [esp + 4], eax
mov eax, dword [esp]
xor ecx, ecx
lea edx, [esp + 8]
push edx
add eax, 0x18
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
push 8
adc ecx, ecx
push ecx
push eax
call fcn.0042f9e0
add esp, 0x10
test al, al
jne 0x42faa9
xor eax, eax
xor edx, edx
add esp, 0x10
ret
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x4382dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4746e0]
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.0043730c
and dword [ebp - 0x14], 0
cmp dword [0x475fe8], 0
mov dword [ebp - 0x18], eax
jne 0x43838f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x438437
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x438437
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x475fe8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x475fec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x475ff0], eax
call edi
push eax
call esi
mov dword [0x475ff8], eax
test eax, eax
je 0x43838f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x475ff4], eax
mov eax, dword [0x475ff4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4383e8
cmp dword [0x475ff8], ecx
je 0x4383e8
push eax
call esi
push dword [0x475ff8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4383e8
test ebx, ebx
je 0x4383e8
call edi
test eax, eax
je 0x4383df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4383df
test byte [ebp - 8], 1
jne 0x4383e8
or dword [ebp + 0x10], 0x200000
jmp 0x43841b
mov eax, dword [0x475fec]
cmp eax, dword [ebp - 0x18]
je 0x43841b
push eax
call esi
test eax, eax
je 0x43841b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43841b
mov eax, dword [0x475ff0]
cmp eax, dword [ebp - 0x18]
je 0x43841b
push eax
call esi
test eax, eax
je 0x43841b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x475fe8]
call esi
test eax, eax
je 0x438437
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x438439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004389c9
leave
ret

Function at 0x4389c9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4746e0]
jne 0x4389d3
repz ret
jmp fcn.0044500b
Function at 0x424b14
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x452e20
call fcn.00425116
push 1
call fcn.00424b97
pop ecx
test al, al
jne 0x4249bd
push 7
call fcn.004257a1
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00424b62
mov byte [ebp - 0x24], al
mov eax, dword [0x461f38]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4249b6
test eax, eax
jne 0x424a27
mov dword [0x461f38], ecx
push 0x42835c
push 0x428344
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x424a0a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x424b0e
push 0x428340
push 0x4282f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x461f38], 2
jmp 0x424a2c
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00424cf4
pop ecx
call fcn.00425795
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x424a5c
push esi
call fcn.00424c67
pop ecx
test al, al
je 0x424a5c
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004259d3
call esi
call fcn.0042579b
mov esi, eax
cmp dword [esi], edi
je 0x424a7a
push esi
call fcn.00424c67
pop ecx
test al, al
je 0x424a7a
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.004258b6
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.004258ec
test al, al
jne 0x424ab3
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x424abc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00424d11
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x424b0e
call fcn.0042515c
ret
call fcn.00424823
jmp 0x42499e

Function at 0x4264c9
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4264d8
or eax, 0xffffffff
jmp 0x426515
movzx eax, word [edx]
mov ecx, 0x1505
push esi
xor esi, esi
jmp 0x4264f2
imul ecx, ecx, 0x21
movzx eax, ax
xor ecx, eax
inc esi
movzx eax, word [edx + esi*2]
test ax, ax
jne 0x4264e5
imul eax, ecx, 0x41c64e6d
imul ecx, ecx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
pop ebp
ret 4

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x403233aa
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5ff948ac
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x6ce370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x6ce38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x6f7074
push ecx
mov edi, eax
call fcn.006e2198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6ce3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.006e202e
push esi
call fcn.006e1fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x6d1850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6d18ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x6fc720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6d18ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.006e21e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6d18ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x6fc720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6d192a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.006e3082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x6d1957
mov word [eax], si
add eax, 2
push eax
call fcn.006e3030
add esp, 4
jmp 0x6d1959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6d18ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6d18b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x6d1ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret