joyce8/EMBER2024-capa huggingface dataset:
Function at 0x492272
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4922aa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00490296
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049026e
jmp 0x4922b6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x493aef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x493b31
call fcn.0049a003
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493b31
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493b28
xor eax, eax
jmp 0x493b39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00493b3f
pop edi
pop esi
pop ebx
ret 4

Function at 0x49a533
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49a561
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49a57f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049a499
jmp 0x49a57f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49a57f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049a499
test edi, edi
mov eax, edi
jne 0x49a569
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x49cdaf
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x49cdd7
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x49cde8
push 2
call edi
test ax, ax
jge 0x49cde8
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.004918a8
cmp dword [esi + 0x30], ebx
jne 0x49cec2
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, pe_nt_image_headers32
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004918a8
cmp eax, dword [esp + 0x34]
jne 0x49cec2
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x49ce5e
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x49cea3
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x49cec2
cmp eax, 0x205
je 0x49cec2
cmp eax, 0x201
je 0x49cec2
cmp eax, 0x204
je 0x49cec2
cmp eax, ebx
jne 0x49ce89
cmp dword [esp + 0x1c], 0x1b
je 0x49cec2
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x9281bc]
jbe 0x49ceb8
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x49ce1b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4010a0
Capabilities:
Get file size

Disassembly:
push ecx
cmp byte [ecx + 0x10], 0
push esi
je 0x4010e6
mov eax, dword [esp + 0xc]
push edi
xor edi, edi
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [ecx + 0x18], edi
jbe 0x4010de
xor edx, edx
push ebx
mov esi, dword [ecx + 0x14]
mov ebx, dword [esi + edx + 8]
add dword [eax], ebx
mov esi, dword [esi + edx + 0xc]
adc dword [eax + 4], esi
inc edi
add edx, 0x10
cmp edi, dword [ecx + 0x18]
jb 0x4010c4
pop ebx
pop edi
mov al, 1
pop esi
pop ecx
ret 4
mov ecx, dword [ecx + 8]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40110d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40110d
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.004e68d0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x401bf0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
push edi
je 0x401cd6
mov edx, dword [esi + 0x18]
xor eax, eax
mov dword [esp + 0xc], eax
test edx, edx
jbe 0x401c25
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0x14]
cmp edi, dword [ecx]
je 0x401c21
inc eax
add ecx, 0x10
cmp eax, edx
jb 0x401c15
mov dword [esp + 0xc], eax
cmp eax, edx
jb 0x401c34
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x14
ret 0xc
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, eax
mov dword [esp + 0x14], 0
mov edi, eax
shl ebp, 4
jmp 0x401c54
mov eax, dword [esp + 0x10]
test ebx, ebx
jbe 0x401cb4
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + ebp]
mov dword [esi + 8], edx
mov byte [esi + 0x10], 0
cmp edi, eax
jbe 0x401c7b
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
mov ecx, esi
call fcn.00401140
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edx
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00401bf0
mov byte [esi + 0x10], 1
test al, al
je 0x401cca
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
add dword [esp + 0x28], eax
inc edi
sub ebx, eax
add ebp, 0x10
cmp edi, dword [esi + 0x18]
jb 0x401c50
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
pop ebp
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
add esp, 0x14
ret 0xc
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x14
ret 0xc
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 8]
push 0
push edi
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [0x51af40]
setne bl
add eax, dword [edi]
mov dword [0x51af40], eax
cmp eax, 0x186a0
jbe 0x401d47
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00401020
mov esi, dword [esi + 0xc]
mov eax, dword [esi + 0x201c]
mov ecx, dword [esi + 0x2018]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push 0
push 0
push 0
push 0
call fcn.0046b2b0
mov dword [0x51af40], 0
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x14
ret 0xc

