joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a8cf2
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x6b4d36
call fcn.0066bd6c
sub esp, 0x24
push ebx
push esi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
xor ebx, ebx
mov dword [ebp - 0x14], eax
push 0x7f6ee0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004274a7
cmp dword [ebp - 0x1c], 8
lea esi, [ebp - 0x30]
mov dword [ebp - 4], ebx
jb 0x5a8d31
mov esi, dword [ebp - 0x30]
push edi
mov byte [ebp - 0xd], 1
mov edi, ebx
push esi
mov dword [ebp - 0x18], esi
call fcn.0047e29e
push 0x7c
push dword [ebp - 0x18]
mov esi, eax
call fcn.0047cda5
mov edx, eax
mov eax, dword [ebp - 0x18]
cmp word [eax], bx
je 0x5a8d7b
inc edi
mov ecx, ebx
test edx, edx
je 0x5a8d69
push edx
call fcn.005a6821
mov ecx, eax
mov eax, dword [ebp - 0x18]
push ecx
push eax
push edi
push ebx
push dword [ebp - 0x14]
call fcn.005a48c6
mov byte [ebp - 0xd], 1
jmp 0x5a8d95
cmp byte [ebp - 0xd], 0
je 0x5a8d92
push ebx
push ebx
push edi
push 0x800
push dword [ebp - 0x14]
call fcn.005a48c6
inc edi
mov byte [ebp - 0xd], bl
test esi, esi
jne 0x5a8d38
push ebx
push 0x36d
inc edi
call fcn.005a1454
push eax
push edi
push ebx
push dword [ebp - 0x14]
call fcn.005a48c6
push ebx
push ebx
push 0x800
push dword [ebp - 0x14]
mov esi, edi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x8000
push 0x10
push 0x10
push 1
push 0x15a
push dword [0x7f6a14]
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
push 0x369
add edi, 2
call fcn.005a1454
push eax
push edi
push ebx
push dword [ebp - 0x14]
call fcn.005a48c6
mov eax, dword [0x7f6f2c]
push 0x80
inc eax
push eax
push dword [ebp - 0x14]
push dword [0x7f6a24]
call dword [sym.imp.USER32.dll_HiliteMenuItem]
mov eax, dword [ebp + 8]
push ebx
push dword [0x7f6a24]
push ebx
push dword [eax + 4]
push dword [eax]
movzx eax, byte [ebp + 0xc]
xor eax, 1
lea eax, [eax*8 + 0x182]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 0x14]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x5a8e63
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5a8e80
push 0x12
call fcn.005f9c62
jmp 0x5a8e80
test eax, eax
je 0x5a8e80
cmp eax, edi
push 0x10
sete byte [0x7f6f30]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x5a8e80
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
cmp eax, 8
jb 0x5a8ebc
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
cmp eax, 0x1000
jb 0x5a8eb3
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0042741e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x5aaea7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push ebx
push edi
mov edi, ecx
cmp byte [edi + 0x74], 0
je 0x5aaecd
push 0x5ab4b3
push 0x10
push 0x10
push 3
call fcn.005ab610
mov dword [edi + 0x68], eax
push 0x5abb72
push 9
push 9
push 2
mov ecx, edi
call fcn.005ab610
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x5aaeff
mov word [ebp - 0x208], ax
push 0x4011
mov ebx, 0x2b4
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x4b8]
push 0x4013
mov dword [edi + 0x78], eax
lea eax, [ebp - 0x4bc]
push ebx
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x4b8]
mov dword [edi + 0x7c], eax
pop edi
pop ebx
leave
ret
Function at 0x5ad9c1
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6bb410
call fcn.0066bd6c
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [esi + 0x54], ebx
je 0x5adaa7
push edi
mov edi, dword [esi + 4]
mov dword [ebp + 8], edi
test edi, edi
je 0x5ad9f0
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], ebx
mov eax, dword [eax + ebx*4]
mov dword [esi + 4], eax
test eax, eax
jne 0x5ada66
push 0x14
call fcn.0066bada
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
test edi, edi
je 0x5ada2d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov dword [edi + 8], esi
mov dword [edi], 0x726ce0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], eax
jmp 0x5ada2f
xor edi, edi
mov eax, dword [esi + 0x48]
mov ecx, ebx
or dword [ebp - 4], 0xffffffff
add ecx, ecx
push edi
push fcn.005a3189
push dword [eax + 4]
mov eax, dword [esi + 0x4c]
push dword [eax + ecx*8]
push dword [0x7f6a14]
call fcn.005a235f
cmp byte [esi + 0x58], 0
mov dword [esi + 4], eax
je 0x5ada63
push eax
call fcn.005a33ec
mov edi, dword [ebp + 8]
mov ecx, dword [esi + 0x48]
or edx, 0xffffffff
push ebx
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x3c]
push 0x250
push eax
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x38]
push eax
push dword [esi + 0x3c]
push dword [esi + 0x38]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [ebp + 0xc], 0
je 0x5adaa6
push edi
push dword [ebp + 0xc]
call fcn.005ab486
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x5b84b5
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0066f070
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x54], esi
test edi, edi
je 0x5b8511
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp + 0x14]
push 2
push 1
push ebx
push eax
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
neg eax
mov dword [ebp - 0x18], edi
sbb eax, eax
or dword [ebp - 0x28], 0x101
and eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
xor eax, eax
test edi, edi
push ebx
push ebx
setne al
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x5b8558
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x5b854e
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x5b8553
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
je 0x5b8561
push dword [ebp - 0x14]
call esi
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
leave
ret 0x14

