joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x579328
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5f969c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x28]
push edi
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], edi
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push edi
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
cmp esi, edi
jge 0x401919
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc

Function at 0x403b90
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
push edi
mov edi, dword [esp + 0x18]
push 0
push edi
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403bbf
pop edi
mov eax, 0x80004005
pop esi
ret 0x10
mov eax, dword [edi]
add dword [esi + 0x18], eax
pop edi
adc dword [esi + 0x1c], 0
xor eax, eax
pop esi
ret 0x10

Function at 0x403df0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403e3a
push ebx
mov ebx, dword [esi + 0x14]
push edi
mov edi, dword [esi + 0x10]
mov esi, dword [edi]
push eax
add esi, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
push ebx
push edi
call edx
call fcn.00404140
pop edi
pop ebx
pop esi
ret 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403e48
mov ecx, dword [esp + 8]
mov dword [eax], ecx
xor eax, eax
pop esi
ret 0x10

Function at 0x403ed0
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
xor ecx, ecx
add eax, dword [esp + 0xc]
push 0
adc ecx, dword [esp + 0x14]
push 0
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x403eff
mov eax, 0x80004005
pop esi
ret 0xc
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
xor eax, eax
pop esi
ret 0xc
Function at 0x404000
Capabilities:
Get file attributes
Get file size

Disassembly:
push esi
push edi
mov esi, eax
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push 0
lea edx, [esi + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea edi, [esi + 0x14]
push edi
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
je 0x404029
pop edi
xor eax, eax
pop esi
ret 4
mov eax, dword [edi]
push ebx
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebp, 0xffffffff
push 0
cmp eax, ebp
mov eax, dword [edi]
push 0x8000020
je 0x404080
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x404069
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebp
mov eax, ebx
mov dword [esi + 8], ebx
cmp eax, ebp
je 0x4040a8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x18], eax
jmp 0x4040a8
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x4040a5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebp
mov dword [esi + 8], ebx
xor ecx, ecx
cmp dword [esi + 8], ebp
setne cl
mov ebp, ecx
test ebp, ebp
jne 0x4040ce
mov esi, dword [esi + 0x10]
mov ebx, dword [edi]
mov edi, dword [esi]
push ecx
add edi, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [edi]
push eax
push ebx
push esi
call edx
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
ret 4
Function at 0x408612
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x114
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x78]
push ebx
push esi
mov dword [ebp - 0xa8], eax
xor edx, edx
lea eax, [ebp - 0x9c]
mov ecx, 0x100
push edi
mov byte [eax], dl
inc edx
mov esi, ecx
inc eax
cmp dx, si
jl 0x408649
xor dl, dl
mov byte [ebp + 0x64], 0
mov byte [ebp + 0x65], 0
xor edi, edi
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
movzx esi, byte [eax]
movzx ecx, dl
mov edx, dword [ebp - 0xa4]
movzx edx, byte [ecx + edx]
add edx, edi
add edx, esi
and edx, 0x800000ff
jns 0x408690
dec edx
or edx, 0xffffff00
inc edx
movzx edi, dl
mov dl, byte [eax]
lea esi, [ebp + edi - 0x9c]
mov bl, byte [esi]
inc ecx
mov byte [eax], bl
mov byte [esi], dl
mov edx, ecx
and edx, reloc.WS2_32.dll_ntohs
jns 0x4086b2
dec edx
or edx, 0xfffffff0
inc edx
inc eax
dec dword [ebp - 0xa0]
jne 0x40866c
and dword [ebp - 0xa0], 0
cmp dword [ebp + 0x7c], 0
jle 0x408754
movzx esi, byte [ebp + 0x64]
movzx edi, byte [ebp + 0x65]
lea eax, [esi + 1]
and eax, 0x800000ff
jns 0x4086e5
dec eax
or eax, 0xffffff00
inc eax
movzx esi, al
lea eax, [ebp + esi - 0x9c]
movzx ecx, byte [eax]
add ecx, edi
and ecx, 0x800000ff
jns 0x408704
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [eax]
movzx edi, cl
lea ecx, [ebp + edi - 0x9c]
mov bl, byte [ecx]
mov byte [eax], bl
mov ebx, dword [ebp - 0xa8]
mov byte [ecx], dl
movzx ecx, byte [ecx]
movzx eax, byte [eax]
mov edx, dword [ebp - 0xa0]
add ecx, eax
add ebx, edx
and ecx, 0x800000ff
jns 0x40873c
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cl
mov al, byte [ebp + eax - 0x9c]
xor byte [ebx], al
inc edx
cmp edx, dword [ebp + 0x7c]
mov dword [ebp - 0xa0], edx
jl 0x4086d4
mov ecx, dword [ebp + 0x68]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053c85d
add ebp, 0x6c
leave
ret

