joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x403f59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x403f68
pop dword [ebp - 0x40]
mov eax, 0x403f68
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xc5a79e8a
sub dword [ebp - 0x50], 0x7755593f
mov dword [ebp - 0x4c], 0xdfc8fb00
add dword [ebp - 0x4c], 0x526a5145
mov dword [ebp - 0x48], 0xf01e38ed
sub dword [ebp - 0x48], 0xa3d1f4bf
mov dword [ebp - 0x44], 0x2d22bb12
add dword [ebp - 0x44], 0xd2dd44ee
lea eax, [ebp - 0x50]
push eax
mov eax, 0xa23633a4
sub eax, 0xa1f56350
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x6f91ecf1
add dword [ebp - 0x50], 0x4e07c65
mov dword [ebp - 0x4c], 0x8e055ed7
add dword [ebp - 0x4c], 0xb367029e
mov dword [ebp - 0x48], 0xeb850ea7
sub dword [ebp - 0x48], 0x8815a23b
mov dword [ebp - 0x44], 0xc2f3e084
sub dword [ebp - 0x44], 0xc2f3e084
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x58c84da6
add eax, 0xa77882a6
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3bc64
push 0
call eax
mov ecx, 0xa381c6cc
add ecx, 0x5c7e89eb
xor ebx, ebx
add ebx, eax
mov edx, 0x4a9a096f
add edx, 0xb5a7a691
add edx, dword [ebp - 0x40]
mov edi, 0xdacb1361
sub edi, 0x2c25298e
add dword [ebp - 0xc], 0xe836282b
mov esi, dword [edx]
xor dword [ebp - 0x38], 0x7cd6a8ee
sub esi, edi
xor dword [ebp - 0x20], 0x786ac087
mov dword [ebx], esi
mov dword [ebp - 0x20], 0x59e77502
add ebx, 0xe107e7b2
sub ebx, 0xe107e7ae
add edx, 4
loop 0x404087
add eax, 0x135af
xor ebx, ebx
add ebx, eax
add eax, 0xe30ec5bc
sub eax, 0xe30ec5b7
mov ecx, 0xa7ce38cf
sub ecx, 0xa78e38cf
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x41f12c
push 0x14
push 0x45da08
call fcn.0041f150
push 1
call fcn.0041ed17
pop ecx
test al, al
jne 0x41efe3
push 7
call fcn.0041f42e
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041ece2
mov byte [ebp - 0x24], al
mov eax, dword [0x464abc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41efdc
test eax, eax
jne 0x41f04d
mov dword [0x464abc], ecx
push 0x453384
push 0x45336c
call fcn.00423c31
pop ecx
pop ecx
test eax, eax
je 0x41f030
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41f126
push 0x453368
push 0x453314
call fcn.00423bd5
pop ecx
pop ecx
mov dword [0x464abc], 2
jmp 0x41f052
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041ee71
pop ecx
call fcn.0041f6d8
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41f082
push esi
call fcn.0041ede7
pop ecx
test al, al
je 0x41f082
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0041f13b
call esi
call fcn.0041f6de
mov esi, eax
cmp dword [esi], edi
je 0x41f0a0
push esi
call fcn.0041ede7
pop ecx
test al, al
je 0x41f0a0
push dword [esi]
call fcn.00423094
pop ecx
call fcn.0041f549
movzx eax, ax
push eax
call fcn.00423b82
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00422fa3
test al, al
jne 0x41f0cb
push esi
call fcn.004230cc
test bl, bl
jne 0x41f0d4
call fcn.0042306f
push edi
push 1
call fcn.0041ee8e
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41f126
call fcn.0041f196
ret
call fcn.0041f5d4
jmp 0x41efc4

Function at 0x40540d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f413
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x463008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0041e8cf
push dword [esi + 0xc0]
call fcn.0041e8cf
push dword [esi + 0x9c]
call fcn.0041e8cf
push dword [esi + 0x90]
call fcn.0041e8cf
push dword [esi + 0x30]
call fcn.0041e8cf
push dword [esi + 0x24]
call fcn.0041e8cf
push dword [esi + 0x18]
call fcn.0041e8cf
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 [0x463008]
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.00421310
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.0044e445
push dword [edi]
mov dword [esp + 0x14], ebp
call fcn.0041e9d7
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.0041e8be
add esp, 0x210
ret
Function at 0x42dae1
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 0x42db12
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jb 0x42db05
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 0x42db7b
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 0x42dbc8
cmp ebx, 4
jne 0x42dbcc
cmp edi, 6
jbe 0x42dbcc
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 0x42db22
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x42e9d8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jae 0x42e9ec
xor eax, eax
jmp 0x42ea09
call fcn.0042ea81
push 7
pop edx
cmp eax, edx
jb 0x42e9e8
lea ecx, [ebp - 0x10]
call fcn.0042ea69
mov eax, dword [ebp - 0xc]
shr eax, 0x1d
and eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x42ea19
Capabilities:
Check os version

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x463008]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x42eb60
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 0x42eb60
push 0xc00
call eax
test eax, eax
jne 0x42ebfb
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42ebfb
cmp eax, 0x104
ja 0x42ebfb
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x42eb97
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x42ebfa
push ebx
push edi
lea edi, [ebp - 0x2d4]
push 0x6c
lea edi, [edi + eax*2]
pop ebx
mov ecx, edi
jmp 0x42ebc1
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x42ebb8
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 0x42ebb4
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8be
mov esp, ebp
pop ebp
ret
Function at 0x432be3
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 0x432c87
lea edi, [esi + 0xc8]
cmp dword [edi + 8], ebp
je 0x432c68
mov ecx, edi
call fcn.004329bc
add edi, 0x28
sub ebx, 1
jne 0x432c5c
cmp dword [esi + 0x5c], ebp
je 0x432c82
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.00432a19
mov edi, eax
test edi, edi
jne 0x432d04
lea ecx, [ebx + 0x20]
call fcn.004349bb
mov edi, eax
test edi, edi
jne 0x432d04
lea ecx, [ebx + 0x1c]
call fcn.004349bb
mov edi, eax
test edi, edi
jne 0x432d04
push ebx
call fcn.00431d46
mov edi, eax
test edi, edi
je 0x432d04
mov ecx, esi
mov dword [esi + 0x44], ebp
call fcn.0043296b
movzx eax, di
or eax, 0x80070000
test edi, edi
cmovle eax, edi
test eax, eax
je 0x432d18
mov dword [esi + 0x40], eax
cmp dword [esi + 0x38], ebp
jne 0x432d2a
cmp dword [esi + 0x40], ebp
jne 0x432d2a
cmp dword [esi + 0x3c], ebp
jne 0x432d2a
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 0x432df3
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 0x432e1e
mov ecx, edi
call fcn.00432f85
mov ecx, edi
pop edi
pop esi
jmp fcn.004331a3
Function at 0x432e27
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 0x432e61
mov ecx, ebx
call fcn.00432f85
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.00432ecd

Function at 0x432ecd
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 0x432eee
cmp edx, dword [ecx + 0x40]
jbe 0x432eee
mov dword [ecx], edx
mov dword [ecx + 4], edx
ret
jmp fcn.004331a3
Function at 0x434112
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 0x434153
push 0x40
pop ecx
cmp esi, ecx
je 0x434147
sub ecx, esi
lea eax, [edi + 0x40]
push ecx
add eax, esi
push 0
push eax
call fcn.00421310
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.00421310
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 0x43418c
mov ecx, edi
pop edi
pop esi
pop ebp
pop ebx
jmp 0x434540

Function at 0x434534
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [0x463780]
mov dword [ecx], eax
jmp 0x434540
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 0x434a07
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.00422884
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x434a31
call fcn.004349aa
mov edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x436539
Capabilities:
Open clipboard

Disassembly:
push 0x1c
mov eax, 0x44f9b2
call fcn.0042a218
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 0x4365f7
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x4365f7
mov eax, dword [esi + 4]
mov edx, dword [esi]
lea eax, [eax*2 + 2]
push eax
push 0xd
pop ecx
call fcn.00436609
push 0
mov edx, esi
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00435f29
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.00436609
push 1
pop edi
test al, al
movzx ebx, bl
push edi
mov edx, esi
lea ecx, [ebp - 0x28]
cmovne ebx, edi
call fcn.00435f29
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004356e1
push dword [ebp - 0x28]
call fcn.0041e8cf
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
inc eax
pop ecx
push eax
push 7
pop ecx
call fcn.00436609
push dword [ebp - 0x1c]
test al, al
movzx ebx, bl
cmovne ebx, edi
call fcn.0041e8cf
pop ecx
jmp 0x4365f9
xor bl, bl
lea ecx, [ebp - 0xd]
call fcn.00436672
mov al, bl
call fcn.0042a1f2
ret
Function at 0x436609
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.00438ed7
test al, al
je 0x43665f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43665f
push dword [ebp + 8]
push esi
push eax
call fcn.0042bf10
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 0x43665f
mov dword [ebp - 4], ebx
mov bl, 1
lea ecx, [ebp - 4]
call fcn.00438eba
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x437178
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x344
lea ebp, [esp - 4]
mov eax, dword [0x463008]
xor eax, ebp
mov dword [ebp + 0x344], eax
push 0x10
mov eax, 0x44fada
call fcn.0042a218
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 [0x4651b1], cl
jne 0x43720b
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x22c], bl
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x437204
cmp eax, edi
jae 0x437204
lea edx, [ebp + 0x22c]
mov byte [ebp + 0x340], bl
lea ecx, [ebp - 0x1c]
call fcn.00434eab
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00435c28
push dword [ebp - 0x1c]
call fcn.0041e8cf
mov al, 1
jmp 0x4372a5
xor al, al
jmp 0x4372a6
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 0x437204
cmp esi, edi
jae 0x43723f
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov word [ebp + 0x228], ax
lea eax, [ebp]
push eax
call fcn.00435b93
mov al, 1
jmp 0x4372a6
lea ecx, [ebp - 0x1c]
call fcn.00435b6f
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x14]
jbe 0x43725c
push esi
lea ecx, [ebp - 0x1c]
call fcn.00435615
mov edi, dword [ebp - 0x1c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x43729d
xor eax, eax
mov word [edi + esi*2], ax
mov eax, ebx
cmp word [edi], bx
je 0x437281
inc eax
cmp word [edi + eax*2], bx
jne 0x43727a
mov dword [ebp - 0x18], eax
cmp eax, ecx
jne 0x43729d
lea eax, [esi - 1]
cmp eax, ecx
jne 0x43729d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.00435c28
mov bl, 1
push edi
call fcn.0041e8cf
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.0041e8be
lea esp, [ebp + 0x348]
pop ebp
ret
Function at 0x4372d4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
call fcn.004381a3
cmp eax, 0xffffffff
je 0x437301
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x437301
and eax, 0xfffffffe
mov ecx, esi
mov edx, eax
call fcn.00437633
test al, al
je 0x43733a
cmp byte [0x4651b1], 0
jne 0x43732f
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.00434eda
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041e8cf
pop ecx
test esi, esi
je 0x43733a
mov al, 1
jmp 0x43733c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jmp 0x437329
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437486
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x44fb35
call fcn.0042a218
mov edi, ecx
cmp byte [0x4651b1], 0
jne 0x4374c5
mov edx, edi
lea ecx, [ebp - 0x18]
call fcn.00434eda
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0041e8cf
pop ecx
test esi, esi
je 0x4374d3
mov al, 1
jmp 0x437519
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x4374bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4374e4
xor al, al
jmp 0x437519
lea ecx, [ebp - 0x50]
call fcn.00437d84
lea ecx, [ebp - 0x28]
call fcn.00435b6f
push ebx
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00437da5
test al, al
je 0x43750e
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.0041e8cf
pop ecx
mov al, bl
call fcn.0042a1f2
ret

Function at 0x43751f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4651b1], 0
jne 0x437557
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00434eda
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041e8cf
pop ecx
test esi, esi
pop esi
je 0x437564
mov al, 1
jmp 0x437566
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x437551
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4375d3
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4651b1], 0
jne 0x437609
mov edx, ecx
lea ecx, [ebp - 0xc]
push esi
call fcn.00434eda
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041e8cf
pop ecx
test esi, esi
pop esi
je 0x437614
mov al, 1
jmp 0x437616
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x437603
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x437633
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4651b1], 0
push esi
mov esi, edx
jne 0x43766b
mov edx, ecx
lea ecx, [ebp - 0xc]
call fcn.00434eda
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041e8cf
pop ecx
test esi, esi
je 0x437677
mov al, 1
jmp 0x437679
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jmp 0x437665
xor al, al
pop esi
mov esp, ebp
pop ebp
ret