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

Disassembly:
push 0xffffffffffffffff
push 0x580142
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x5e4a44]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
push 0x104
xor ebp, ebp
lea eax, [esp + 0x144]
mov esi, edx
mov dword [esp + 0x20], ebp
mov ebx, dword [esi]
push eax
push ebp
push ebx
mov edi, ecx
mov dword [esp + 0x34], esi
mov byte [esp + 0x27], 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], 0x104
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x41dade
inc dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x144]
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41da9d
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x40]
push edx
push ebp
push 0x5b96a8
push eax
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x50], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebp
jne 0x41da8e
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
call fcn.004024e0
mov esi, eax
mov dword [esp + 0x250], ebp
mov eax, dword [edi + 4]
or dword [esp + 0x1c], 1
cmp eax, ebp
je 0x41da49
mov ecx, dword [esi]
cmp dword [ecx - 0xc], ebp
jl 0x41da49
push eax
push ecx
call fcn.00550eef
add esp, 8
cmp eax, ebp
je 0x41da49
sub eax, dword [esi]
jne 0x41da49
mov edx, dword [edi + 4]
mov eax, dword [edx - 0xc]
push ecx
lea eax, [esp + eax + 0x40]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.004024e0
call fcn.0041d510
cmp eax, ebp
jle 0x41da49
mov bl, 1
jmp 0x41da4b
xor bl, bl
mov dword [esp + 0x250], 0xffffffff
test byte [esp + 0x1c], 1
je 0x41da82
mov eax, dword [esp + 0x30]
and dword [esp + 0x1c], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41da82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x41dac2
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
push 0x104
lea edx, [esp + 0x144]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x41d991
jmp 0x41dade
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x17], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x17]
mov dword [esi], ebp
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005509f8
add esp, 0x240
ret
Function at 0x41ded0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5827a1
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5e4a44]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x138]
mov esi, ecx
mov edi, edx
call fcn.0041de10
test al, al
jne 0x41e104
call fcn.00454925
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41df3d
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x104
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x138], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, dword [0x5f5208]
add eax, 0xfffffff0
push eax
call fcn.00403050
lea ebx, [eax + 0x10]
mov dword [esp + 0x20], ebx
push str._vcredist_x86.exe
lea edx, [esp + 0x1c]
push ebp
push edx
mov byte [esp + 0x140], 1
call fcn.00413530
add esp, 0x10
push 0
push 0
mov byte [esp + 0x138], 2
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x20]
push str._q:a
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x41dfea
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [ebx]
push 0x1f4
inc edi
call ebp
call fcn.0041de10
test al, al
jne 0x41e08d
cmp edi, 0x32
jb 0x41dfd0
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x130], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e036
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e061
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005509f8
add esp, 0x120
ret 4
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e0b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x130], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e0d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x41e063
Function at 0x41e730
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x57f12d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x34], 1
mov eax, dword [edi + 4]
test eax, eax
je 0x41e803
cmp dword [edi + 0x28], 0
jbe 0x41e7e9
push 0x5b97f4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41e7e9
mov eax, dword [edi + 0xc]
mov ebp, dword [edi + 0x24]
mov esi, dword [edi + 0xc]
mov dword [esp + 0x20], eax
mov eax, ebp
mov ebx, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], esi
test esi, esi
je 0x41e7ab
cmp esi, dword [esp + 0x20]
je 0x41e7b0
call fcn.005519ed
cmp ebx, ebp
je 0x41e7e9
test esi, esi
jne 0x41e7e5
call fcn.005519ed
cmp ebx, dword [esi + 0x18]
jne 0x41e7c7
call fcn.005519ed
mov ecx, dword [ebx + 0x10]
push ecx
call dword [esp + 0x18]
add esp, 4
lea esi, [esp + 0x18]
call fcn.00437870
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x41e7a1
mov esi, dword [esi]
jmp 0x41e7bd
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [edi]
push eax
mov dword [edi + 4], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [edi + 0xc]
mov dword [esp + 0x14], esi
mov byte [esp + 0x34], 2
call fcn.00435e90
mov esi, dword [esi]
push esi
call fcn.00450d0a
mov dword [esp + 0x38], 0xffffffff
mov edi, dword [edi]
sub edi, 0x10
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e845
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x41e860
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x24]
mov ebp, dword [ebx + 0xc]
lea edi, [ebx + 0xc]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
call fcn.004352e0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x41e891
cmp eax, ebp
je 0x41e896
call fcn.005519ed
mov eax, dword [esp + 0x14]
cmp dword [esi + 4], eax
jne 0x41e989
cmp dword [ebx + 4], 0
jne 0x41e95f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x41e95f
push 0x5b9800
push 0xc3
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x41e940
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esp + 0x10], eax
test eax, eax
jbe 0x41e940
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41e940
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
test ebp, ebp
je 0x41e940
mov eax, dword [ebx]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x41e940
cmp esi, 0xffffffff
je 0x41e940
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
push ecx
push edx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 4], eax
test eax, eax
je 0x41e95f
push 0x5b9808
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x41e995
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x41e995
lea edx, [esp + 0x2c]
push edx
mov ebx, edi
call fcn.00435230
mov dword [eax], esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14
ret 8
Function at 0x428cd0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x580c13
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.CHUpdateDlg.0
mov dword [esi + 0xbc], vtable.CHUpdateDlg.1.0
mov dword [esp + 0x14], 0x10
xor ebx, ebx
mov dword [esi + 0x2ae8], ebx
call fcn.00409130
mov ecx, dword [esi + 0x2aec]
cmp ecx, ebx
je 0x428d33
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x2aec], ebx
mov eax, dword [esi + 0x2b88]
cmp eax, ebx
je 0x428d4e
mov eax, dword [eax + 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x2b88], ebx
lea ecx, [esi + 0x2afc]
push ecx
mov dword [0x5f4ed0], ebx
mov byte [esp + 0x18], 0xf
call fcn.00428bc0
lea ecx, [esi + 0x2a50]
mov byte [esp + 0x14], 0xe
call fcn.00404090
lea ecx, [esi + 0x29b8]
mov byte [esp + 0x14], 0xd
call fcn.00404090
lea ecx, [esi + 0x28b8]
mov byte [esp + 0x14], 0xc
call fcn.0041c6a0
lea edx, [esi + 0x24cc]
push edx
mov byte [esp + 0x18], 0xb
call fcn.004066b0
lea eax, [esi + 0x20e0]
push eax
mov byte [esp + 0x18], 0xa
call fcn.004066b0
lea ecx, [esi + 0x1cf4]
push ecx
mov byte [esp + 0x18], 9
call fcn.004066b0
lea edx, [esi + 0x1908]
push edx
mov byte [esp + 0x18], 8
call fcn.004066b0
lea eax, [esi + 0x1518]
push eax
mov byte [esp + 0x18], 7
call fcn.004066b0
lea ecx, [esi + 0x112c]
push ecx
mov byte [esp + 0x18], 6
call fcn.004066b0
lea edx, [esi + 0xd40]
push edx
mov byte [esp + 0x18], 5
call fcn.004066b0
lea eax, [esi + 0x954]
push eax
mov byte [esp + 0x18], 4
call fcn.004066b0
lea ecx, [esi + 0x564]
push ecx
mov byte [esp + 0x18], 3
call fcn.004066b0
lea edx, [esi + 0x178]
push edx
mov byte [esp + 0x18], 2
call fcn.004066b0
lea ecx, [esi + 0x124]
mov byte [esp + 0x14], 1
call fcn.0046034f
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], bl
call fcn.00405a20
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00405090
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x428e90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x80
push 0
push 0x41e150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x428ec3
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
Function at 0x43c570
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x57ea0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00570c8e
push 4
mov dword [esp + 0x20], 0
call fcn.00450cdb
mov edi, eax
add esp, 4
test edi, edi
je 0x43c5ee
call fcn.00570aff
mov dword [edi], eax
call fcn.0057092d
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00570c4f
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x43c5e3
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00570c77
jmp 0x43c5f0
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x442280
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
sub esp, 0x460
mov eax, dword [0x5e4a44]
xor eax, esp
mov dword [esp + 0x45c], eax
mov eax, dword [esp + 0x464]
push esi
push edi
push 0x5bc984
push eax
call fcn.00552e06
mov edi, eax
xor esi, esi
add esp, 8
cmp edi, esi
jne 0x4422cc
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x45c]
xor ecx, esp
call fcn.005509f8
add esp, 0x460
ret
push edi
push 0x400
lea eax, [esp + 0x68]
push 1
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00554936
add esp, 0x10
cmp eax, esi
je 0x442337
lea ecx, [ecx]
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0xc]
call fcn.00441a10
push edi
push 0x400
lea edx, [esp + 0x6c]
push 1
push edx
call fcn.00554936
add esp, 0x14
cmp eax, esi
jne 0x442310
lea esi, [esp + 8]
mov ecx, ebx
call fcn.00441ac0
push edi
call fcn.00553d71
mov ecx, dword [esp + 0x468]
add esp, 4
pop edi
pop esi
xor ecx, esp
mov al, 1
call fcn.005509f8
add esp, 0x460
ret

