joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43ea0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x43ea08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43ea08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x41a356
push 0x14
push 0x4588e8
call fcn.0041a370
push 1
call fcn.00419f41
pop ecx
test al, al
jne 0x41a20d
push 7
call fcn.0041a64e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00419f0c
mov byte [ebp - 0x24], al
mov eax, dword [0x45fabc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41a206
test eax, eax
jne 0x41a277
mov dword [0x45fabc], ecx
push 0x44e384
push 0x44e36c
call fcn.0041ee51
pop ecx
pop ecx
test eax, eax
je 0x41a25a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41a350
push 0x44e368
push 0x44e314
call fcn.0041edf5
pop ecx
pop ecx
mov dword [0x45fabc], 2
jmp 0x41a27c
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041a09b
pop ecx
call fcn.0041a8f8
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41a2ac
push esi
call fcn.0041a011
pop ecx
test al, al
je 0x41a2ac
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0041a365
call esi
call fcn.0041a8fe
mov esi, eax
cmp dword [esi], edi
je 0x41a2ca
push esi
call fcn.0041a011
pop ecx
test al, al
je 0x41a2ca
push dword [esi]
call fcn.0041e2b4
pop ecx
call fcn.0041a769
movzx eax, ax
push eax
call fcn.0041eda2
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041e1c3
test al, al
jne 0x41a2f5
push esi
call fcn.0041e2ec
test bl, bl
jne 0x41a2fe
call fcn.0041e28f
push edi
push 1
call fcn.0041a0b8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41a350
call fcn.0041a3b6
ret
call fcn.0041a7f4
jmp 0x41a1ee

Function at 0x40540d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a643
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45e008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.00419af9
push dword [esi + 0xc0]
call fcn.00419af9
push dword [esi + 0x9c]
call fcn.00419af9
push dword [esi + 0x90]
call fcn.00419af9
push dword [esi + 0x30]
call fcn.00419af9
push dword [esi + 0x24]
call fcn.00419af9
push dword [esi + 0x18]
call fcn.00419af9
add esp, 0x1c
and dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40548a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x40549e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4054b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x4054c5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405c98
Capabilities:
Hide graphical window

Disassembly:
push dword [esp + 4]
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
neg eax
sbb eax, eax
neg eax
ret 4
Function at 0x406933
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x45e008]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
push 0x208
xor ebp, ebp
lea eax, [esp + 0x18]
push ebp
push eax
mov edi, edx
mov ebx, ecx
call fcn.0041c530
add esp, 0xc
lea eax, [esp + 0x14]
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocStringLen
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4069c5
mov edx, edi
mov ecx, esi
call fcn.00449667
push dword [edi]
mov dword [esp + 0x14], ebp
call fcn.00419c01
pop ecx
push ebp
lea ecx, [esp + 0x14]
mov dword [ebx], eax
push ecx
push dword [edi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00419ae8
add esp, 0x210
ret
Function at 0x428d01
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
shr edi, 2
xor ebp, ebp
mov eax, edi
xor ebx, ebx
shr eax, 1
inc ebp
add eax, 3
mov ecx, ebx
mov dword [esi], eax
add esi, 0x10
test edi, edi
je 0x428d32
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x428d25
mov edx, dword [esi + edi*4 - 4]
imul eax, edi, 0xc
add eax, 0x70
add eax, esi
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x428d9b
movzx eax, dl
mov ebx, edi
push 0x1b
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
xor edx, ebp
add ebp, ebp
or edx, ecx
test ebp, 0x100
pop eax
cmovne ebp, eax
jmp 0x428de8
cmp ebx, 4
jne 0x428dec
cmp edi, 6
jbe 0x428dec
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx edx, byte [eax + str.cw]
or edx, ecx
mov eax, dword [esp + 0x14]
xor edx, dword [esi]
dec ebx
mov dword [esi + edi*4], edx
add esi, 4
cmp esi, eax
jne 0x428d42
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x429bf8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x429c0c
xor eax, eax
jmp 0x429c29
call fcn.00429ca1
push 7
pop edx
cmp eax, edx
jb 0x429c08
lea ecx, [ebp - 0x10]
call fcn.00429c89
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x429c39
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x429c4d
xor eax, eax
jmp 0x429c5c
lea ecx, [ebp - 0x10]
call fcn.00429c6c
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x429d37
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x45e008]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x429d80
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 0x429d80
push 0xc00
call eax
test eax, eax
jne 0x429e1b
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x429e1b
cmp eax, 0x104
ja 0x429e1b
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x429db7
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x429e1a
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov ecx, edi
jmp 0x429de1
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x429dd8
push 0x2e
pop eax
push 0x64
mov word [ecx], ax
pop eax
mov word [ecx + 2], ax
xor eax, eax
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov word [ecx + 4], bx
mov word [ecx + 6], bx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp byte [esi], 0
jne 0x429dd4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419ae8
mov esp, ebp
pop ebp
ret
Function at 0x42de03
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
xor ebp, ebp
xor eax, eax
push esi
mov esi, ecx
inc eax
push edi
push 0x20
pop ebx
or dword [esi + 0x90], 0xffffffff
or dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esi + 0x78], ebp
cmova eax, ebx
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x70], ebp
mov dword [esi + 0x88], ebp
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], ebp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x58], ebp
cmp eax, dword [esi + 0x20]
je 0x42dea7
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ebp
je 0x42de88
mov ecx, edi
call fcn.0042dbdc
add edi, 0x28
sub ebx, 1
jne 0x42de7c
cmp dword [esi + 0x5c], ebp
je 0x42dea2
mov eax, dword [esi + 0x14]
push dword [esi + 0x5c]
push eax
call dword [eax + 4]
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa0], ebp
mov dword [esi + 0xa4], ebp
mov dword [esi + 0xa8], ebp
mov dword [esi + 0xac], ebp
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
lea eax, [ecx + 5]
imul ebx, eax, 0x28
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
add ebx, esi
mov ecx, ebx
call fcn.0042dc39
mov edi, eax
test edi, edi
jne 0x42df24
lea ecx, [ebx + 0x20]
call fcn.0042fbdb
mov edi, eax
test edi, edi
jne 0x42df24
lea ecx, [ebx + 0x1c]
call fcn.0042fbdb
mov edi, eax
test edi, edi
jne 0x42df24
push ebx
call fcn.0042cf66
mov edi, eax
test edi, edi
je 0x42df24
mov ecx, esi
mov dword [esi + 0x44], ebp
call fcn.0042db8b
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x42df38
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], ebp
jne 0x42df4a
cmp dword [esi + 0x40], ebp
jne 0x42df4a
cmp dword [esi + 0x3c], ebp
jne 0x42df4a
mov dword [esi + 0x44], ebp
pop edi
xor ecx, ecx
cmp dword [esi + 0x44], ebp
pop esi
pop ebp
cmovne eax, ecx
pop ebx
ret