Function at 0x408766
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x4d
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x26
mov byte [ebp - 0xa], 0x39
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0
call fcn.00403970
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.0053c85d
leave
ret
Function at 0x4092d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57b1b9
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5f969c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x14], ebx
push 0xffffffffffffffff
lea ecx, [esi + 4]
mov dword [esi], vtable.makerar::HtmlRarTextGenerator.0
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004033c0
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 1
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004033c0
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004033c0
mov cl, byte [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x14], 3
mov byte [esi + 0x58], cl
push edx
lea ecx, [esi + 0x5c]
call fcn.004099a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 0x18

Function at 0x40b0f0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x57914b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f969c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0050743e
push 4
mov dword [esp + 0x24], 0
call fcn.0053cf1e
mov edi, eax
add esp, 4
test edi, edi
je 0x40b172
call fcn.00507789
mov dword [edi], eax
call fcn.005075b7
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.005074db
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40b167
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00507503
jmp 0x40b174
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 + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x416c80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
lea edx, [esp + 0xc]
mov esi, eax
or ebx, 0xffffffff
call fcn.00416bf0
mov edx, dword [esp + 0x410]
test esi, esi
jbe 0x416cbc
test dl, 7
je 0x416cbc
movzx eax, byte [edx]
movzx ecx, bl
xor eax, ecx
shr ebx, 8
xor ebx, dword [esp + eax*4 + 0xc]
dec esi
inc edx
test esi, esi
ja 0x416ca2
cmp esi, 8
jb 0x416d2e
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
add edx, 8
movzx ecx, bl
mov eax, ebx
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
mov ecx, eax
movzx eax, cl
mov eax, dword [esp + eax*4 + 0xc]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
movzx ecx, al
shr eax, 8
xor eax, dword [esp + ecx*4 + 0xc]
sub edi, 1
mov ebx, eax
jne 0x416cc6
xor eax, eax
test esi, esi
jbe 0x416d49
movzx ecx, byte [eax + edx]
movzx edi, bl
xor ecx, edi
shr ebx, 8
xor ebx, dword [esp + ecx*4 + 0xc]
inc eax
cmp eax, esi
jb 0x416d34
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x400
ret

