joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004c080
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x1006e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.1004bf20
cmp byte [ebp - 0x84], 0
jne 0x1004c1d1
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x1004c115
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x1006e6e0
call fcn.1004bf20
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.1004bf20
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x1004c184
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.1004bfd0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1004c213
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004c209
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004c209
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1004cb36
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004c2e9
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..pdata
mov ebx, 0x408f6c
nop
mov ecx, 0x7f31350c
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x2b33577
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x414df2
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], esi
add edi, 4
cmp edi, eax
jne fcn.00414df2
ret
Function at 0x41083a
Capabilities:
Parse pe header

Disassembly:
push 0x70
push 0x4113f0
call 0x493b0848
xor edi, edi
push edi
call dword [0x4110a8]
cmp word [eax], 0x5a4d
jne 0x410875
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x410875
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x41088d
cmp eax, 0x20b
je 0x41087a
mov dword [ebp - 0x1c], edi
jmp 0x4108a1
cmp dword [ecx + 0x84], 0xe
jbe 0x410875
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x41089b
cmp dword [ecx + 0x74], 0xe
jbe 0x410875
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [0x411320]
pop ecx
or dword [0x418fb0], 0xffffffff
or dword [0x418fb4], 0xffffffff
call dword [0x4112e4]
mov ecx, dword [0x4153fc]
mov dword [eax], ecx
call dword [0x4112a8]
mov ecx, dword [0x4153f8]
mov dword [eax], ecx
mov eax, dword [0x4112ac]
mov eax, dword [eax]
mov dword [0x418fac], eax
call 0x453b08ec
cmp dword [section..data], edi
jne 0x4108fe
push 0x410a48
call dword [0x4112b0]
pop ecx
call 0x333b0905
push 0x4113c0
push 0x4113bc
call 0x2d3b0914
mov eax, dword [0x4153f4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x4153f0]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0x4112b8]
mov dword [ebp - 0x30], eax
push 0x4113b8
push 0x4113a0
call 0x2d3b094a
add esp, 0x24
mov eax, dword [0x4112bc]
mov esi, dword [eax]
cmp esi, edi
jne 0x410964
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x1b3b0966
mov dword [ebp - 0x34], esi
cmp word [esi], 0x22
jne 0x4109b2
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x410980
cmp ax, 0x22
jne 0x41096d
cmp word [esi], 0x22
jne 0x41098b
add esi, ebx
mov dword [ebp - 0x34], esi
mov ax, word [esi]
cmp ax, di
je 0x410999
cmp ax, 0x20
jbe 0x410986
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x78]
push eax
call dword [0x4110ac]
test byte [ebp - 0x4c], 1
je 0x4109bf
movzx eax, word [ebp - 0x48]
jmp 0x4109c2
cmp word [esi], 0x20
jbe 0x41098b
add esi, ebx
mov dword [ebp - 0x34], esi
jmp 0x4109b2
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [0x4110a8]
push eax
call 0xaed909d4
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], edi
jne 0x4109e3
push esi
call dword [0x4112c0]
call dword [0x4112c4]
jmp 0x410a18
or dword [ebp - 4], 0xffffffff
mov eax, esi
call 0x823b0a25
ret
Function at 0x401857
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x42719f
call fcn.004261b0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call fcn.00403205
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.004018b0
lea ecx, [esi + 0x30]
call fcn.00403205
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4052f9
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x405485
Capabilities:
Create directory

Disassembly:
mov eax, 0x427528
call fcn.004261b0
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4054a8
mov al, 1
jmp 0x4054ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4054b9
xor al, al
jmp 0x4054ee
lea ecx, [ebp - 0x44]
call fcn.004055e0
lea ecx, [ebp - 0x1c]
call fcn.00403205
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.0040582e
test al, al
je 0x4054e3
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403915
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40581f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40582d
or eax, eax
ret

Function at 0x405ed2
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push edi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405efc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405efc
xor al, al
jmp 0x405f1c
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004264c0
mov ecx, eax
xor eax, eax
add ecx, edi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop edi
leave
ret 4
Function at 0x40eda4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x427fbe
call fcn.004261b0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00403205
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040edfe
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40ee50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x428009
call fcn.004261b0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.004113be
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040eea6
push dword [esi + 0x24]
call fcn.00403915
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00419ed0
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040f408
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41f1f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
mov dword [esp], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f21c
cmp dword [esp + 4], 6
jne 0x41f21c
mov eax, dword [esp + 8]
test eax, eax
je 0x41f23e
push str.SetDefaultDllDirectories
push 0x42a894
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f23e
push 0xc00
call eax
add esp, 0x114
ret