Function at 0x401d60
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
add dword [esi + 0x20], ebp
mov edx, dword [esi + 0x20]
push edi
adc dword [esi + 0x24], 0
mov eax, dword [esi + 0x24]
jne 0x401d7d
test edx, edx
jbe 0x401d9e
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
cmp eax, ecx
ja 0x401d9e
jb 0x401d8d
cmp edx, edi
jae 0x401d9e
push 0
push 0
push 0
push 0
push ecx
push edi
push eax
push edx
call fcn.0046b2b0
cmp byte [esi + 5], 0
mov edi, dword [esp + 0x14]
mov bl, 1
je 0x401db2
mov eax, dword [esp + 0x1c]
mov dword [eax], ebp
jmp 0x401dca
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 8]
push 0
push ecx
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push ebp
push edi
push ecx
call fcn.0040d630
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 0xc
Function at 0x401df0
Capabilities:
Clear file content

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push edi
mov esi, ecx
call fcn.00401140
test al, al
jne 0x401e17
pop edi
pop esi
xor al, al
pop ebx
ret 8
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jne 0x401e0f
mov edx, dword [esp + 0x14]
cmp edx, ebx
jne 0x401e0f
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
ret 8

Function at 0x404200
Capabilities:
Delete file

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor eax, eax
lea ebp, [esi + 0x100e]
mov word [ebp], ax
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb]
push ecx
lea edx, [eax + 0x5028]
push edx
add eax, 0xb412
push eax
mov ecx, esi
mov byte [esi + 0xc], 0
call fcn.00403e20
test al, al
jne 0x404252
cmp byte [esp + 0xb], al
jne 0x404294
mov eax, dword [esi + 4]
add eax, 0xb412
push eax
mov ecx, 0x531158
call fcn.0043f910
pop esi
pop ebp
pop ecx
ret
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 4]
push edi
push edx
mov ecx, esi
call fcn.00403320
mov edi, dword [esi + 8]
test edi, edi
je 0x404278
mov ecx, edi
call fcn.00401fa0
push edi
call fcn.004e730a
add esp, 4
cmp byte [esi + 0xc], 0
mov dword [esi + 8], 0
pop edi
je 0x404294
cmp word [ebp], 0
je 0x404294
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
pop ecx
ret

Function at 0x404fe0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, 0x1004
call fcn.004e6b50
mov eax, dword [0x519bc0]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
push 0x800
lea eax, [esp + 8]
push eax
push str.UnAceV2.Dll
mov esi, ecx
call fcn.0040d6c0
test al, al
jne 0x40503a
push str.UnAceV2.Dll
mov ecx, 0x531158
call fcn.0043f910
xor al, al
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1004
ret
push edi
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2830], eax
test eax, eax
je 0x4050ed
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ACEInitDll
push eax
call edi
mov dword [0x51af54], eax
test eax, eax
je 0x4050c7
mov edx, dword [esi + 0x2830]
push str.ACEReadArchiveData
push edx
call edi
mov dword [0x51af50], eax
test eax, eax
je 0x4050c7
mov eax, dword [esi + 0x2830]
push str.ACEList
push eax
call edi
mov dword [0x51af4c], eax
test eax, eax
je 0x4050c7
mov ecx, dword [esi + 0x2830]
push str.ACETest
push ecx
call edi
mov dword [0x51af48], eax
test eax, eax
je 0x4050c7
mov edx, dword [esi + 0x2830]
push str.ACEExtract
push edx
call edi
mov dword [0x51af44], eax
test eax, eax
jne 0x4050ed
mov eax, dword [esi + 0x2830]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1004
ret
mov ecx, dword [esp + 0x1008]
xor eax, eax
cmp dword [esi + 0x2830], eax
pop edi
setne al
pop esi
xor ecx, esp
call fcn.004e6b3a
add esp, 0x1004
ret
Function at 0x4083f0
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
shl eax, 0x18
test eax, eax
jns 0x408404
add eax, eax
xor eax, 0x4c11db7
jmp 0x408406
add eax, eax
test eax, eax
jns 0x408413
add eax, eax
xor eax, 0x4c11db7
jmp 0x408415
add eax, eax
test eax, eax
jns 0x408422
add eax, eax
xor eax, 0x4c11db7
jmp 0x408424
add eax, eax
test eax, eax
jns 0x408431
add eax, eax
xor eax, 0x4c11db7
jmp 0x408433
add eax, eax
test eax, eax
jns 0x408440
add eax, eax
xor eax, 0x4c11db7
jmp 0x408442
add eax, eax
test eax, eax
jns 0x40844f
add eax, eax
xor eax, 0x4c11db7
jmp 0x408451
add eax, eax
test eax, eax
jns 0x40845e
add eax, eax
xor eax, 0x4c11db7
jmp 0x408460
add eax, eax
test eax, eax
jns 0x40846d
add eax, eax
xor eax, 0x4c11db7
jmp 0x40846f
add eax, eax
mov dword [ecx*4 + 0x51afe0], eax
inc ecx
cmp ecx, 0x100
jl 0x4083f2
ret
Function at 0x40c190
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov edi, dword [esp + 0x10]
push 0
lea eax, [esp + 0xc]
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebx
test eax, eax
je 0x40c1f7
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x1c]
lea esp, [esp]
cmp dword [esp + 0x10], 1
jne 0x40c1ec
mov al, byte [esp + 0x18]
mov byte [esi], al
test al, al
je 0x40c1ec
dec ebp
test ebp, ebp
jle 0x40c1ec
push 0
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esp + 0x24]
push eax
push edi
inc esi
call ebx
test eax, eax
jne 0x40c1c0
mov byte [esi], 0
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 0xc
mov ecx, dword [esp + 0x14]
pop edi
mov byte [ecx], 0
pop ebx
pop ecx
ret 0xc