Function at 0x42e013
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, ecx
push 4
pop ecx
mov esi, dword [edi + 8]
mov eax, dword [edi + 0x24]
movzx edx, byte [esi + 1]
mov dword [edi + 0x20], eax
add edx, ecx
mov eax, dword [edi]
add word [eax + 2], cx
mov byte [esi + 1], dl
cmp edx, 0x7c
jbe 0x42e03e
mov ecx, edi
call fcn.0042e1a5
mov ecx, edi
pop edi
pop esi
jmp fcn.0042e3c3
Function at 0x42e047
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, dword [ebx]
movzx ecx, byte [edi + 1]
movzx edx, word [esi + 2]
lea eax, [ecx + ecx]
cmp edx, eax
sbb eax, eax
add ecx, 4
neg eax
add dword [ebx + 0x20], eax
mov dword [ebx + 0x14], eax
lea eax, [edx + 4]
mov word [esi + 2], ax
mov byte [edi + 1], cl
cmp ecx, 0x7c
jbe 0x42e081
mov ecx, ebx
call fcn.0042e1a5
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.0042e0ed

Function at 0x42e0ed
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 8]
movzx edx, word [eax + 4]
movzx eax, word [eax + 2]
shl edx, 0x10
or edx, eax
cmp dword [ecx + 0xc], 0
jne 0x42e10e
cmp edx, dword [ecx + 0x40]
jbe 0x42e10e
mov dword [ecx], edx
mov dword [ecx + 4], edx
ret
jmp fcn.0042e3c3
Function at 0x42f332
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0x38
pop ebp
mov esi, dword [edi + 8]
and esi, 0x3f
mov byte [esi + edi + 0x40], 0x80
inc esi
cmp esi, ebp
jbe 0x42f373
push 0x40
pop ecx
cmp esi, ecx
je 0x42f367
sub ecx, esi
lea eax, [edi + 0x40]
push ecx
add eax, esi
push 0
push eax
call fcn.0041c530
add esp, 0xc
push 1
lea edx, [edi + 0x40]
lea ecx, [edi + 0x20]
call dword [edi]
xor esi, esi
sub ebp, esi
lea eax, [edi + 0x40]
push ebp
add eax, esi
push 0
push eax
call fcn.0041c530
mov ecx, dword [edi + 8]
lea esi, [edi + 0x20]
mov eax, dword [edi + 0xc]
lea edx, [edi + 0x40]
shld eax, ecx, 3
add esp, 0xc
shl ecx, 3
bswap ecx
bswap eax
mov dword [edi + 0x7c], ecx
mov ecx, esi
push 1
mov dword [edi + 0x78], eax
call dword [edi]
push 4
pop edx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
lea esi, [esi + 8]
bswap eax
mov dword [ebx], eax
lea ebx, [ebx + 8]
bswap ecx
mov dword [ebx - 4], ecx
sub edx, 1
jne 0x42f3ac
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
jmp 0x42f760

Function at 0x42f754
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x45e780]
mov dword [ecx], eax
jmp 0x42f760
and dword [ecx + 8], 0
and 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
ret

