joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4154bd
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xcc
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.00413dd9
push 0x40
mov dword [ebp + 0x54], eax
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0044f760
mov dword [ebp + 0x44], esi
xor eax, eax
lea edi, [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0x4767fc
lea ecx, [ebp + 0x58]
stosd dword es:[edi], eax
mov dword [ebp - 0x54], 0x44
call fcn.00406bde
xor edi, edi
inc edi
cmp dword [ebp + 0x54], 0x20
jne 0x415576
push str.yydesktopshortcut_x86.exe
push 0x476d6c
push str.6.30.0.2
add ebx, 8
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x58]
call fcn.00406770
push esi
push edi
lea ecx, [ebp + 0x28]
call fcn.00406492
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00406492
lea ecx, [ebp + 0xc]
jmp 0x4155d8
cmp dword [ebp + 0x54], 0x40
jne 0x4155df
push str.yydesktopshortcut_x86.exe
push 0x476d6c
push str.6.30.0.2
add ebx, 8
lea eax, [ebp + 0x28]
push ebx
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x58]
call fcn.00406770
push esi
push edi
lea ecx, [ebp + 0xc]
call fcn.00406492
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00406492
lea ecx, [ebp + 0x28]
push esi
push edi
call fcn.00406492
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x4155eb
lea eax, [ebp + 0x5c]
lea ecx, [ebp + 0x44]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x415614
push dword [ebp + 0x54]
push str.YYSetupCore::_runLiveShow__CreateProcess_fail._sysBits_d
call fcn.0044ea3e
pop ecx
pop ecx
push esi
push edi
lea ecx, [ebp + 0x58]
call fcn.00406492
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x78
leave
ret
Function at 0x415630
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push str..lnk
mov edi, 0x476d6c
push edi
push eax
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x298], ecx
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
add esp, 0xc
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
push 0x24c
lea eax, [ebp - 0x288]
push ebx
push eax
mov dword [ebp - 0x28c], ebx
call fcn.0044f760
mov eax, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp - 0x24], 8
jae 0x4156b1
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x28c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x290], eax
cmp eax, 0xffffffff
je 0x415768
test byte [ebp - 0x28c], 0x10
jne 0x415741
lea eax, [ebp - 0x260]
push eax
push edi
push dword [ebp - 0x294]
lea eax, [ebp - 0x2b4]
push eax
call fcn.00406c00
add esp, 0xc
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406c00
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2b4]
call fcn.00406492
cmp dword [esi + 0x18], 8
jb 0x41571a
mov eax, dword [esi + 4]
jmp 0x41571d
lea eax, [esi + 4]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x415729
lea ecx, [ebp - 0x1c]
push eax
push ecx
mov ecx, dword [ebp - 0x298]
call fcn.00414af1
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
lea eax, [ebp - 0x28c]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4156ce
push dword [ebp - 0x290]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00406492
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
leave
ret 8
Function at 0x4158af
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x284
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
xor eax, eax
push 0x208
mov word [ebp - 0xc], ax
xor esi, esi
lea eax, [ebp - 0xa]
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x64], ebx
call fcn.0044f760
add esp, 0xc
push 0x104
lea eax, [ebp - 0xc]
push eax
push str._APPDATA_MicrosoftInternet_ExplorerQuick_Launch
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x415a1f
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.00406bde
push str.YY.exe
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.00406c00
mov eax, dword [ebp - 0x40]
add esp, 0xc
cmp dword [ebp - 0x2c], 8
jae 0x415934
lea eax, [ebp - 0x40]
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x415951
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00415630
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 7
call fcn.004062a9
push str.User_PinnedStartMenu
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00406770
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x80]
call fcn.00406492
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x41599b
lea eax, [ebp - 0x24]
push eax
call edi
test eax, eax
je 0x4159b2
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415630
push str.User_PinnedTaskBar
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00406c00
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00406770
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.00406492
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x4159e9
lea eax, [ebp - 0x24]
push eax
call edi
pop edi
test eax, eax
je 0x415a01
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415630
push esi
push ebx
lea ecx, [ebp - 0x28]
call fcn.00406492
push esi
push ebx
lea ecx, [ebp - 0x60]
call fcn.00406492
push esi
push ebx
lea ecx, [ebp - 0x44]
call fcn.00406492
mov ecx, dword [ebp + 0x200]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x204
leave
ret
Function at 0x415d2b
Capabilities:
Terminate process