Function at 0x40c510
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
and eax, 0xffff
push esi
push eax
call fcn.004f3b7d
add esp, 4
cmp word [0x51c3e8], 0
mov esi, eax
je 0x40c545
push 0x51c3e8
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ecx, ecx
mov word [0x51c3e8], cx
mov eax, esi
pop esi
ret

Function at 0x40d6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.004534c0
mov ebx, dword [esp + 0x10]
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00469530
push esi
call fcn.00445470
test al, al
je 0x40d6fe
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
lea eax, [esp + 0x18]
push eax
push 1
xor edx, edx
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov word [esi], dx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d74b
lea edx, [esp + 0x14]
push edx
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + edi]
push 0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x28]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004534c0
push edi
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00469530
push esi
call fcn.00445470
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x40d860
Capabilities:
Check if file exists

Disassembly:
xor eax, eax
mov dword [ecx + 0x102c], eax
mov dword [ecx + 0x1028], eax
jmp fcn.00443ed0
Function at 0x4122d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x4122eb
pop ebp
pop ecx
ret 0x14
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
lea ecx, [ecx]
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x41232d
jmp 0x412320
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41232d
inc edi
cmp edi, edx
jb 0x412320
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x412442
cmp ecx, 3
jbe 0x412361
xor ebp, ebp
mov cl, byte [edi + 4]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x41239b
cmp cl, 0xff
je 0x41239b
and ebp, 3
add ebp, ebp
or ebp, 1
inc eax
jmp 0x412310
dec ecx
shl ebp, cl
and ebp, 7
je 0x412346
movzx ecx, byte [ebp + 0x50209c]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x502094], 0
mov cl, byte [ebx + 4]
je 0x412389
test cl, cl
je 0x412389
cmp cl, 0xff
jne 0x412346
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
inc eax
jmp 0x412310
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x4123ce
lea ebx, [edx + eax]
add ebx, esi
jmp 0x4123d4
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x412414
movzx esi, byte [ebp + 0x50209c]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x4123f9
cmp dl, 0xff
jne 0x412410
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x4123c0
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
dec dl
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x412310
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x412457
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret 0x14
dec ecx
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret 0x14

Function at 0x414440
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x14]
test esi, esi
jbe 0x41447c
movzx ecx, byte [edi]
xor ecx, eax
shrd eax, edx, 8
and ecx, 0xff
xor eax, dword [ecx*8 + 0x51f418]
shr edx, 8
xor edx, dword [ecx*8 + 0x51f41c]
dec esi
inc edi
test esi, esi
ja 0x414456
pop edi
pop esi
ret 0x10
Function at 0x416890
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jbe 0x4168cd
push esi
mov esi, dword [esp + 8]
push edi
mov edi, edi
movzx eax, word [ecx + 0x851c]
movsx edi, byte [esi]
xor edi, eax
and edi, 0xff
shr ax, 8
xor ax, word [ecx + edi*2 + 8]
dec edx
inc esi
mov word [ecx + 0x851c], ax
test edx, edx
ja 0x4168a0
pop edi
pop esi
ret 8
mov ax, word [ecx + 0x851c]
ret 8

Function at 0x41dae0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
jbe 0x41db14
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
movzx ebx, byte [esi]
mov edi, eax
shr edi, 8
xor edi, ebx
and edi, 0xff
shl eax, 8
xor eax, dword [ecx + edi*4 + 0x1a90]
dec edx
inc esi
test edx, edx
ja 0x41daf1
pop edi
pop esi
pop ebx
movzx eax, ax
ret 8
Function at 0x42b910
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x7688], 0
jmp fcn.00443ed0
Function at 0x4342d0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x53b3f8], 2
push esi
push edi
mov edi, eax
mov esi, ecx
jl 0x4342e4
call fcn.00433170
push 0xf0
push 0
push esi
call fcn.004e7df0
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 4], 0xbb67ae85
mov edx, dword [esi + 0xf4]
mov dword [edx + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x10], 0x510e527f
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], 0x1f83d9ab
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x435430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc29b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.004567c0
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 1
call fcn.0046a720
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x4360c0
mov ecx, edi
mov dword [esi + 4], eax
call fcn.004567e0
mov ecx, edi
call fcn.00456790
mov dword [esi + 0x10], ebx
mov dword [esp + 0x1c], 0xffffffff
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 0x435bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc30b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x519bc0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call fcn.004e6904
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x435c14
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x4354d0
push ecx
push 0x8a4
push eax
call fcn.004e9776
push edi
call fcn.004e6904
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.0046a940
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.00456780
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43a810
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], ecx
mov word [ecx + 0xa3f2], ax
mov byte [ecx + 0xa3e9], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
mov bl, 1
push 0
push 0
push edi
call fcn.004696c0
test eax, eax
je 0x43a89b
sub eax, edi
sar eax, 1
add eax, 2
mov ebp, eax
lea ecx, [ebp + ebp]
push ecx
call fcn.004e7f56
mov esi, eax
add esp, 4
test esi, esi
je 0x43a89b
push ebp
push esi
push edi
call fcn.004696c0
mov edi, eax
test edi, edi
je 0x43a89b
test bl, bl
jne 0x43a88e
mov ecx, dword [esp + 0x10]
push esi
cmp byte [esp + 0x1c], bl
je 0x43a889
call fcn.0043a700
push esi
call fcn.004e7061
add esp, 4
jmp 0x43a832
call fcn.0043a440
push esi
call fcn.004e7061
add esp, 4
xor bl, bl
jmp 0x43a832
cmp byte [esp + 0x18], 0
pop edi
pop esi
pop ebp
pop ebx
jne 0x43a8ae
mov ecx, dword [esp]
call fcn.004388a0
pop ecx
ret 0xc

Function at 0x43aac0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x43aaef
test cl, 7
je 0x43aaef
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x52c930]
dec esi
inc ecx
test esi, esi
ja 0x43aad2
cmp esi, 8
jb 0x43ab88
mov edi, esi
push ebx
shr edi, 3
push ebp
nop
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x52cd30]
mov dword [esp + 0x14], ecx
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x52c930]
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52d130]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x52d930]
mov ecx, eax
shr ecx, 0x10
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52dd30]
mov ecx, eax
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x52e130]
mov ecx, dword [esp + 0x14]
movzx edx, dl
xor ebx, dword [edx*4 + 0x52d530]
movzx eax, al
xor ebx, dword [eax*4 + 0x52e530]
sub esi, 8
add ecx, 8
sub edi, 1
mov eax, ebx
jne 0x43ab00
pop ebp
pop ebx
test esi, esi
jbe 0x43aba8
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x52c930]
dec esi
inc ecx
test esi, esi
ja 0x43ab90
pop edi
pop esi
ret 0xc