Function at 0x42fc27
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.0041daa4
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x42fc51
call fcn.0042fbca
mov edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x431759
Capabilities:
Open clipboard

Disassembly:
push 0x1c
mov eax, 0x44abe2
call fcn.00425438
mov esi, edx
and dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
mov byte [ebp - 0xd], al
test al, al
je 0x431817
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x431817
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea eax, [eax*2 + 2]
push eax
push 0xd
pop ecx
call fcn.00431829
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00431149
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc ecx
push ecx
mov ecx, eax
call fcn.00431829
push 1
pop edi
test al, al
movzx ebx, bl
push edi
mov edx, esi
lea ecx, [ebp - 0x28]
cmovne ebx, edi
call fcn.00431149
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.00430901
push dword [ebp - 0x28]
call fcn.00419af9
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc eax
pop ecx
push eax
push 7
pop ecx
call fcn.00431829
push dword [ebp - 0x1c]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.00419af9
pop ecx
jmp 0x431819
xor bl, bl
lea ecx, [ebp - 0xd]
call fcn.00431892
mov al, bl
call fcn.00425412
ret
Function at 0x431829
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
mov esi, edx
call fcn.004340f9
test al, al
je 0x43187f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43187f
push dword [ebp + 8]
push esi
push eax
call fcn.00427130
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x43187f
mov dword [ebp - 4], ebx
mov bl, 1
lea ecx, [ebp - 4]
call fcn.004340dc
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43239a
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x344
lea ebp, [esp - 4]
mov eax, dword [0x45e008]
xor eax, ebp
mov dword [ebp + 0x344], eax
push 0x10
mov eax, 0x44ad0a
call fcn.00425438
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 4], ebx
mov edi, 0x114
mov word [eax], cx
cmp byte [0x4601b1], cl
jne 0x43242d
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x22c], bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x432426
cmp eax, edi
jae 0x432426
lea edx, [ebp + 0x22c]
mov byte [ebp + 0x340], bl
lea ecx, [ebp - 0x1c]
call fcn.004300cb
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00430e48
push dword [ebp - 0x1c]
call fcn.00419af9
mov al, 1
jmp 0x4324c7
xor al, al
jmp 0x4324c8
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
je 0x432426
cmp esi, edi
jae 0x432461
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ebp + 0x228], ax
lea eax, [ebp]
push eax
call fcn.00430db3
mov al, 1
jmp 0x4324c8
lea ecx, [ebp - 0x1c]
call fcn.00430d8f
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x14]
jbe 0x43247e
push esi
lea ecx, [ebp - 0x1c]
call fcn.00430835
mov edi, dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x4324bf
xor eax, eax
mov word [edi + esi*2], ax
mov eax, ebx
cmp word [edi], bx
je 0x4324a3
inc eax
cmp word [edi + eax*2], bx
jne 0x43249c
mov dword [ebp - 0x18], eax
cmp eax, ecx
jne 0x4324bf
lea eax, [esi - 1]
cmp eax, ecx
jne 0x4324bf
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00430e48
mov bl, 1
push edi
call fcn.00419af9
mov al, bl
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x344]
xor ecx, ebp
call fcn.00419ae8
lea esp, [ebp + 0x348]
pop ebp
ret
Function at 0x4324f6
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.004333c5
cmp eax, 0xffffffff
je 0x432523
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x432523
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.00432855
test al, al
je 0x43255c
cmp byte [0x4601b1], 0
jne 0x432551
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.004300fa
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00419af9
pop ecx
test esi, esi
je 0x43255c
mov al, 1
jmp 0x43255e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x43254b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4326a8
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x44ad65
call fcn.00425438
mov edi, ecx
cmp byte [0x4601b1], 0
jne 0x4326e7
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.004300fa
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00419af9
pop ecx
test esi, esi
je 0x4326f5
mov al, 1
jmp 0x43273b
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x4326e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x432706
xor al, al
jmp 0x43273b
lea ecx, [ebp - 0x50]
call fcn.00432fa6
lea ecx, [ebp - 0x28]
call fcn.00430d8f
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00432fc7
test al, al
je 0x432730
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00419af9
pop ecx
mov al, bl
call fcn.00425412
ret

Function at 0x432741
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4601b1], 0
jne 0x432779
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.004300fa
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00419af9
pop ecx
test esi, esi
pop esi
je 0x432786
mov al, 1
jmp 0x432788
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x432773
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4327f5
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4601b1], 0
jne 0x43282b
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.004300fa
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00419af9
pop ecx
test esi, esi
pop esi
je 0x432836
mov al, 1
jmp 0x432838
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x432825
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x432855
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4601b1], 0
push esi
mov esi, edx
jne 0x43288d
mov edx, ecx
lea ecx, [ebp - 0xc]
call fcn.004300fa
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00419af9
pop ecx
test esi, esi
je 0x432899
mov al, 1
jmp 0x43289b
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jmp 0x432887
xor al, al
pop esi
mov esp, ebp
pop ebp
ret