Disassembly:
push str.DUOWAN_SPEAK_MAIN_FRAME__4D1BB563_E5FC_4771_AD17_6442A4147044
push dword [esp + 8]
call fcn.00409836
pop ecx
pop ecx
test eax, eax
je 0x415d5a
push 0
push 0
push 0x8259
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str.YYSetupDecompressor::_quitYY__post_message__WM_APP__601__to_YY_for_quit.
call fcn.0044ea3e
pop ecx
push esi
push dword [esp + 8]
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x415d7f
push str.YYSetupDecompressor::_quitYY__OpenProcess_return_NULL__YY_already_quit.
call fcn.0044ea3e
pop ecx
jmp 0x415da6
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x415da6
push str.YYSetupDecompressor::_quitYY__WaitForSingleObject_time_out__will_terminate_process.
call fcn.0044ea3e
pop ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret 4

Function at 0x415daa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 0x478120
push 0x65
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x415dcf
push str.YYSetupDecompressor::_load7zDataFromResource__Find_resource_yy.7z__fail.
call fcn.0044ea3e
pop ecx
xor eax, eax
jmp 0x415e00
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x415dee
push str.YYSetupDecompressor::_load7zDataFromResource__Load_resource_yy.7z__fail.
call fcn.0044ea3e
pop ecx
xor eax, eax
jmp 0x415dff
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x4160da
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str..old
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00406c00
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x41610c
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x41611f
lea eax, [ebp - 0x1c]
cmp dword [esi + 0x18], 8
jb 0x41612a
mov esi, dword [esi + 4]
jmp 0x41612d
add esi, 4
push eax
push esi
call fcn.004082f6
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044f17f
leave
ret 4
Function at 0x41642a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6b8
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x228
mov dword [ebp - 0x6b8], eax
xor esi, esi
lea eax, [ebp - 0x280]
push esi
push eax
mov dword [ebp - 0x6b4], ecx
call fcn.0044f760
add esp, 0xc
push esi
push 2
mov dword [ebp - 0x284], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x284]
push ecx
push eax
mov dword [ebp - 0x6b0], eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x416590
mov edi, str.YY.exe
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406bde
push edi
lea ecx, [ebp - 0x20]
call fcn.00406bde
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408a64
pop ecx
pop ecx
mov ebx, eax
neg ebx
push esi
sbb bl, bl
push 1
lea ecx, [ebp - 0x20]
inc bl
call fcn.00406492
test bl, bl
je 0x416569
push 0x424
lea eax, [ebp - 0x6a8]
push esi
push eax
call fcn.0044f760
add esp, 0xc
push dword [ebp - 0x27c]
mov dword [ebp - 0x6ac], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [ebp - 0x6ac]
push eax
push ebx
call sub.KERNEL32.dll_Module32FirstW
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x48c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406bde
mov eax, dword [ebp - 0x6b4]
add eax, 0x2c
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00406c00
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00408a64
add esp, 0x14
push esi
push 1
test eax, eax
je 0x4165af
lea ecx, [ebp - 0x3c]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
lea eax, [ebp - 0x284]
push eax
push dword [ebp - 0x6b0]
call sub.KERNEL32.dll_Process32NextW
push esi
push 1
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.00406492
cmp ebx, esi
jne 0x416498
push dword [ebp - 0x6b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
leave
ret 4
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x6b8]
mov dword [ecx], eax
lea ecx, [ebp - 0x3c]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x20]
call fcn.00406492
push esi
push 1
lea ecx, [ebp - 0x58]
call fcn.00406492
mov al, 1
jmp 0x41659e