Function at 0x416d60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x400
xor edx, edx
mov eax, edx
shr eax, 1
test dl, 1
je 0x416d76
xor eax, 0xedb88320
test al, 1
je 0x416d83
shr eax, 1
xor eax, 0xedb88320
jmp 0x416d85
shr eax, 1
test al, 1
je 0x416d92
shr eax, 1
xor eax, 0xedb88320
jmp 0x416d94
shr eax, 1
test al, 1
je 0x416da1
shr eax, 1
xor eax, 0xedb88320
jmp 0x416da3
shr eax, 1
test al, 1
je 0x416db0
shr eax, 1
xor eax, 0xedb88320
jmp 0x416db2
shr eax, 1
test al, 1
je 0x416dbf
shr eax, 1
xor eax, 0xedb88320
jmp 0x416dc1
shr eax, 1
test al, 1
je 0x416dce
shr eax, 1
xor eax, 0xedb88320
jmp 0x416dd0
shr eax, 1
test al, 1
je 0x416ddd
shr eax, 1
xor eax, 0xedb88320
jmp 0x416ddf
shr eax, 1
mov dword [esp + edx*4], eax
inc edx
cmp edx, 0x100
jl 0x416d68
mov edx, dword [esp + 0x404]
or eax, 0xffffffff
test ecx, ecx
je 0x416e1c
push esi
push edi
nop
movzx edi, byte [edx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esp + esi*4 + 8]
dec ecx
inc edx
test ecx, ecx
jne 0x416e00
pop edi
pop esi
not eax
add esp, 0x400
ret
Function at 0x41dac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x3c], 0
je 0x41db0c
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41db18
mov al, 1
jmp 0x41dcdc
mov dword [ebp - 0x10], 8
call fcn.00416200
push eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00416200
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.004161c0
add esp, 8
movzx eax, al
test eax, eax
je 0x41db61
xor al, al
jmp 0x41dcdc
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004124d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040f440
mov ecx, eax
call fcn.00410be0
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004032f0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040f440
mov ecx, eax
call fcn.00410be0
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x9c]
mov ecx, dword [edx + 0x3c]
call fcn.0041ead0
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x41dbee
cmp dword [ebp - 0xa0], 1
je 0x41dbf8
cmp dword [ebp - 0xa0], 3
je 0x41dc98
jmp 0x41dcb0
mov eax, dword [ebp - 0x9c]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f440
mov ecx, eax
call fcn.00410be0
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x41dc5e
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040f440
mov ecx, eax
call fcn.00410be0
push eax
call fcn.0053ff5e
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x41dc5e
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov al, byte [ebp - 0x61]
jmp 0x41dcdc
mov ecx, dword [ebp - 0x9c]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x41dc84
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov al, byte [ebp - 0x62]
jmp 0x41dcdc
cmp dword [ebp - 0x38], 0
jne 0x41dc96
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00408c59
jmp 0x41dcc8
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov al, byte [ebp - 0x63]
jmp 0x41dcdc
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403230
mov al, byte [ebp - 0x64]
jmp 0x41dcdc
jmp 0x41db74
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret
Function at 0x42aaa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push edi
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
or eax, 0xffffffff
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov ecx, 0x17
mov dword [esi + 0xb0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
xor ebp, ebp
mov dword [esi + 0xb4], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], ecx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xec], 0x4b0
mov dword [esi + 0xc4], ebx
xor eax, eax
lea edi, [esi + 0xf4]
jmp 0x42abd0
mov ecx, dword [eax*4 + 0x5a7340]
mov edx, dword [ecx*4 + 0x5c8798]
shr edx, 9
test dl, 1
jne 0x42abec
mov dword [edi], eax
inc ebp
add edi, 4
inc eax
cmp eax, 0x43
jl 0x42abd0
push 0x10c
lea eax, [esi + 0x200]
push ebx
push eax
mov dword [esi + 0xf0], ebp
call fcn.0053c870
push 0x10c
lea ecx, [esi + 0x30c]
push ebx
push ecx
call fcn.0053c870
push 0x10c
lea edx, [esi + 0x418]
push ebx
push edx
call fcn.0053c870
add esp, 0x24
pop edi
pop ebp
mov dword [esi + 0x524], ebx
mov dword [esi + 0x528], ebx
mov dword [esi + 0x52c], ebx
mov dword [esi + 0x530], ebx
pop ebx
ret
Function at 0x4320f0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4320fb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.00432110
Function at 0x434660
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xf
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4346b4
mov ecx, dword [ebp - 4]
push ecx
push 0xf
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x500]
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x500]
mov eax, dword [ecx]
mov ecx, edx
mov edx, dword [eax + 0x38]
call edx
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x434760
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x440], ecx
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x440]
mov ecx, dword [ecx + 4]
add ecx, 0x42c
call fcn.00480ef0
test eax, eax
je 0x434897
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.0053c870
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x440]
mov ecx, dword [ecx + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call fcn.00492480
add esp, 0xc
test eax, eax
je 0x434897
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x20e], cx
push 0x1e
push 0
lea edx, [ebp - 0x438]
push edx
call fcn.0053c870
add esp, 0xc
mov dword [ebp - 0x434], 2
lea eax, [ebp - 0x418]
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x42c], ecx
mov edx, dword [ebp - 0x440]
mov ecx, dword [edx + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x434897
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [ebp - 0x210]
push ecx
call fcn.0049c1a0
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4357a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ad52
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x22c], ecx
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.0049dd30
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43589e
lea ecx, [ebp - 0x220]
call fcn.00438030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.00438030
mov byte [ebp - 4], 1
push 0xef
lea ecx, [ebp - 0x220]
call fcn.0041a8c0
push 0xee
lea ecx, [ebp - 0x224]
call fcn.0041a8c0
push 0x40
lea ecx, [ebp - 0x224]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x220]
call fcn.004dfdf0
push eax
mov edx, dword [ebp - 0x22c]
mov ecx, dword [edx + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.0044fc20
mov eax, dword [ebp - 0x228]
jmp 0x4358af
lea eax, [ebp - 0x21c]
push eax
call fcn.004ceca0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4358d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ad8a
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
lea ecx, [ebp - 0x14]
call fcn.00438030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00438030
mov byte [ebp - 4], 1
push 0xed
lea ecx, [ebp - 0x18]
call fcn.0041a8c0
push 0xec
lea ecx, [ebp - 0x14]
call fcn.0041a8c0
push 0x44
lea ecx, [ebp - 0x18]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x14]
call fcn.004dfdf0
push eax
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax + 4]
call dword [sym.imp.DuiLib.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 6
jne 0x435993
push 0x104
lea ecx, [ebp - 0x22c]
push ecx
call fcn.0049dd30
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x435993
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0044fc20
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 0x10