Function at 0x5b892d
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6b4bc1
call fcn.0066bd6c
push ecx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.004274a7
push dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004274a7
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x5c0760
Capabilities:
Create directory

Disassembly:
mov eax, 0x6aedec
call fcn.0066bd6c
sub esp, 0x18
push ebx
push str.updates_
lea eax, [ebp - 0x24]
push eax
call fcn.00473644
xor ebx, ebx
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
mov dword [ebp - 4], ebx
jb 0x5c078d
mov eax, dword [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x5c07c1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x5c07c1
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5c07b2
mov eax, dword [ebp - 0x24]
push eax
push str.Failed_to_create_directory:__S_n
call fcn.0040f4c1
pop ecx
pop ecx
jmp 0x5c07c3
mov bl, 1
lea ecx, [ebp - 0x24]
call fcn.0042756c
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x5c2d0f
Capabilities:
Delete file

Disassembly:
mov eax, 0x6aedec
call fcn.0066bd6c
mov eax, dword [ebp + 8]
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x5c2d4d
mov esi, dword [edi + 0x4c]
cmp esi, dword [edi + 0x50]
je 0x5c2d4d
mov ecx, dword [eax + 0x30]
mov ebx, 0x1ffeffff
and ecx, ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
and eax, ebx
sub eax, ecx
je 0x5c2d60
add esi, 4
cmp esi, dword [edi + 0x50]
jne 0x5c2d3a
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.005c0d35
and dword [ebp - 4], 0
push eax
call fcn.0045f5f5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.0042756c
test bl, bl
je 0x5c2da9
mov ecx, dword [esi]
lea eax, [ebp - 0x3c]
push eax
call fcn.005c0d35
cmp dword [eax + 0x14], 8
jb 0x5c2d9a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.0042756c
push esi
push dword [edi + 0x50]
add esi, 4
push esi
call fcn.0043fd32
add dword [edi + 0x50], 0xfffffffc
mov ecx, edi
call fcn.005c3c3f
mov al, 1
jmp 0x5c2d4f

Function at 0x5c7451
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x5c745e
mov eax, dword [eax]
push eax
call fcn.00487bbf
test al, al
jne 0x5c747a
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x5c7473
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, esi
pop esi
jmp fcn.005c4c33
Function at 0x5cdea1
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x3c
mov eax, 0x6c81f8
call fcn.0066bd6c
sub esp, 0x58
xor eax, eax
push ebx
push esi
push edi
push 8
pop ecx
xor esi, esi
lea edi, [ebp]
push esi
rep stosd dword es:[edi], eax
push 0x80
push 3
lea edi, [ebp + 0x20]
stosd dword es:[edi], eax
push esi
push 3
push SysReAllocString
push dword [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x5ce02e
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x48]
push eax
push 0x20
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5ce027
mov dword [ebp + 0x2c], esi
cmp dword [ebp + 8], esi
jbe 0x5ce025
push 0
push 0
push dword [ebp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add dword [ebp + 0x38], 0xc
lea eax, [ebp + 0x48]
push 0
push eax
push 0xc
lea eax, [ebp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5ce027
cmp dword [ebp + 0x20], 5
jne 0x5ce018
xor esi, esi
push esi
push esi
push dword [ebp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [ebp + 0x48]
push eax
push 4
lea eax, [ebp + 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5ce027
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
call fcn.0045e2af
mov esi, eax
lea eax, [ebp + 0x48]
push 0
push eax
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5ce05d
mov ecx, dword [ebp + 0x3c]
xor edx, edx
mov dword [ebp + 0x34], edx
test ecx, ecx
je 0x5cdfff
lea eax, [esi + 0xc]
mov dword [ebp + 0x30], eax
cmp dword [eax - 4], 0x58
jb 0x5cdff1
push 0
push 0
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp + 0x48]
push eax
push 0x58
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5ce050
cmp dword [ebp - 0x64], 0x464e4956
je 0x5ce044
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
inc edx
add eax, 0x10
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x30], eax
cmp edx, ecx
jb 0x5cdfb5
mov dword [ebp - 4], 3
test esi, esi
je 0x5ce012
push 1
push esi
call fcn.0045e2a2
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 4], edi
inc esi
mov dword [ebp + 0x2c], esi
cmp esi, dword [ebp + 8]
jb 0x5cdf19
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x40
leave
ret 4
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 2
jmp 0x5ce061
xor eax, eax
inc eax
mov dword [ebp - 4], eax
test esi, esi
je 0x5ce027
push eax
jmp 0x5ce067
and dword [ebp - 4], 0
test esi, esi
je 0x5ce027
push 1
push esi
call fcn.0045e2a2
jmp 0x5ce027
Function at 0x5d81fa
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6c8d6e
call fcn.0066bd6c
sub esp, 0x250
push esi
push 1
push 0x1a
lea eax, [ebp - 0x25c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047e71e
and dword [ebp - 4], 0
mov esi, 0x6dc77c
push 1
push esi
mov ecx, eax
call fcn.0041001f
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040feff
push 8
push str.utorrent
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041001f
push eax
lea ecx, [ebp - 0x24]
call fcn.0040feff
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 8]
call fcn.00427a84
lea ecx, [ebp - 0x24]
call fcn.004102c8
lea ecx, [ebp - 0x3c]
call fcn.004102c8
lea ecx, [ebp - 0x54]
call fcn.004102c8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5d96f6
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x7f8200]
test ecx, ecx
je 0x5d971d
call fcn.0057ddae
test eax, eax
je 0x5d971d
mov ecx, dword [0x7f8200]
push 0
call fcn.0057ddae
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x5d9740
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x7f81fc]
test ecx, ecx
je 0x5d9767
call fcn.0057ddae
test eax, eax
je 0x5d9767
mov ecx, dword [0x7f81fc]
push 0
call fcn.0057ddae
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x5e0510
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x5e05e8
cmp edi, dword [esi + 0x214]
je 0x5e05e8
mov ecx, dword [esi + 0x1f4]
xor eax, eax
push ebx
cmp edi, ecx
push 0
sete al
push eax
push 0x809a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x1f8]
xor eax, eax
cmp edi, ecx
push 0
sete al
push eax
push 0x809c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x214]
cmp eax, dword [esi + 0x218]
jne 0x5e0598
lea ebx, [esi + 0x1a0]
mov ecx, dword [ebx]
test ecx, ecx
je 0x5e0598
call fcn.0057ddae
cmp eax, edi
je 0x5e0598
mov ecx, dword [ebx]
call fcn.00581978
mov ecx, ebx
call fcn.004eed4e
jmp 0x5e05d8
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x214], eax
jne 0x5e05ca
cmp edi, eax
je 0x5e05ca
call fcn.0061b870
test al, al
je 0x5e05ca
push 0
push 0
push 0x8078
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5e05d8
push 0
push dword [esi + 0x214]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x214], edi
pop ebx
pop edi
pop esi
ret 4
Function at 0x5e1751
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x5e1786
call fcn.005810bb
mov eax, dword [esi + 0x214]
cmp eax, dword [esi + 0x218]
je 0x5e1786
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x218]
mov dword [esi + 0x214], eax
pop esi
ret
Function at 0x5f7d61
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
lea eax, [ebp - 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push eax
push esi
lea ecx, [edi + 0x38]
call fcn.005a341b
mov edx, dword [edi + 0x88]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + eax*4]
movzx eax, si
push eax
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfe
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push str._A_HREF__s___s__A_
push eax
call fcn.004646d1
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x5f7dd0
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
xor edx, edx
sub eax, dword [ebp - 0xc]
push edx
push dword [0x7f6a14]
push edx
push ebx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x50010000
push ecx
push 0x6d8dcc
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.0042756c
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x6041a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 8]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x6042a4
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x6042a4
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
je 0x6042a4
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x6042a4
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
xor ebp, ebp
test eax, eax
je 0x604298
push edi
push ebx
push eax
call fcn.0066d9b0
add esp, 0xc
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x60428f
push ebp
push dword [esp + 0x20]
call fcn.006040d3
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x60428f
mov eax, dword [ecx + 8]
mov dword [ecx + 8], ebp
mov ecx, dword [esi + 4]
test eax, eax
jne 0x604282
call fcn.005d937c
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
call fcn.005d855d
mov dword [esi + 0xc], eax
mov al, 1
jmp 0x6042a6
test ecx, ecx
je 0x60428c
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebp
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 0x10], ebp
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x60450d
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov eax, 0x6af802
call fcn.0066bd6c
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], ebx
push str.http:__
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
call fcn.00427613
push 1
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x6045d5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x6045d5
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x6045cf
push 4
push str.http
push esi
call fcn.00685687
add esp, 0xc
test eax, eax
je 0x604594
push 4
push str.feed
push esi
call fcn.00685687
add esp, 0xc
test eax, eax
jne 0x6045cf
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x604599
sub ecx, edx
cmp ecx, 0x12c
jae 0x6045cf
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0047e836
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x6045c7
mov byte [ebp + 8], bl
push dword [ebp + 8]
push eax
call fcn.00427543
lea ecx, [ebp - 0x40]
call fcn.0042756c
call dword [sym.imp.USER32.dll_CloseClipboard]
push ebx
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004274a7
call fcn.00604422
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x60462c
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x604623
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x606f9d
Capabilities:
Delete file