Function at 0x41661b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push edi
lea eax, [ebp - 4]
push eax
mov esi, ecx
call fcn.00415daa
mov edi, eax
test edi, edi
jne 0x416645
push str.YYSetupDecompressor::_decompress___load7zDataFromResource_fail.
call fcn.0044ea3e
pop ecx
xor al, al
jmp 0x416679
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test esi, esi
je 0x416655
lea ecx, [esi + 0x24]
jmp 0x416657
xor ecx, ecx
push ebx
push ecx
push dword [esi + 0x28]
lea ecx, [esi + 0x2c]
push ecx
push dword [ebp - 4]
push eax
call fcn.004163b8
add esp, 0x14
push edi
mov ecx, esi
mov bl, al
call fcn.00415e04
mov al, bl
pop ebx
pop edi
pop esi
leave
ret
Function at 0x417245
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x419162
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x501f38], 0
jne 0x4191fa
push esi
push 0x4fdeb0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0044f760
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00450f7e
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00450f67
lea eax, [ebp - 0x20c]
push str._disablemempool
push eax
call fcn.004502cc
add esp, 0x20
pop esi
test eax, eax
je 0x4191f0
mov byte [0x501f34], 1
mov dword [0x501f38], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044f17f
leave
ret

Function at 0x419bc7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x1c]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0040f27b
lea eax, [ebp - 0x1c]
push eax
push 0x47af70
push 0x503d70
call fcn.00410c7f
pop ecx
pop ecx
push eax
call fcn.004199ca
push eax
call fcn.00419b93
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00406492
lea ebx, [esi + 4]
test ebx, ebx
je 0x419c1c
lea eax, [esi + 0xc]
jmp 0x419c1e
xor eax, eax
push 0x47af6c
push eax
call fcn.00410c7f
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0040f27b
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x419c42
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00406492
mov ecx, ebx
call fcn.004198fb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41ad91
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.0041abca
and byte [esi + 0x24], 0xf8
xor eax, eax
push 0x10
mov dword [esi], 0x47b11c
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi + 0x24]
mov edi, 0x4000000
push edi
shr eax, 8
test al, al
seta al
xor cl, al
and cl, 1
xor byte [esi + 0x24], cl
call fcn.00419f5f
add al, al
xor al, byte [esi + 0x24]
mov ebx, 0x8000000
and al, 2
xor byte [esi + 0x24], al
push ebx
call fcn.00419f5f
shl al, 2
xor al, byte [esi + 0x24]
pop ecx
and al, 4
xor byte [esi + 0x24], al
mov al, byte [esi + 0x24]
pop ecx
test al, 1
je 0x41ae06
and dword [esi + 0x28], 0x2000000
test al, 2
je 0x41ae0d
and dword [esi + 0x28], edi
test al, 4
je 0x41ae14
and dword [esi + 0x28], ebx
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x42d706
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x42d757
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x42d768
push 0xd
pop eax
jmp 0x42d795
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x42d76b
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8

