joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401768
Capabilities:
Encode data using xor

Disassembly:
push 0x404580
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx + 0xf], al
jbe 0x40176d
push ecx
pop esi
inc eax
sahf
jg 0x40178b
loopne 0x401802
add dword [eax + ecx*2], esi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
push eax
jb 0x401816
push 0x65
arpl word [ecx + esi], si
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
int3
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edi + 0x2d], ah
add byte [eax], al
js 0x401825
push cs
add byte [eax], al
add byte [0x726f4600], al
insd dword es:[edi], dx
xor dword [eax], eax
or eax, 0xffffff03
add byte [ecx], bl
add dword [eax], eax
inc edx
add byte [ebx], ah
push cs
add byte [eax], al
insb byte es:[edi], dx
je 0x401835
invalid
add byte [esi], dh
push cs
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add al, byte [eax]
and byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
test al, 8
add byte [eax], al
add byte es:[eax], al
add byte [eax], dl
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 5], ch
add byte [eax], al
into
or byte [eax], al
add byte [eax], ch
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
or byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [ebp + 0x7f], dl
inc dword [eax]
push ebp
pop edi
stosb byte es:[edi], al
add byte [ebp + 0x5f], dl
sub al, byte [eax]
push ebp
lahf
add byte [eax], al
stosb byte es:[edi], al
lahf
add byte [eax], al
add byte [edi - 0x40aaffab], bh
stosb byte es:[edi], al
add byte [edx + 0x55002a3f], ch
mov edi, 0x9f000055
add al, byte [eax]
add byte [edi + 0x7f0000ff], bh
inc dword [eax]
call [edi + 0x3f000000]
inc dword [eax]
invalid
Function at 0x10005480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
enter 0xfffffffffffffffa, 0xffffffffffffffff
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x100054b1
cmp dword [ebp - 0x398], 0
je 0x1000567b
cmp dword [ebp + 0xc], 1
je 0x1000567b
cmp dword [ebp + 0xc], 8
jne 0x10005643
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
invalid
invalid

