joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410360
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareDownloadManager
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4103fe
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x208
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push str.CommonAppDataIDMFolder
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4103f5
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4103f5
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push str._sproxy.pac
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret

Function at 0x410400
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x410477
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x410477
lea eax, [ebp - 0x20c]
push 0x4150b8
push eax
call sub.MSVCRT.dll_wcscat
lea eax, [ebp - 0x20c]
push str.Internet_Download_Manager.lnk
push eax
call sub.MSVCRT.dll_wcscat
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
leave
ret
Function at 0x4107a9
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
push 0x18b
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
cmp ebx, edi
jbe 0x410818
lea eax, [ebp - 0x208]
push eax
push edi
push 0x189
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x208]
push 0x419058
push eax
call sub.MSVCRT.dll_wcsstr
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x208]
push eax
je 0x41080d
call fcn.0041081f
pop ecx
jmp 0x410813
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc edi
cmp edi, ebx
jb 0x4107d2
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x41081f
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
push ebx
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x664]
push 0x417374
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x664]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x410918
lea eax, [ebp - 0x254]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push ebx
call esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x254]
push eax
push ebx
call esi
test eax, eax
je 0x4108ef
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x45c]
push dword [ebp + 8]
push 0x4156e4
push eax
call edi
mov eax, dword [ebp - 0x254]
add esp, 0x10
and eax, 0x10
cmp al, 0x10
je 0x4108c9
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0x45c]
push 0x41cd38
push eax
call fcn.00405ef6
jmp 0x41087a
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x45c]
push 0x41c228
push eax
call edi
lea eax, [ebp - 0x45c]
push eax
call fcn.0041081f
add esp, 0x10
jmp 0x41087a
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
pop esi
jne 0x410916
push eax
lea eax, [ebp - 4]
push eax
push 0x41cd38
push dword [ebp + 8]
call fcn.00405ef6
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x410a08
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x4150b0
push ebx
call sub.MSVCRT.dll_wcsstr
xor edi, edi
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp + 8], eax
je 0x410b45
push esi
mov esi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebp + 8]
cmp word [eax - 2], 0x5c
je 0x410b26
push 0x104
lea eax, [ebp - 0x210]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
sub eax, ebx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push ebx
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x210]
push 0x41c290
push eax
call sub.MSVCRT.dll_wcsstr
add esp, 0x20
test eax, eax
jne 0x410b26
lea eax, [ebp - 0x210]
push eax
call sub.MSVCRT.dll_wcslen
test eax, eax
pop ecx
je 0x410b26
lea eax, [ebp - 0x210]
push eax
push edi
push 0x180
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push edi
push edi
push 3
mov dword [ebp - 4], eax
push edi
push 1
lea eax, [ebp - 0x210]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x410afa
push 0x4150b0
push edi
lea eax, [ebp - 0x210]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Could_not_to_open_file_in_dialogs_FillFileList
call fcn.004063d0
add esp, 0x18
jmp 0x410b0c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 8]
push ebx
push dword [ebp - 4]
push 0x19a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
add dword [0x41e0a8], ebx
mov eax, dword [ebp + 8]
push 0x4150b0
lea ebx, [eax + 4]
push ebx
call sub.MSVCRT.dll_wcsstr
pop ecx
cmp eax, edi
pop ecx
mov dword [ebp + 8], eax
jne 0x410a37
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10089086
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1012abca
call fcn.10123694
mov esi, ecx
mov dword [ebp - 0x14], esi
call fcn.1007dd03
xor ebx, ebx
mov dword [esi], vtable.ScObjects::Thread.0
push 0x10
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.100b3c7b
pop ecx
test eax, eax
je 0x100890ca
mov dword [eax], vtable.ScObjects::ThreadData.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x100890cc
mov eax, ebx
mov dword [esi + 8], eax
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x10089256
push ebx
push ebx
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
cmp ecx, 0xffffffff
jne 0x100890ff
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0xc], ebx
mov dword [eax + 4], ebx
jmp 0x1008910b
mov eax, dword [ebp - 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], ecx
mov eax, esi
call fcn.10123662
ret

Function at 0x1008933b
Capabilities:
Resume thread

Disassembly:
cmp dword [ecx + 0x10], 0
jne 0x1008934d
mov eax, dword [ecx + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_ResumeThread]
ret

Function at 0x1008f795
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x2c
mov eax, 0x1012b954
call fcn.101236c7
mov esi, dword [ebp + 8]
xor edi, edi
mov ecx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
call fcn.100894ce
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 1
call fcn.1008f895
test eax, eax
jne 0x1008f7d9
push 0xffffffffffffffff
push 0x10130ee8
mov ecx, esi
call fcn.100b3c7b
jmp 0x1008f820
lea ecx, [ebp - 0x20]
push ecx
push 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov ecx, esi
push 0xffffffffffffffff
push 0x10130ee8
test eax, eax
je 0x1008f7d2
call fcn.100b3c7b
movzx eax, byte [ebp + edi - 0x20]
push eax
lea eax, [ebp - 0x30]
push 0x1013d2f0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.100b3c7b
add esp, 0x14
inc edi
cmp edi, 0x10
jb 0x1008f7f8
mov eax, esi
call fcn.10123676
ret

Function at 0x1008f895
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push esi
mov esi, dword [0x107ac5a0]
test esi, esi
jne 0x1008f8ea
push esi
push 1
push esi
push esi
push 0x107ac5a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1008f8e4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x1008f8e4
push 8
push 1
push esi
push esi
push 0x107ac5a0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1008f8e4
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x107ac5a0], esi
jmp 0x1008f8ea
mov esi, dword [0x107ac5a0]
mov eax, esi
pop esi
ret
Function at 0x1008fa93
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x54
mov eax, 0x1012ba03
call fcn.101236c7
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x50], ebx
call fcn.1008f895
and dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x44], eax
call fcn.100894ce
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.100894ce
push edi
mov eax, 0x1013d378
mov dword [ebp - 0x48], 1
push eax
push esi
push eax
push edi
push ebx
call fcn.100b3c7b
pop ecx
pop ecx
push eax
call fcn.100b3c7b
pop ecx
pop ecx
push eax
call fcn.100b3c7b
pop ecx
pop ecx
push eax
call fcn.100b3c7b
pop ecx
pop ecx
push eax
call fcn.100b3c7b
mov eax, dword [ebp - 0x44]
pop ecx
pop ecx
test eax, eax
jne 0x1008fb28
push 0xffffffffffffffff
push 0x10130ee8
mov ecx, ebx
call fcn.100b3c7b
jmp 0x1008fbe9
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1008fb15
push 0
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1008fb15
and dword [ebp - 0x40], 0
lea eax, [ebp - 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 4
pop ecx
push 0
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x4c], ecx
push eax
push ecx
push dword [ebp - 0x3c]
call esi
test eax, eax
je 0x1008fb15
push dword [ebp - 0x40]
call fcn.100b3c7b
mov edi, eax
pop ecx
test edi, edi
je 0x1008fb15
push 0
lea eax, [ebp - 0x40]
push eax
push edi
push 2
push dword [ebp - 0x3c]
call esi
mov ecx, ebx
push 0xffffffffffffffff
push 0x10130ee8
test eax, eax
jne 0x1008fbaa
call fcn.100b3c7b
jmp 0x1008fbe2
call fcn.100b3c7b
xor esi, esi
cmp dword [ebp - 0x40], esi
jbe 0x1008fbe2
cmp esi, 0x28
jae 0x1008fbe2
movzx eax, byte [esi + edi]
push eax
lea eax, [ebp - 0x38]
push 0x1013d2f0
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
lea eax, [ebp - 0x38]
push eax
push ebx
call fcn.100b3c7b
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x40]
jb 0x1008fbb6
push edi
call sub.MSVCR120.dll_free
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x1008fbf8
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0
call fcn.1008950a
mov eax, ebx
call fcn.10123676
ret
Function at 0x1009d200
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1012df8f
call fcn.10123694
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x10169ee4]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100990c2
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100894ce
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100b3c7b
pop ecx
pop ecx
push eax
call fcn.100b3c7b
push 0xc
lea edi, [esi + 0x56]
push ebx
push edi
call sub.MSVCR120.dll_memset
push edi
mov ecx, ebx
call fcn.100b3c7b
add esp, 0x18
test al, al
je 0x1009d273
cmp dword [esi + 0x5a], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x52], eax
mov byte [ebp - 4], bl
call fcn.1008950a
mov eax, esi
call fcn.10123662
ret 8

