joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034570
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x100772a0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
push esi
mov edi, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100345ba
mov eax, 0x44f
jmp 0x100346cb
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100345cf
mov eax, 0x450
jmp 0x100346cb
push edi
push esi
push 0x10080d60
push 0x10080d6c
lea esi, [esp + 0x58]
call fcn.100460a6
add esp, 0x10
xor ebx, ebx
mov eax, 0x10080d64
lea ecx, [esp + 0x2c]
mov dword [esp + 0x70], ebx
call fcn.10006f60
push eax
lea esi, [esp + 0x14]
mov byte [esp + 0x74], 1
call fcn.10012200
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x50]
mov byte [esp + 0x78], 2
call fcn.10012010
mov esi, 8
cmp dword [esp + 0x28], esi
jb 0x10034638
mov eax, dword [esp + 0x14]
push eax
call fcn.10056169
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x1003465e
mov edx, dword [esp + 0x30]
push edx
call fcn.10056169
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x60], esi
jae 0x10034681
lea eax, [esp + 0x4c]
push eax
lea ebx, [esp + 0x14]
call fcn.100344e0
add esp, 4
cmp dword [esp + 0x28], 0x10
mov edi, eax
jb 0x100346a4
mov eax, dword [esp + 0x14]
push eax
call fcn.10056169
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], eax
mov byte [esp + 0x14], al
cmp dword [esp + 0x60], esi
jb 0x100346c9
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.10056169
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10055232
add esp, 0x64
ret
Function at 0x10034810
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
add esi, 4
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x1003494f
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x50
jb 0x10034923
push edi
lea ecx, [esp + 0x14]
push ecx
push 0x50
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10034923
cmp dword [esp + 0x10], 0x50
jne 0x10034923
cmp dword [esi], 0x424b4c48
jne 0x10034923
cmp dword [esi + 0x18], ebx
jne 0x10034923
mov ecx, dword [esi + 0x24]
cmp ecx, ebx
ja 0x10034923
mov eax, dword [esi + 0x28]
lea edx, [eax + ecx]
cmp edx, ebx
ja 0x10034923
inc eax
push eax
call fcn.100544f1
add esp, 4
push 0
mov edi, eax
mov eax, dword [esi + 0x24]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x28]
push 0
lea ecx, [esp + 0x14]
push ecx
push edx
push edi
push ebp
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10034927
mov ecx, dword [esi + 0x28]
cmp dword [esp + 0x10], ecx
jne 0x10034927
cmp dword [esi + 0x2c], 1
jne 0x10034927
mov dl, byte [esi + 0x30]
xor eax, eax
test ecx, ecx
jle 0x10034908
mov edi, edi
xor byte [eax + edi], dl
inc eax
cmp eax, ecx
jl 0x10034900
mov eax, dword [esi + 0x28]
mov byte [edi + eax], 0
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x54], edi
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x58], ecx
mov esi, 1
jmp 0x1003492b
mov esi, edi
jmp 0x1003492b
mov esi, dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x10034943
test edi, edi
je 0x10034943
push edi
call fcn.10056169
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 4
Function at 0x10035130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100753a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov eax, edi
mov esi, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10035180
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.1000a340
push 0x30
push str.rv__hklm___softwarekingsoft_antivirus_report_
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x44], ebx
call fcn.1003d5b0
lea edx, [esp + 0x10]
cmp eax, 0xffffffff
je 0x100351bc
push eax
xor ecx, ecx
call fcn.1003ce10
jmp 0x10035212
push 0x2e
push str.xregrv__hklm___softwarewow6432nodekingsoft
push edx
call fcn.1003d5b0
cmp eax, 0xffffffff
je 0x100351e8
push eax
xor ecx, ecx
lea edx, [esp + 0x14]
call fcn.1003ce10
cmp dword [esp + 0x28], 0x10
jb 0x10035226
mov eax, dword [esp + 0x14]
push eax
jmp 0x1003521e
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10035200
sub eax, edx
push eax
push edi
mov ecx, esi
call fcn.1000a340
cmp dword [esp + 0x28], 0x10
jb 0x10035226
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10056169
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10055232
add esp, 0x30
ret
Function at 0x100399e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10079d38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1008e418]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, esi
lea ecx, [esp + 0xc]
call fcn.10039610
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 8
jb 0x10039a22
mov eax, dword [eax + 4]
jmp 0x10039a25
add eax, 4
push ebx
mov edi, eax
call fcn.10011e10
add esp, 4
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x24], 8
jb 0x10039a4c
mov eax, dword [esp + 0x10]
push eax
call fcn.10056169
add esp, 4
xor ecx, ecx
push ebx
push esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], cx
call fcn.10037630
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x1003c990
Capabilities:
Check if file exists
Print debug messages

Disassembly:
sub esp, 0x424
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x41c], eax
push esi
xor eax, eax
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
cmp eax, 0x1007e74c
jne 0x1003c9d9
xor ecx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 7
push ecx
mov eax, 0x1007f0d8
mov word [esi + 4], cx
call fcn.1000a960
jmp 0x1003ca96
push 0x1007e74c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x1003ca17
push 0x100814c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
push edx
mov eax, 0x1007f0d8
mov word [esi + 4], dx
call fcn.1000a960
jmp 0x1003ca96
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.10061ab0
add esp, 0xc
push 0x208
lea edi, [esp + 0x14]
call fcn.10046557
cmp word [esp + 0x10], 0
je 0x1003ca8a
mov edx, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
push edx
call edi
push 0x1007e74c
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x10]
call fcn.1004532e
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [esp + 0x10]
jne 0x1003ca8f
mov eax, 0x1007f0d8
mov ecx, esi
call fcn.10006f60
mov ecx, dword [esp + 0x424]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.10055232
add esp, 0x424
ret
Function at 0x100450f6
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x1004531b
test eax, eax
jne 0x10045147
test ecx, ecx
je 0x1004531b
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x1004519d
cmp ax, 0x5c
je 0x1004519d
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.10061ab0
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1004531b
test al, 0x10
je 0x1004531b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x100815f4
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x1004531b
mov dword [ebp - 0xa7c], 1
push 0x1007ef08
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100452e0
push 0x1007ea84
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x100452e0
cmp dword [ebp - 0xa78], 0xffffffff
je 0x100452e0
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x100452c0
cmp dword [ebp - 0xa80], 0
je 0x10045284
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x100452fd
cmp dword [ebp + 0xc], 0
je 0x100452e0
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.100450f6
push 2
pop ecx
cmp eax, ecx
jne 0x100452e0
mov dword [ebp - 0xa7c], ecx
jmp 0x10045307
cmp dword [ebp - 0xa84], 0
je 0x100452e0
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x100452fd
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10045200
jmp 0x10045307
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x1004531d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10055232
leave
ret 0x18
Function at 0x1004532e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp esi, ebx
je 0x1004542e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jge 0x1004542e
xor eax, eax
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.10061ab0
add esp, 0xc
lea ecx, [ebp - 0x210]
mov edx, esi
call fcn.10045aaf
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100453ab
shr eax, 4
not eax
and eax, 1
jmp 0x10045430
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea esi, [ebp - 0x418]
call fcn.1004543e
test eax, eax
je 0x1004542e
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x10000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x10045410
mov dword [ebp - 0x41c], 1
cmp eax, 0xffffffff
jne 0x10045416
mov dword [ebp - 0x41c], ebx
lea ecx, [ebp - 0x420]
call fcn.1000df30
xor eax, eax
cmp byte [ebp - 0x41c], bl
setne al
jmp 0x10045430
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10055232
leave
ret
Function at 0x10045a36
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp + 0x84], eax
push esi
push 0x103
lea eax, [ebp - 0x7f]
push 0
push eax
mov byte [ebp - 0x80], 0
call fcn.10061ab0
add esp, 0xc
push 0x104
lea esi, [ebp - 0x80]
call fcn.100459aa
mov eax, 0x179b06cc
xor ecx, ecx
movzx edx, byte [ebp + ecx - 0x80]
movzx esi, al
xor edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10091068]
inc ecx
cmp ecx, 0x24
jl 0x10045a7d
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
not eax
pop esi
call fcn.10055232
add ebp, 0x88
leave
ret

Function at 0x10045d96
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x1008e418]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.10045e91
push esi
test eax, eax
je 0x10045e23
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.10061ab0
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x10045e1a
cmp esi, 0xffffffff
je 0x10045e1a
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x10045e16
push edi
lea eax, [esp + 0xc]
push eax
call fcn.10045e91
test eax, eax
je 0x10045e1a
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x10045dfc
lea ecx, [esp + 4]
call fcn.1000df30
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.10055232
mov esp, ebp
pop ebp
ret 4
Function at 0x1004641f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077173
mov eax, dword fs:[0]
push eax
mov eax, 0x2048
call fcn.1006d050
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.1000f5c0
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.10044f11
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x10046519
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 0x2018], edi
push edi
jmp 0x100464ff
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
lea ecx, [ebp - 0x2048]
call fcn.10006f60
lea eax, [ebp - 0x2054]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x2028]
lea ebx, [ebp - 0x2048]
call fcn.10007230
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.10006fd0
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100464a9
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x10046537
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10055232
leave
ret