Function at 0x4453d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x5e4a44]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00441a10
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00441ac0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
mov eax, edi
call fcn.005509f8
add esp, 0x68
ret

Function at 0x4455b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x5e4a44]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00441a10
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00441ac0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
mov al, 1
call fcn.005509f8
add esp, 0x68
ret
Function at 0x445620
Capabilities:
Compute adler32 checksum

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
movzx ecx, di
shr edi, 0x10
mov ebx, eax
test esi, esi
jne 0x44563a
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
ret
test ebx, ebx
jbe 0x44573a
push ebp
mov eax, ebx
cmp ebx, 0x15b0
jb 0x445652
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x4456fb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x445670
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x445670
test eax, eax
je 0x44570d
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x445700
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x445643
pop ebp
mov eax, edi
pop edi
shl eax, 0x10
pop esi
or eax, ecx
pop ebx
ret
Function at 0x445750
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x57f3e8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00403050
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov eax, dword [ecx]
mov cl, byte [eax]
mov esi, eax
test cl, cl
je 0x4457e4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
cmp cl, 0x5c
jne 0x4457dc
mov edx, esi
sub edx, eax
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00402e00
mov edi, dword [esp + 0x24]
push edi
call ebx
test eax, eax
jne 0x4457da
push eax
push edi
call ebp
push edi
call ebx
test eax, eax
je 0x44581e
mov eax, esi
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x4457b0
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4461f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x581d98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x5e4a44]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x1c]
push ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x20], 0
call fcn.00413470
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44625e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x446270
lea eax, [esp + 0x1c]
call fcn.00445e10
inc dword [esi + 0x24]
jmp 0x446273
inc dword [esi + 0x20]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44629b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x446490
Capabilities:
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x446497
xor eax, eax
ret
mov eax, dword [esp + 4]
jmp fcn.004464a0
Function at 0x4469d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x24]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x34]
sub edi, dword [esi + 0x6c]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x24]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
mov dword [esp + 0xc], edi
cmp eax, edx
jb 0x446a60
mov eax, dword [esi + 0x30]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.00558100
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], ebp
sub dword [esi + 0x64], ebp
add esp, 0xc
sub dword [esi + 0x54], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x446a2f
sub eax, ebp
jmp 0x446a31
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x446a20
mov ecx, dword [esi + 0x38]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x446a50
sub eax, ebp
jmp 0x446a52
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x446a41
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x446b1a
mov edx, dword [esi + 0x6c]
add edx, dword [esi + 0x64]
mov eax, dword [edi + 4]
add edx, dword [esi + 0x30]
mov ecx, dword [esp + 0xc]
mov ebx, eax
mov dword [esp + 0x10], edx
cmp ebx, ecx
jbe 0x446a88
mov ebx, ecx
test ebx, ebx
je 0x446adc
sub eax, ebx
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x446aaa
mov ecx, dword [edi]
mov edx, dword [edi + 0x30]
mov eax, ebx
call fcn.00445620
jmp 0x446ac3
cmp eax, 2
jne 0x446aca
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
test ecx, ecx
jne 0x446abc
xor eax, eax
jmp 0x446ac7
mov edx, ebx
call fcn.004464a0
mov edx, dword [esp + 0x10]
mov dword [edi + 0x30], eax
mov ecx, dword [edi]
push ebx
push ecx
push edx
call fcn.00558100
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x6c], ebx
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x446b06
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x50]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x446b1a
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x4469e0
pop edi
pop ebp
pop ebx
add esp, 8
ret