joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43904a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
push ebx
push esi
mov edx, 0x81
push edi
xor ebx, ebx
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x262]
mov word [ebp - 0x264], bx
mov word [ebp - 0x46c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x674], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x672]
push 0x13
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, 0x208
pop ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
lea edi, [ebp - 0x5a]
mov word [ebp - 0x5c], bx
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 1
movzx ecx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push ecx
movzx ecx, word [eax + 6]
push ecx
movzx ecx, word [eax + 4]
push ecx
push dword [eax]
lea eax, [ebp - 0x5c]
push str._08lX__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push 0x27
push eax
call esi
lea eax, [ebp - 0x5c]
mov edi, 0x103
push eax
push str.CLSID_sInprocServer32
lea eax, [ebp - 0x46c]
push edi
push eax
call esi
add esp, 0x48
lea eax, [ebp - 0x5c]
push eax
push str.CLSID_sLocalServer32
lea eax, [ebp - 0x674]
push edi
push eax
call esi
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x264]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x46c]
push ebx
mov edi, SysReAllocString
push eax
push edi
call esi
test eax, eax
je 0x439184
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x674]
push ebx
push eax
push edi
call esi
test eax, eax
je 0x439184
xor eax, eax
jmp 0x43919a
push dword [ebp + 0x10]
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4391b4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x447b78
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x214
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.004392ac
mov edi, eax
cmp edi, esi
je 0x4391fe
cmp dword [ebp - 0x10], esi
je 0x4391f7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x43929b
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x43926f
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x10]
push eax
call fcn.004391b4
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x43925c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], pe_nt_image_headers32
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x439221
cmp dword [ebp - 0x10], esi
je 0x43926a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x43929b
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x439282
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x439299
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4395de
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x43962e
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push edi
push 0
push eax
mov dword [esi + 8], eax
call sub.MSVCRT.dll_memset
add esp, 0x10
push dword [esi + 8]
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43962e
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.004393a6
test eax, eax
jne 0x439635
xor eax, eax
jmp 0x4396d7
mov eax, dword [ebp - 0x2c]
mov edi, 0x104
mov ecx, eax
mov word [esi + 0xe], ax
mov eax, dword [ebp - 0x28]
push edi
shr ecx, 0x10
mov word [esi + 0xc], cx
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x12], ax
mov eax, dword [ebp - 0x24]
mov word [esi + 0x10], cx
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x16], ax
mov eax, dword [ebp - 0x20]
mov word [esi + 0x14], cx
mov ecx, eax
mov word [esi + 0x1a], ax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x238]
shr ecx, 0x10
mov word [esi + 0x18], cx
push eax
push 0x45c288
mov ecx, esi
call fcn.004394bb
lea eax, [esi + 0x648]
push edi
push eax
push 0x45c268
mov ecx, esi
call fcn.004394bb
lea eax, [esi + 0x440]
push edi
push eax
push 0x45c250
mov ecx, esi
call fcn.004394bb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439993
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov esi, 0x2000000
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x439b24
lea eax, [ebp - 4]
push eax
push 1
push 2
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x439b1f
push str.advapi32.dll
call fcn.0040a75a
push str.ConvertStringSidToSidW
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x439b11
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
call eax
test eax, eax
je 0x439b11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], 0x20
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
add eax, 8
push eax
lea eax, [ebp - 0x14]
push eax
push 0x19
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x439b08
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x68]
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x28], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x24]
mov ecx, 0x103
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x47a]
cmp dword [ebp + 0x10], ebx
mov word [ebp - 0x47c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x439aa7
push dword [ebp + 0x10]
lea eax, [ebp - 0x47c]
push dword [ebp + 0xc]
push str.__s___s
push 0x207
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x439abf
push 0x207
lea eax, [ebp - 0x47c]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x47c]
push ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x439b02
cmp dword [ebp + 0x14], ebx
jbe 0x439af3
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
push 1
pop ebx
jmp 0x439b08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
call esi
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x439c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push edi
and word [ebp - 0x19c], 0
push 4
lea edi, [ebp - 0x19a]
pop eax
and dword [ebp - 4], 0
push 0x63
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
pop ecx
push dword [ebp + 8]
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_d
lea eax, [ebp - 0x19c]
push 0xc8
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x19c]
push str.2500
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x439cca
cmp dword [ebp - 4], eax
je 0x439cca
leave
ret
push 1
pop eax
leave
ret
Function at 0x43a46c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
pop esi
call fcn.0043a17f
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp + 8], 0xe
and dword [ecx + 0x134], 0
and dword [ecx + 0x130], 0
xor dword [ecx + 0x9c], edi
mov eax, dword [ebp + 8]
push 0x25
cdq
pop ebx
add dword [ebp + 8], 0xe
idiv ebx
xor dword [ecx + edx*4 + 0x9c], esi
sub edi, esi
cmp dword [ebp + 8], 0x206
lea eax, [ecx + edx*4 + 0x9c]
mov eax, esi
mov esi, edi
mov edi, eax
jl 0x43a49a
mov esi, 0x3e8
call fcn.0043a3ea
dec esi
jne 0x43a4cb
pop edi
pop esi
pop ebx
pop ebp
ret

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 0x40f030
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x40f052
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f059
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f048
mov eax, 1
add ebx, ebx
jne 0x40f06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f060
jne 0x40f07c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f060
xor ecx, ecx
sub eax, 3
jb 0x40f090
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f102
mov ebp, eax
add ebx, ebx
jne 0x40f09b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f0cc
inc ecx
add ebx, ebx
jne 0x40f0b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0ad
jne 0x40f0c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f0ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f0dd
jmp 0x40f04e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f0ec
add edi, ecx
jmp 0x40f04e
pop esi
mov edi, esi
mov ecx, 0x44
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f10a
cmp byte [edi], 1
jne 0x40f10a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40f10f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f187
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16f68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16fe0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f13c
mov ecx, edi
jns 0x40f16b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x16fe4]
or eax, eax
je 0x40f181
mov dword [ebx], eax
add ebx, 4
jmp 0x40f159
call dword [esi + 0x16fec]
mov ebp, dword [esi + 0x16fe8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40f1bb
sub esp, 0xffffff80
jmp 0x4014c9
Function at 0x41d1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41d202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d1f8
mov eax, 1
add ebx, ebx
jne 0x41d21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d210
jne 0x41d22c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d210
xor ecx, ecx
sub eax, 3
jb 0x41d240
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d2b2
mov ebp, eax
add ebx, ebx
jne 0x41d24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d27c
inc ecx
add ebx, ebx
jne 0x41d268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d25d
jne 0x41d279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d25d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d29c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d28d
jmp 0x41d1fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d29c
add edi, ecx
jmp 0x41d1fe
pop esi
mov edi, esi
mov ecx, 0xc5d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d2ba
cmp byte [edi], 2
jne 0x41d2ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41d2bf
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d337
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e80c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e884]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d2ec
mov ecx, edi
jns 0x41d31b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e888]
or eax, eax
je 0x41d331
mov dword [ebx], eax
add ebx, 4
jmp 0x41d309
call dword [esi + 0x1e88c]
popal
jmp 0x41241f
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x504fd8
jmp 0x4013c3
mov eax, 0x4c5134
call fcn.004946c8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014d5
mov eax, dword [0x5009a8]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x5009a8]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cc7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x504fd0
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004af9dd
push 0x504fd0
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004af9dd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ada5
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c5efc
call fcn.004946c8
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x5050a8
push str.DataFile_Types
mov ecx, esi
call fcn.004c263c
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40addb
xor eax, eax
jmp 0x40af23
mov eax, dword [0x5009a8]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40aef3
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ebd84
push eax
call fcn.004ad177
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c26ee
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004af98d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004af846
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c26ee
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004af98d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004af846
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c2682
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40aecc
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40aecc
cmp eax, 0xffffffff
je 0x40aecc
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b010
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40ae17
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004af846
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004af846
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af846
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40cc70
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.004946f0
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x40e381
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c63df
call fcn.004946c8
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b3e91
mov eax, dword [0x5009a8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4cf0e8
jne 0x40e407
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.004946f0
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40e400
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40e407
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.00494f2d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40e41c
call fcn.004ad858
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040e5e1
push eax
call fcn.004946f0
push 0x200002
call fcn.004afe1a
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040e5e1
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040e5e1
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040e5e1
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040e5e1
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040e5e1
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040e5e1
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040e5e1
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40e4d9
mov ecx, esi
call fcn.0040e5e1
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c249d
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040e5e1
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040e5e1
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40e20a
je 0x40e512
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40e551
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004af9dd
push ebx
mov ecx, edi
call fcn.004afc8b
push 0x7c
push eax
call fcn.00494f04
pop ecx
cmp eax, ebx
pop ecx
je 0x40e544
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40e52e
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040e5e1
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c