Function at 0x10006960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lds esp, [esp + edx*2]
call fcn.100047bd
mov eax, 0x6421cd6e
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x10006981
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.100047bd
xor eax, 0x8b928b75
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.100047bd
jb 0x100069f8
or byte [eax - 0x18], dl
xor ebx, esi
invalid
int1
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
arpl word ds:[ebx + 0x6d], si
loopne 0x10006a73
je 0x10006983
jle 0x10006a12
add esi, dword [ebp + 0x6e]
cmp dword [esi + 0x14], 0x19930520
je 0x10006a20
cmp dword [esi + 0x14], 0x19930521
je 0x10006a20
add eax, 0x9741993
cmp dword [esi + 0x14], 0x19930522
jne 0x10006a73
cmp dword [esi + 0x1c], 0
jne 0x10006a39
call fcn.100077b3
cmp dword [eax + 0x10], 0
je 0x10006a73
call fcn.100077b3
mov esi, dword [eax + 0x10]
or ebx, 0x80000000
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0xc]
mov edi, dword [eax]
lea ebx, [eax + 4]
jmp 0x10006a6f
push dword [esi + 0x1c]
mov eax, dword [ebx]
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
call sym.VCRUNTIME140.dll___TypeMatch
add esp, 0xc
test eax, eax
jne 0x10006a7a
dec edi
add ebx, 4
test edi, edi
jg 0x10006a52
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
call fcn.100077b3
inc dword [eax + 0x18]
cmp dword [ebp + 0x14], 0
je 0x10006adf
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
push esi
call sym.VCRUNTIME140.dll___BuildCatchObject
add esp, 0x10
jmp 0x10006adf
xor eax, eax
inc eax
jmp 0x10006a75
Function at 0x402a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x48], 1
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x6e0032
push 1
push 0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CPen::CPen
lea edx, [esp + 0xc]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CBrush::CBrush
lea ecx, [esp + 4]
mov byte [esp + 0x40], 3
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
push 1
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 5]
lea ecx, [edx + 0xa]
mov edx, dword [esp + 0x50]
mov esi, dword [edx - 8]
push esi
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
lea ecx, [esp + 0x34]
call dword [eax + 0x64]
mov dword [esp + 4], 0x4045b0
lea ecx, [esp + 4]
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x40459c
mov dword [esp + 0xc], 0x4045b0
mov dword [esp + 4], esi
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], esi
mov byte [esp + 0x40], 0
call fcn.00402ec2
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.00402e6e
mov ecx, dword [esp + 0x38]
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100075ff
pop dword [ebp - 0x28]
mov eax, 0x8283fc7
add eax, 0x7d83638
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x63f78e82
add dword [ebp - 0x38], 0xea5ab6c9
mov dword [ebp - 0x34], 0xfca6ad74
add dword [ebp - 0x34], 0x358c9ed1
mov dword [ebp - 0x30], 0x9ac78525
sub dword [ebp - 0x30], 0x4e7b40f7
mov dword [ebp - 0x2c], 0x29aa3da1
sub dword [ebp - 0x2c], 0x29aa3da1
lea eax, [ebp - 0x38]
push eax
mov eax, 0x2e0418d5
add eax, 0xe1fd973b
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x9dc18d50
sub dword [ebp - 0x38], 0x294f23fa
mov dword [ebp - 0x34], 0x234b7ffc
sub dword [ebp - 0x34], 0xe1df1e87
mov dword [ebp - 0x30], 0x63a38d2
add dword [ebp - 0x30], 0x5d35339a
mov dword [ebp - 0x2c], 0x8a31884b
add dword [ebp - 0x2c], 0x75ce77b5
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x6e83daaa
sub eax, 0x5e822a96
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3c75b
push 0
call eax
mov ecx, 0x40e7
xor edx, edx
add edx, eax
mov esi, 0x1002b000
add esi, dword [ebp - 0x28]
mov ebx, 0x192d714f
sub ebx, 0x1e8db9d7
sub dword [ebp - 0x18], ebx
mov edi, dword [esi]
xor dword [ebp - 0x18], eax
xor edi, ebx
add dword [ebp - 4], 0xfe9f22d5
mov dword [edx], edi
xor dword [ebp - 8], 0x97f778ce
add edx, 4
add esi, 0xa17fc7e7
add esi, 0x5e80381d
loop 0x10007717
add eax, 0xf66f
xor ebx, ebx
add ebx, eax
add eax, 0x40fe0ec
sub eax, 0x40fe0e7
mov ecx, 0x9752e766
sub ecx, 0x8752e766
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x5fae231d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0xe1f7335
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x403360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403393
call fcn.00403340
test eax, eax
je 0x403393
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 0x19
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x403400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403434
call fcn.00403340
cmp eax, 7
jb 0x403434
mov edx, 7
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403440
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x403473
call fcn.00403340
test eax, eax
je 0x403473
mov edx, 1
lea ecx, [ebp - 0x10]
call fcn.00403320
mov eax, dword [ebp - 8]
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret
xor eax, eax
shr eax, 9
and eax, 1
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x893074]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4035b9
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035b9
push 0xc00
call eax
test eax, eax
jne 0x40364e
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x40364e
cmp ecx, 0x104
ja 0x40364e
cmp word [ebp + ecx*2 - 0x2d6], 0x5c
je 0x4035f2
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x2d4], ax
inc ecx
mov al, byte [str.userenv]
push esi
mov esi, str.userenv
test al, al
je 0x40364d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + ecx*2]
mov ecx, edi
inc esi
movzx eax, al
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [esi]
inc esi
test al, al
jne 0x403615
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
mov al, byte [esi]
test al, al
jne 0x403612
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447ff5
mov esp, ebp
pop ebp
ret
Function at 0x408b30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.00449750
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [eax + ecx]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x408bc7
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0x459570]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x408c10
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x408bf4
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x408bf0
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x408c60
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x408c50
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x409c30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x409c7b
cmp edx, 0x40
je 0x409c67
mov eax, 0x40
lea ecx, [esi + 0x40]
sub eax, edx
add ecx, edx
push eax
push 0
push ecx
call fcn.00449750
add esp, 0xc
mov eax, dword [esi]
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov edx, edi
push 1
mov ecx, ebx
call eax
xor edx, edx
jmp 0x409c81
lea edi, [esi + 0x40]
lea ebx, [esi + 0x20]
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00449750
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, edi
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
mov ecx, ebx
push 1
call eax
mov edi, dword [ebp + 0xc]
mov edx, ebx
mov ebx, 4
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x409cc4
pop edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
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 ebx
pop ebp
ret 8