Function at 0x41f250
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
push ebp
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41f27e
cmp dword [esp + 0xc], 6
jne 0x41f27e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41f2a8
push str.SetDefaultDllDirectories
push 0x42a894
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f2a8
push 0xc00
call eax
test eax, eax
jne 0x41f35e
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41f35e
cmp eax, 0x104
ja 0x41f35e
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x41f2f4
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.USERENV]
cmp byte [esi], 0
je 0x41f35e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, byte [esi]
xor cx, cx
inc esi
mov cl, al
test al, al
mov word [esp + ebp*2 + 0x124], cx
je 0x41f33a
lea ecx, [esp + ebp*2 + 0x126]
mov al, byte [esi]
xor dx, dx
mov dl, al
inc esi
mov word [ecx], dx
add ecx, 2
test al, al
jne 0x41f328
lea eax, [esp + 0x124]
push str..dll
push eax
call edi
lea ecx, [esp + 0x124]
push 8
push 0
push ecx
call ebx
cmp byte [esi], 0
jne 0x41f30d
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret
Function at 0x422b62
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x422bcb
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x422c0c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x422bf1
mov ecx, ebx
call fcn.00422850
add ebx, 0x28
dec ebp
jne 0x422be5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x422c07
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00422780
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00422cb0
mov ebx, eax
cmp ebx, edi
jne 0x422c6f
lea ecx, [ebp + 0x20]
call fcn.00424e30
mov ebx, eax
cmp ebx, edi
jne 0x422c6f
lea ecx, [ebp + 0x1c]
call fcn.00424e30
mov ebx, eax
cmp ebx, edi
jne 0x422c6f
push ebp
call fcn.00422d00
mov ebx, eax
cmp ebx, edi
je 0x422c84
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.00422ce0
cmp ebx, edi
jle 0x422c7f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x422c84
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x422c96
cmp dword [esi + 0x40], edi
jne 0x422c96
cmp dword [esi + 0x3c], edi
jne 0x422c96
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x423d80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
push 0x98
xor ebx, ebx
lea eax, [esi + 0x110]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
lea edi, [ecx + eax]
mov dword [esi + 0x40], eax
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 3
imul edx, edx, 0x54
mov ecx, edi
sub ecx, edx
add esp, 0xc
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], eax
mov edx, eax
cmp eax, 0xc
jb 0x423ddb
mov edx, 0xc
or eax, 0xffffffff
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edi - 0xc]
lea edx, [ecx + 0x600]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov edx, pe_nt_image_headers32
mov word [eax], dx
mov edx, 0x101
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
xor edx, edx
lea eax, [ecx + 2]
lea esp, [esp]
xor ecx, ecx
mov byte [eax - 2], dl
mov byte [eax - 1], 1
mov word [eax], cx
mov word [eax + 2], cx
inc edx
add eax, 6
cmp edx, 0x100
jb 0x423e20
lea edx, [esi + 0x9fc]
mov dword [esp + 8], edx
push ebp
jmp 0x423e50
mov edi, dword [esp + 0xc]
xor ebp, ebp
jmp 0x423e60
movzx eax, word [ebp + 0x42c6a0]
xor edx, edx
lea ecx, [ebx + 2]
div ecx
mov edx, 0x4000
sub edx, eax
movzx ecx, dx
xor eax, eax
lea ebx, [ebx]
mov word [edi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x423e80
add ebp, 2
add edi, 2
cmp ebp, 0x10
jb 0x423e60
sub dword [esp + 0xc], 0xffffff80
inc ebx
cmp ebx, 0x80
jb 0x423e50
mov ecx, 0x50
lea edi, [esi + 0x3bc]
lea ebx, [ecx - 0x4c]
pop ebp
mov eax, edi
mov edx, 0x10
jmp 0x423ec0
mov word [eax], cx
mov word [eax + 2], 0x403
add eax, ebx
dec edx
jne 0x423ec0
add ecx, 0x28
add edi, 0x40
cmp ecx, 0x438
jb 0x423eb4
pop edi
mov dword [esi + 0x3b8], 0x40070000
pop ebx
pop ecx
ret
Function at 0x424df0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x424e18
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x424e27
mov eax, 1
ret 4

Function at 0x425a40
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x431218]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x426050
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
and eax, 0x3f
mov byte [eax + esi + 0x40], 0x80
inc eax
push edi
mov edi, edx
cmp eax, 0x38
jbe 0x426093
cmp eax, 0x40
je 0x426085
mov edx, 0x40
sub edx, eax
push edx
lea ecx, [eax + esi + 0x40]
push 0
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
xor eax, eax
mov ecx, 0x38
sub ecx, eax
push ecx
lea edx, [eax + esi + 0x40]
push 0
push edx
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
add eax, eax
bswap ecx
bswap eax
add esp, 0xc
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], eax
mov eax, dword [esi]
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
call eax
lea ecx, [esi + 0x20]
mov edx, 4
mov eax, dword [ecx + 4]
mov ebp, dword [ecx]
bswap ebp
bswap eax
mov dword [edi], ebp
mov dword [edi + 4], eax
add edi, 8
add ecx, 8
dec edx
jne 0x4260d8
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x42656c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca18
push 0x426566
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x43566c], 0xffffffff
or dword [0x435670], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x433638]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x433634]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x435668], eax
call fcn.004266af
cmp dword [0x431240], 0
jne 0x4265ef
push 0x4266ac
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0042669a
push 0x431060
push 0x43105c
call sub.MSVCRT.dll__initterm
mov eax, dword [0x433630]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x43362c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x431058
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00413ff3
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x10001b78
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x100605eb
call fcn.100600a0
sub esp, 0x18
cmp byte [ebp + 0x18], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
je 0x10001c50
mov dword [ebp - 0x18], 0x3e4f
cmp dword [ebp - 0x18], 0x411b
jle 0x10001c03
xor esi, esi
mov edi, esi
mov dword [ebp - 0x14], 0x9f5
xor ebx, ebx
lea eax, [edi + ebx]
mov ecx, 0x1007bb98
cdq
push edx
push eax
call fcn.100042e3
inc ebx
cmp ebx, 0x5656
jl 0x10001bbc
dec edi
dec dword [ebp - 0x14]
jne 0x10001bba
inc esi
cmp esi, 0x41db
jl 0x10001bb1
push 0x1a6e
push 0x80d
push 0
push 0x35a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x3a6d
jge 0x10001c41
mov edx, str.tsqc_cqd_llrruzqp_wnbk_lqgrdnp_ucwefjpop_yzuxwoe_xiwis_cbweaeyp
mov ecx, 0x1007bb98
call fcn.100067dc
jmp 0x10001c41
or dword [ebp - 4], 0xffffffff
mov ecx, edi
push dword [ebx]
call fcn.10004492
jmp 0x10001c82
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x14]
mov eax, dword [eax]
test eax, eax
mov eax, dword [ecx]
setne bl
mov eax, dword [eax + 8]
mov dword [edx], eax
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
add ecx, dword [eax + 4]
xor eax, eax
cmp ebx, ecx
mov ecx, dword [edx]
setne al
imul ecx, eax
mov eax, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001e8c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006062b
call fcn.100600a0
sub esp, 0x28
cmp byte [ebp + 0xc], 0
mov eax, ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x14], dl
mov dword [ebp - 0x18], eax
je 0x10001f9b
cmp byte [ebp + 0x10], 0
je 0x10001ecb
push 0
push 0
push 0x1428
call dword [sym.imp.USER32.dll_SetPropA]
jmp 0x10002047
mov dword [ebp - 0x1c], 0x59c1
cmp dword [ebp - 0x1c], 0x5c8e
jle 0x10001f39
call dword [sym.imp.USER32.dll_CreateMenu]
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp + 0xc], edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov edi, edx
xor esi, esi
mov eax, edi
mov ecx, 0x1007bb98
xor eax, esi
xor eax, ebx
cdq
push edx
push eax
call fcn.100042e3
inc esi
cmp esi, 0x4136
jl 0x10001ef6
inc ebx
cmp ebx, 0x6dca
jl 0x10001ef4
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp + 0xc], edi
cmp edi, 0x3c0c
jl 0x10001eeb
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x6d83
jl 0x10001ee6
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5801
jge 0x10001f55
mov edx, str.ugttugis_tgefulxhx_qftni_yszobi_nsuezaktu_oinjuoh_aqon_rjerw_znk_mddrzfqds_twoedhetw
mov ecx, 0x1007bb98
call fcn.100067dc
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 1
jge 0x10002047
mov esi, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 1
inc dword [edx]
cmp dword [edx], 1
jl 0x10001f6a
jmp 0x10002047
test dl, dl
je 0x10002029
mov dword [ebp - 0x1c], 0x6198
cmp dword [ebp - 0x1c], 0x63ae
jle 0x10002007
xor esi, esi
mov ebx, esi
mov dword [ebp + 0xc], 0x7b51
xor edi, edi
mov eax, ebx
lea ecx, [ebp - 0x34]
and eax, edi
cdq
push edx
push eax
call fcn.10001a85
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10001fd9
mov eax, dword [eax]
push eax
call fcn.10049603
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.100048ea
inc edi
cmp edi, 0x3385
jl 0x10001fc0
dec ebx
dec dword [ebp + 0xc]
jne 0x10001fbe
inc esi
cmp esi, 0x1a75
jl 0x10001fb5
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
je 0x10002013
mov dl, 1
call fcn.10001d34
cmp dword [ebp - 0x1c], 0x5df0
jge 0x10002047
push str.lrkhyzjrp_ihctixogx_akrqceco_jgi_vgdpadtq_plt_cho_mtwyn
call fcn.10049603
pop ecx
jmp 0x10002047
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x10002047
push 0x5fdb
push ecx
push ecx
push 0x53b1
mov cl, 1
call fcn.10001e46
add esp, 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret