joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dc30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.004196b4
add esp, 4
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [0x4d8074]
mov edi, eax
mov ecx, dword [0x4d8078]
mov dword [0x4dd4f4], 0
cmp esi, ecx
jae 0x40dc9a
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x40dc93
mov eax, dword [eax + 0x1c]
push 1
call eax
mov ecx, dword [0x4d8078]
add esi, 4
cmp esi, ecx
jb 0x40dc80
cmp dword [0x4dd4f8], 0
jne 0x40dca8
call fcn.0040deb0
mov ecx, dword [0x4dd4f8]
mov eax, dword [ecx]
call dword [eax + 0x90]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00462120
push 0x4afec4
lea eax, [ebp - 0x20c]
push 0x4b0260
push eax
call fcn.00408c70
add esp, 0x18
cmp dword [0x4dd4f8], 0
jne 0x40dcf0
call fcn.0040deb0
mov ecx, dword [0x4dd4f8]
lea eax, [ebp - 0x20c]
push 0
push 0
push 0
push 0
push 0
push 0x40100
push 0x10ce0000
push eax
push 0
call fcn.0041a02a
cmp dword [0x4dd4f8], 0
jne 0x40dd26
call fcn.0040deb0
mov ecx, dword [0x4dd4f8]
call fcn.00419ec5
cmp dword [0x4dd4f8], 0
jne 0x40dd3f
call fcn.0040deb0
mov ecx, dword [0x4dd4f8]
push 5
call fcn.0041558b
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x4dd4f8], 0
jne 0x40dd61
call fcn.0040deb0
mov ecx, dword [0x4dd4f8]
call fcn.0041558b
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.00417f68
call fcn.00419ac3
mov ecx, 0x4dd4c8
call fcn.0040f480
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413a09
mov esp, ebp
pop ebp
ret
Function at 0x40e780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab266
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40e82c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40e82c
call fcn.0040d890
mov esi, eax
jmp 0x40e91c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40e84f
call fcn.0040d890
jmp 0x40e90f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40e86d
call fcn.0040d890
jmp 0x40e90f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40e88e
mov esi, 0x8007000e
jmp 0x40e911
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040d670
jmp 0x40e8b8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x40e8cf
mov esi, 0x8007000e
jmp 0x40e911
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40e8ef
call fcn.0040d890
jmp 0x40e90f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040e620
mov esi, eax
test edi, edi
je 0x40e91c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40e940
lea ecx, [ebp - 0x418]
call fcn.0040ddf0
nop word [eax + eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413a09
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40f270
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x40f289
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f295
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x40f290
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40f2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x40f2e5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f2f0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x411de0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0x64
push 2
push esi
mov ecx, dword [esi + 0x528]
call fcn.00419938
lea eax, [esi + 0x688]
push eax
push 0
push esi
push 0x411620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x68c], eax
pop esi
ret

Function at 0x412760
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
push 0x208
push eax
mov word [ebp - 0xc], ax
mov edi, ecx
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x214]
push eax
call fcn.00462120
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4127a1
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jl 0x4127c4
push 3
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.00469590
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
shrd ecx, edx, 0x14
shr edx, 0x14
call fcn.00414540
cmp dword [edi + 0x558], 0
cvtsd2ss xmm0, xmm0
je 0x412864
cvttss2si eax, xmm0
cmp eax, 0x400
jle 0x41283d
mulss xmm0, dword [0x4b26e0]
lea eax, [ebp - 0x214]
sub esp, 8
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push 0x4b26c4
push eax
call fcn.00408c70
add esp, 0x10
jmp 0x412852
push eax
lea eax, [ebp - 0x214]
push str._dMB
push eax
call fcn.00408c70
add esp, 0xc
mov ecx, dword [edi + 0x558]
lea edx, [ebp - 0x214]
push edx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00413a09
mov esp, ebp
pop ebp
ret 4
Function at 0x413200
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab813
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xc8], ebx
mov ecx, dword [ebx + 0x538]
test ecx, ecx
je 0x413389
cmp dword [ebx + 0x544], 0
je 0x413389
call fcn.00422f88
test al, al
je 0x413389
mov ecx, dword [ebx + 0x544]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00415112
push eax
lea ecx, [ebp - 0x28]
call fcn.00404610
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0045676d
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4132a4
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jle 0x413360
push 3
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00408680
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
lea ecx, [ebp - 0x40]
sbb esi, esi
call fcn.0040bda0
and esi, 1
je 0x413360
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x413303
mov eax, dword [ecx]
push 1
call dword [eax + 0xec]
mov esi, dword [ebx + 0x524]
xor ecx, ecx
mov eax, dword [ebx + 0x528]
xor edi, edi
mov ebx, eax
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, eax
cmova ebx, ecx
test ebx, ebx
je 0x413347
mov edx, dword [esi]
test edx, edx
je 0x41333f
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x28]
push ecx
mov ecx, edx
call dword [eax + 4]
inc edi
add esi, 4
cmp edi, ebx
jne 0x413326
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc8]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00412760
jmp 0x413374
mov ecx, dword [ebx + 0x534]
test ecx, ecx
je 0x413374
mov eax, dword [ecx]
push 0
call dword [eax + 0xec]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x413389
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407fb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413a09
mov esp, ebp
pop ebp
ret

Function at 0x413510
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413587
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x413587
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413a09
mov esp, ebp
pop ebp
ret
Function at 0x416fda
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x416ffd
or esi, 1
push 1
call edi
test ax, ax
jns 0x417009
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x417015
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x417021
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret

Function at 0x4194d3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx + 4]
je 0x419506
cmp esi, dword [ebx + 0x60]
je 0x4195c8
cmp byte [ebx + 0xc4], 0
jne 0x419506
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x60]
je 0x4195c8
cmp dword [ebx + 0x60], 0
push edi
je 0x419559
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x60]
call fcn.0041928b
mov dword [ebx + 0x60], edi
test esi, esi
je 0x4195c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, ebx
jne 0x4195c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd8]
test al, al
je 0x4195c7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
test al, al
je 0x4195c7
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x60], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x60]
call fcn.0041928b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41a50a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41a53c
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x41fe3f
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4abf33
call fcn.0047f4f6
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.004201ce
call fcn.00416d8f
push eax
lea ecx, [ebp - 0x94]
call fcn.00414f02
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00416d95
mov ecx, eax
call fcn.004156d6
test al, al
je 0x41ff55
push ebx
lea ecx, [ebp - 0x94]
call fcn.00415132
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00415112
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x41fec6
push str.Error_opening_file
jmp 0x420036
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x41ffcf
cmp edi, 0x400000
ja 0x41ffe0
and dword [ebp - 0x2c8], 0
push edi
call fcn.004139fb
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x41ff3e
push ebx
call fcn.00413a04
pop ecx
mov ecx, esi
call fcn.004201ce
push 0
push str.Could_not_read_file
jmp 0x420036
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00420081
push dword [ebp - 0x2cc]
jmp 0x420064
call fcn.00416d95
push eax
lea ecx, [ebp - 0x94]
call fcn.00415115
call fcn.00416ec1
test al, al
je 0x41ff76
call fcn.00416d9b
jmp 0x41ff8d
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00415112
push eax
call fcn.00432050
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x41ff9e
push eax
push str.Error_opening_zip_file
jmp 0x420036
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00431a91
add esp, 0x14
test eax, eax
je 0x41ffc5
push 0
push str.Could_not_find_ziped_file
jmp 0x420036
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x41ffd8
push 0
push str.File_is_empty
jmp 0x420036
cmp ebx, 0x400000
jbe 0x41ffe9
push 0
push 0x4b35ac
jmp 0x420036
push ebx
call fcn.004139fb
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00432410
add esp, 0x18
test eax, eax
je 0x420041
cmp eax, 0x600
je 0x420041
push dword [ebp - 0x2c8]
call fcn.00413a04
pop ecx
call fcn.00416ec1
test al, al
jne 0x42002f
push edi
call fcn.004318eb
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004201f6
mov bl, al
jmp 0x42006c
call fcn.00416ec1
test al, al
jne 0x420051
push edi
call fcn.004318eb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00420081
push edi
mov bl, al
call fcn.00413a04
pop ecx
lea ecx, [ebp - 0x94]
call fcn.0045676d
mov al, bl
call fcn.0047f4b1
ret 8
Function at 0x42f361
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42f375
xor eax, eax
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x42f387
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42f371
push esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x42f3a2
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42f3d9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call fcn.00461ba0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x42f3dd
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x42f3e0
xor eax, eax
inc eax
pop esi
pop ebp
ret

Function at 0x43193d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4319f3
movzx eax, word [esi]
test ax, ax
je 0x4319f3
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x43197d
cmp ax, 0x5c
jne 0x43197f
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x431971
cmp edi, esi
je 0x4319c6
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.0046b290
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x431a03
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043193d
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0046b253
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0046b1e2
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413a09
mov esp, ebp
pop ebp
ret
call fcn.00413eaf
int3

Function at 0x431fc8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x432044
cmp dword [edi + 4], 0xffffffff
jne 0x432044
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4af844
push esi
call fcn.0046b1e2
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x432016
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x432016
mov eax, 0x2000000
jmp 0x432049
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004344e3
add esp, 0x10
test eax, eax
jne 0x432034
mov eax, dword [ebp - 4]
jmp 0x432049
push eax
call fcn.00434beb
mov dword [edi], eax
mov eax, dword [0x4de5ec]
pop ecx
jmp 0x432049
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4345f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x434624
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43461f
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43464b
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x434634
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00461ba0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4347cc
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x43488b
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
sub edi, 1
jne 0x4347e4
pop edi
test esi, esi
je 0x4348a7
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4b52d0]
inc edx
sub esi, 1
jne 0x43488f
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4416d5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d82a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x24], 0
je 0x441742
cmp dword [esi + 0x1c], 0
je 0x441742
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0047f470
mov ebx, esp
test ebx, ebx
je 0x441742
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x1c]
push ebx
add ecx, 0x1bc
call fcn.004150cb
mov ecx, dword [esi + 0x1c]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x2c]
mov ecx, eax
call fcn.0041928b
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413a09
mov esp, ebp
pop ebp
ret 0x10