Function at 0x42dcc7
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.0042d6c5
mov ebx, eax
cmp ebx, esi
je 0x42dd37
lea ecx, [ebp - 0x70]
call fcn.0042d650
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x42dd4f
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0042dcc7
cmp eax, esi
jne 0x42dd81
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x42dd3f
lea ecx, [ebp - 0x70]
call fcn.0042d650
push dword [ebp - 0x78]
mov ecx, edi
call fcn.0042d5f5
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.0042d650
mov eax, esi
jmp 0x42dd1d
Function at 0x42f001
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x394], eax
mov eax, dword [ebp + 0x3a0]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
mov esi, dword [ebp + 0x3a4]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x74], eax
cmp eax, edi
jne 0x42f05c
call fcn.0042d51c
mov esi, eax
jmp 0x42f122
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x42f075
call fcn.0042d51c
jmp 0x42f117
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x42f06b
push esi
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x42f0d1
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x42f0a8
lea ecx, [ebp - 0x70]
call fcn.0042dc78
mov esi, 0x8007000e
lea ecx, [ebp - 0x78]
call fcn.0042dbdd
mov ecx, dword [ebp + 0x394]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x398
leave
ret 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.0042e1f6
cmp dword [ebp - 0x70], edi
jne 0x42f0e6
mov esi, 0x8007000e
jmp 0x42f119
push esi
push dword [ebp - 0x70]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x42f06b
mov edx, dword [ebp - 0x70]
push dword [ebp + 0x3ac]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
call fcn.0042ed18
mov esi, eax
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x70], eax
je 0x42f0ad
lea ecx, [ebp - 0x70]
call fcn.0042dc78
jmp 0x42f0ad
Function at 0x4446cf
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4446e6
inc eax
jmp 0x444788
push esi
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call esi
test eax, eax
jne 0x444703
push 0xd
call esi
test eax, eax
jne 0x444703
inc eax
jmp 0x444787
mov esi, dword [sym.imp.USER32.dll_GetClipboardData]
push edi
push 0xd
call esi
mov edi, eax
test edi, edi
jne 0x44474c
push 1
call esi
mov esi, eax
test esi, esi
je 0x44477e
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44477e
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.004182ea
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00418006
lea ecx, [ebp - 4]
call fcn.00417ff8
push esi
jmp 0x444778
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44477e
push 0xffffffffffffffff
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418302
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.00418006
lea ecx, [ebp - 4]
call fcn.00417ff8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
pop esi
leave
ret 4

Function at 0x444835
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x444848
inc eax
jmp 0x4448d3
push ebx
mov ebx, dword [esp + 8]
mov eax, dword [ebx]
cmp dword [eax + 8], 0
jne 0x444865
mov bl, 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4448cb
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x444891
call dword [sym.imp.USER32.dll_CloseClipboard]
xor bl, bl
jmp 0x4448c9
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [ebx]
push esi
push dword [eax + 0xc]
push ebp
call fcn.0044f190
add esp, 0xc
xor eax, eax
push edi
mov word [esi + ebp], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov bl, 1
pop ebp
pop edi
pop esi
xor eax, eax
test bl, bl
sete al
pop ebx
ret 4

Function at 0x44a5e0
Capabilities:
Check os version

Disassembly:
push esi
push edi
mov esi, ecx
mov edi, 0x503ea0
push edi
lea ecx, [esi + 4]
call fcn.00408617
push edi
lea ecx, [esi + 8]
call fcn.00408617
call dword [sym.imp.KERNEL32.dll_GetVersion]
and dword [esi], 0
mov ecx, eax
shr ecx, 8
cmp al, 5
jne 0x44a614
cmp cl, 1
jb 0x44a624
jmp 0x44a618
cmp al, 6
jb 0x44a620
mov dword [esi], 0x44b8c6
jmp 0x44a62a
cmp al, 5
ja 0x44a62a
mov dword [esi], 0x44b7cf
push dword [esi]
movzx ecx, cl
movzx eax, al
push ecx
push eax
push str.OS_main_version_is__d__sub_version_is__d__install_func_is__p
call fcn.0044ea3e
add esp, 0x10
pop edi
mov eax, esi
pop esi
ret
Function at 0x44ac21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4fc448]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], eax
call edi
push esi
mov ebx, eax
call edi
cmp ebx, 0xffffffff
je 0x44ad22
cmp eax, 0xffffffff
je 0x44ad22
test bl, 0x10
je 0x44ad22
test al, 0x10
jne 0x44ad22
mov ebx, 0x20a
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044f760
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
mov edi, 0x104
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
call esi
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push eax
add ecx, 4
call fcn.004091d2
push ebx
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044f760
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push dword [ebp - 0x78]
call esi
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
add esi, 8
push eax
mov ecx, esi
call fcn.004091d2
push 0x5c
push 1
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.00408d60
push eax
call fcn.0044a53c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x78]
add ecx, 0xfffffff0
mov bl, al
call fcn.004082c2
test bl, bl
je 0x44ad1e
push 0x476d6c
mov ecx, esi
call fcn.0044a7c0
mov al, 1
jmp 0x44ad24
xor al, al
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f17f
add ebp, 0x19c
leave
ret 8