Function at 0x409d30
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [0x89304c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
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
pop ebp
ret 4

Function at 0x40a4e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.0044c0a7
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x40a50d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40da80
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push 0x2002
call fcn.00411390
test al, al
jne 0x40dab3
lea ecx, [ebp - 4]
xor bl, bl
call fcn.004113c0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40db03
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.004491d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40db03
pop edi
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov bl, 1
call fcn.004113c0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
lea ecx, [ebp - 4]
xor bl, bl
call fcn.004113c0
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40db20
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45519d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x893074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp + 0xb], al
test al, al
je 0x40dc05
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40dc02
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
lea eax, [eax*2 + 2]
push eax
push dword [esi]
push 0xd
call fcn.0040da80
push 0
mov bl, al
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0040cb80
mov ecx, dword [ebp - 0x14]
inc ecx
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x18]
push 1
call fcn.0040da80
mov edi, 1
movzx ebx, bl
push edi
test al, al
lea eax, [ebp - 0x24]
push esi
push eax
cmovne ebx, edi
call fcn.0040cb80
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040b060
push dword [ebp - 0x24]
call fcn.0044823c
mov eax, dword [ebp - 0x14]
add esp, 4
inc eax
push eax
push dword [ebp - 0x18]
push 7
call fcn.0040da80
push dword [ebp - 0x18]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.0044823c
add esp, 4
jmp 0x40dc0b
mov al, byte [ebp + 0xb]
xor bl, bl
test al, al
je 0x40dc11
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ecb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x896c98], 0
jne 0x40ece8
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040c750
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0044823c
add esp, 4
test esi, esi
pop esi
jmp 0x40ecf5
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40ecff
mov al, 1
mov esp, ebp
pop ebp
ret 4
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x40ed10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040feb0
cmp eax, 0xffffffff
je 0x40ed3d
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x40ed3d
and eax, 0xfffffffe
push eax
push esi
call fcn.0040f1d0
test al, al
je 0x40ed7c
cmp byte [0x896c98], 0
push esi
jne 0x40ed69
lea eax, [ebp - 0xc]
push eax
call fcn.0040c750
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0044823c
add esp, 4
test esi, esi
jmp 0x40ed71
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40ed7c
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40ed90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45533b
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x893074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0x896c98], cl
jne 0x40ee3c
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], cl
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x40ef18
cmp eax, 0x114
jae 0x40ef18
lea eax, [ebp - 0x128]
mov byte [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x36c]
push eax
call fcn.0040c720
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040b130
push dword [ebp - 0x36c]
call fcn.0044823c
add esp, 4
mov al, 1
jmp 0x40ef1a
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
je 0x40ef18
cmp esi, 0x114
jae 0x40ee87
xor eax, eax
mov ecx, edi
mov word [ebp - 0x12c], ax
lea eax, [ebp - 0x354]
push eax
call fcn.0040b2b0
mov al, 1
jmp 0x40ef1a
lea ecx, [ebp - 0x360]
call fcn.0040b030
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x358]
jbe 0x40eead
push esi
lea ecx, [ebp - 0x360]
call fcn.0040beb0
push dword [ebp - 0x360]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test edx, edx
je 0x40ef0a
mov ecx, dword [ebp - 0x360]
xor eax, eax
mov word [ecx + esi*2], ax
cmp word [ecx], ax
je 0x40eed9
inc eax
cmp word [ecx + eax*2], 0
jne 0x40eed1
mov dword [ebp - 0x35c], eax
cmp eax, edx
jne 0x40ef0a
lea eax, [esi - 1]
cmp eax, edx
jne 0x40ef0a
lea eax, [ebp - 0x360]
mov ecx, edi
push eax
call fcn.0040b130
push dword [ebp - 0x360]
call fcn.0044823c
add esp, 4
mov al, 1
jmp 0x40ef1a
push dword [ebp - 0x360]
call fcn.0044823c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00447ff5
mov esp, ebp
pop ebp
ret 4

Function at 0x40f050
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4551cd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x893074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x896c98], 0
push dword [ebp + 0xc]
jne 0x40f0c3
lea eax, [ebp - 0x24]
push eax
call fcn.0040c750
mov esi, eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.0040c750
push dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044823c
push dword [ebp - 0x24]
call fcn.0044823c
add esp, 8
test esi, esi
jmp 0x40f0ce
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x40f0e4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8