Function at 0x1009d40f
Capabilities:
Write file on windows

Disassembly:
push 0x1c
mov eax, 0x1012e000
call fcn.10123694
mov esi, ecx
push esi
lea ecx, [ebp - 0x18]
call fcn.1007dcd0
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.100893a0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call fcn.100b3c7b
push 0
xor ecx, ecx
lea eax, [esi + 0x56]
cmp dword [esi + 0x5a], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x1009d4aa
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x1009d4aa
mov eax, dword [edi + 8]
cmp dword [ebp - 0x10], eax
je 0x1009d4ac
xor bl, bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.1008950a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1007de05
mov al, bl
call fcn.10123662
ret 8
Function at 0x10107d92
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x10107e15
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push edi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 8]
cmp edi, ebx
je 0x10107ddf
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x10107ddf
cmp edi, ebx
jge 0x10107ddf
mov eax, ebx
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x10107e0f
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x10107e0f
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
push 1
push dword [esi + 0x20]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 8]
mov eax, edi
pop edi
pop ebx
jmp 0x10107e27
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10108001
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1016f640]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107ac69c], 0
mov eax, dword [ebp + 8]
je 0x10108029
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10108043
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.100b3c7b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1012364c
mov esp, ebp
pop ebp
ret 4

Function at 0x101081ea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x1016f640]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107ac69c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10108220
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10108286
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.100b3c7b
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.100b3c7b
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.100b3c7b
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012364c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10108299
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1016f640]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107ac69c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x101082c5
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x101082f6
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x101082f4
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.100b3c7b
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x101082f6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1012364c
mov esp, ebp
pop ebp
ret 8
Function at 0x10114cb5
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x1016f640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
xor edi, edi
cmp dword [eax + 0x254], edi
je 0x10114d11
cmp dword [eax + 0x264], edi
je 0x10114df3
cmp byte [0x107ac69c], 0
push eax
push dword [eax + 0x250]
je 0x10114cfe
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10114d04
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x264], eax
jmp 0x10114df3
mov eax, dword [eax + 0x25c]
test eax, eax
je 0x10114e84
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR120.dll_wcscpy]
mov eax, dword [esi]
pop ecx
pop ecx
cmp dword [eax + 0x260], edi
je 0x10114d5d
lea eax, [ebp - 0x234]
push eax
call fcn.100b3c7b
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.MSVCR120.dll_wcscat]
add esp, 0xc
mov ecx, dword [esi]
mov eax, 0x80
push 0x10
pop edx
test byte [ecx + 0x268], 1
cmovne eax, edx
mov dword [ecx], eax
cmp byte [0x107ac69c], 0
je 0x10114d8d
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10114daf
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.100b3c7b
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
jne 0x10114ddb
mov dword [eax + 0x250], edi
mov eax, dword [esi]
xor ecx, ecx
inc ecx
mov dword [eax + 0x254], ecx
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
jne 0x10114df3
mov dword [esi + 4], ecx
mov eax, dword [esi]
cmp dword [eax + 0x264], edi
je 0x10114e15
cmp byte [0x107ac69c], 0
jne 0x10114e15
push dword [eax + 0x258]
add eax, 0x2c
push eax
call fcn.100b3c7b
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [eax + 0x26c], ecx
xor ecx, ecx
mov ebx, dword [esi]
inc ecx
mov edi, dword [ebx + 0x26c]
shr edi, 4
and edi, ecx
je 0x10114e4d
push esi
xor edi, edi
call fcn.100b3c7b
cmp word [eax], 0x2e
je 0x10114e48
test byte [ebx + 0x268], 3
jne 0x10114e57
xor edi, edi
inc edi
jmp 0x10114e57
test byte [ebx + 0x268], 1
cmovne edi, ecx
cmp dword [ebx + 0x264], 0
je 0x10114e75
test edi, edi
jne 0x10114cce
test byte [ebx + 0x26c], 2
jne 0x10114cce
mov ecx, ebx
xor eax, eax
cmp dword [ecx + 0x264], eax
setne al
jmp 0x10114e86
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012364c
mov esp, ebp
pop ebp
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219