Disassembly:
mov eax, 0x6cb86c
call fcn.0066bd6c
sub esp, 0x3f4
push ebx
push esi
mov ebx, ecx
xor eax, eax
xor ecx, ecx
push 7
pop edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
mov word [ebp - 0x48], ax
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x8c], ecx
jne 0x60710f
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
mov ecx, 0x7c6098
call fcn.00429d2d
mov eax, dword [ebp - 0x10]
add eax, 8
push 8
pop esi
cmp dword [eax + 0x14], esi
jb 0x607003
mov eax, dword [eax]
push edi
lea edi, [ebx + 0xb4]
mov ecx, edi
cmp dword [edi + 0x14], esi
jb 0x607013
mov ecx, dword [edi]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x18]
push edx
push eax
push ecx
lea ecx, [ebp - 0x200]
call fcn.00602406
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
jne 0x607054
push 0x6d7170
lea ecx, [ebp - 0x48]
call fcn.004368f6
test al, al
je 0x607054
push 0x6d7170
lea ecx, [ebp - 0x30]
call fcn.004368f6
test al, al
jne 0x6070c3
push 0x100
lea eax, [ebp - 0x400]
push eax
push dword [ebp - 0x18]
call fcn.00460ff3
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jb 0x607073
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jb 0x60707e
mov eax, dword [ebp - 0x48]
cmp dword [edi + 0x14], esi
jb 0x607085
mov edi, dword [edi]
push ecx
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x400]
push eax
push edi
lea eax, [ebp - 0x60]
push str.The_install_of__s_failed._n__s__d_.___s____s_
push eax
call fcn.004646d1
add esp, 0x1c
cmp dword [eax + 0x14], esi
jb 0x6070aa
mov eax, dword [eax]
push 0
push 0
push eax
push dword [0x7d36fc]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x60]
call fcn.0042756c
lea ecx, [ebp - 0x200]
call fcn.00602930
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
pop edi
cmp eax, esi
jb 0x60712b
mov ecx, dword [ebp - 0x30]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x607104
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
jmp 0x60712b
push 8
lea eax, [ebx + 0x7c]
pop esi
cmp dword [eax + 0x14], esi
jb 0x60711c
mov eax, dword [eax]
push ecx
push ecx
push eax
push dword [0x7d36fc]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebx + 0xe4], 0
jne 0x607148
lea eax, [ebx + 0xb4]
cmp dword [eax + 0x14], esi
jb 0x607141
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebx + 0xe6], 0
je 0x607156
call fcn.00487b9d
mov eax, dword [ebp - 0x34]
cmp eax, esi
pop esi
pop ebx
jb 0x607192
mov ecx, dword [ebp - 0x48]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x607189
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov al, 1
mov dword fs:[0], ecx
leave
ret