Function at 0x10046557
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x100465c5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.10061ab0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x100465c5
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x100465d4
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10055232
add ebp, 0x190
leave
ret 4

Function at 0x10047a06
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1000f050
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x10047a3d
push dword [ebp + 8]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.100475ec
add esp, 0xc
mov eax, edi
pop edi
pop esi
leave
ret 4
Function at 0x10048c78
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x41c], 0
push esi
xor eax, eax
mov esi, 0x1007e74c
push edi
cmp eax, esi
je 0x10048d25
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jg 0x10048d25
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.10061ab0
add esp, 0xc
push 0x208
lea edi, [ebp - 0x418]
call fcn.10046557
cmp word [ebp - 0x418], 0
je 0x10048d25
mov eax, edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.projone
push eax
call edi
push esi
lea eax, [ebp - 0x418]
push eax
call edi
lea ecx, [ebp - 0x418]
call fcn.1004532e
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x418]
jne 0x10048d2a
mov eax, 0x1007f0d8
mov ecx, ebx
call fcn.10006f60
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.10055232
leave
ret
Function at 0x10052058
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.1006d050
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
call fcn.10052137
test al, al
je 0x1005212a
xor eax, eax
mov word [ebp - 0x80c], ax
mov word [ebp - 0x100c], ax
push str.__ls__ls
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100826ac
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [ebp - 0x2028]
push eax
call fcn.10051f84
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100520c9
mov eax, dword [eax + 4]
jmp 0x100520cc
add eax, 4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x100c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
lea esi, [ebp - 0x2028]
call fcn.10006fd0
xor eax, eax
mov word [ebp - 0x200c], ax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x100c]
push eax
push 0x800
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea eax, [ebp - 0x200c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10055232
leave
ret

Function at 0x10052446
Capabilities:
Delete file
Get file size

Disassembly:
push 0x2ac
mov eax, 0x100778a9
call fcn.10059b82
xor edi, edi
push edi
push dword [0x10092610]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x500000
jbe 0x100524c3
push 0x2d
push edi
mov esi, 0x10092614
push esi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor ecx, ecx
mov word [eax], cx
inc dword [0x1009281c]
push dword [0x1009281c]
lea eax, [ebp - 0x90]
push str.__d.log
push 0x40
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [0x10092610]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x10092610], 0xffffffff
xor eax, eax
push 0x206
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x296]
push edi
push eax
call fcn.10061ab0
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
call fcn.100522e8
lea eax, [ebp - 0x2b0]
push eax
call fcn.1002ede0
push edi
push edi
lea eax, [ebp - 0x2b8]
push eax
push 0x100523d2
push edi
lea eax, [ebp - 0x298]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2b8], edi
mov dword [ebp - 0x2b4], edi
call fcn.100450f6
mov eax, dword [ebp - 0x2a0]
sub eax, dword [ebp - 0x2a4]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 0x64
ja 0x1005254e
cmp dword [ebp - 0x2b4], edi
ja 0x1005254e
cmp dword [ebp - 0x2b8], 0x3200000
jbe 0x10052588
cmp eax, 0x14
jbe 0x10052558
push 0xa
pop ebx
jmp 0x1005255f
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, edi
jle 0x10052588
lea esi, [ebp - 0x2b0]
call fcn.10007180
cmp dword [eax + 0x18], 8
jb 0x10052579
mov eax, dword [eax + 4]
jmp 0x1005257c
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, ebx
jl 0x10052563
lea esi, [ebp - 0x2b0]
call fcn.1002ee40
call fcn.10059c05
ret
Function at 0x100532cf
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x10053523
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1005353d
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x10053539
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100535d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008e418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.10053764
push ebx
mov dl, al
call fcn.1005373d
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.100536f8
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.10053716
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.100536f8
push ebx
mov byte [ebp - 0x15], al
call fcn.10053716
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1005373d
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.10053764
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1005373d
mov bl, al
mov al, byte [edi + 4]
call fcn.10053764
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.10053716
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.100536f8
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.10053716
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.100536f8
xor bl, al
mov al, dl
call fcn.10053764
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1005373d
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x10053603
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10055232
leave
ret 4