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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x2ac
push dword [ebp + 0x74]
call fcn.00401e3b
test al, al
je 0x5480fe
push ebx
push esi
push edi
call fcn.004ccb14
lea eax, [ebp + 0x58]
push eax
call fcn.0059959f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test al, al
je 0x5480af
mov byte [ebp + 0x6b], bl
mov dword [ebp + 0x5c], ebx
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.00547eba
cmp eax, ebx
je 0x548097
push eax
push ebx
mov edi, 0x2000000
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp eax, ebx
mov dword [ebp + 0x5c], eax
je 0x548097
lea eax, [ebp + 0x60]
push eax
push 0xf
push dword [ebp + 0x5c]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x548097
lea eax, [ebp + 0x64]
push eax
push 1
push 2
push ebx
push edi
push dword [ebp + 0x60]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x548097
push 0x44
pop edi
push edi
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.005fc0d0
mov dword [ebp - 0x38], edi
xor eax, eax
lea edi, [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x78]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x30], ebx
je 0x54805d
cmp word [eax], bx
je 0x54805d
push eax
push dword [ebp + 0x74]
mov eax, 0x104
push str.__s___s
lea edi, [ebp - 0x240]
call fcn.005383cd
add esp, 0xc
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
mov eax, edi
push eax
jmp 0x548069
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 0x74]
push ebx
push dword [ebp + 0x64]
call dword [ebp + 0x58]
test eax, eax
setne byte [ebp + 0x6b]
cmp byte [ebp + 0x6b], bl
je 0x54808d
cmp dword [ebp + 0x7c], 1
jne 0x54808d
push dword [ebp + 0x48]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push dword [ebp + 0x48]
call esi
push dword [ebp + 0x4c]
call esi
push dword [ebp + 0x64]
call esi
push dword [ebp + 0x60]
call esi
push dword [ebp + 0x5c]
call esi
cmp byte [ebp + 0x6b], bl
je 0x5480af
mov al, 1
jmp 0x5480fb
push 0x3c
pop edi
push edi
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.005fc0d0
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x28], eax
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x10], 0x40
mov dword [ebp + 0x18], 0x665b90
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push dword [ebp + 0x44]
call esi
xor eax, eax
cmp dword [ebp + 0x2c], 0x20
setg al
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x549452
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.005fc0d0
mov ax, word [ebx + 0xc]
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x2c], ax
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
add esp, 0xc
cmp eax, esi
mov dword [ebp - 0x30], 1
jne 0x549497
mov eax, 0x631a7c
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x5494bc
mov eax, dword [ebp + 8]
mov dword [eax], 2
jmp 0x5494f6
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ecx
mov ecx, dword [ebp - 0x14]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [ebp + 0x10]
push edx
call dword [eax + 0x14]
invalid
Function at 0x54a8f1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x34], esi
jbe 0x54a93b
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jbe 0x54a933
cmp dword [ebp - 0xc], 0x10000
jne 0x54a92e
cmp dword [ebp - 0x10], edi
jbe 0x54a92e
mov edi, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
jmp 0x54a936
add esi, dword [ebp - 0x3c]
cmp esi, dword [ebp - 0x34]
jb 0x54a90c
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x54ac3d
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push esi
xor eax, eax
push eax
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
lea esi, [edi + 4]
push eax
push esi
mov dword [edi], eax
mov dword [esi], eax
mov dword [edi + 8], eax
call ebx
test eax, eax
jne 0x54ac78
push 8
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push eax
push esi
call ebx
test eax, eax
je 0x54acce
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x54acce
mov eax, dword [ebp + 0xc]
push 0x10
pop ecx
cmp eax, ecx
mov byte [ebp - 0x1c], 8
mov byte [ebp - 0x1b], 2
mov word [ebp - 0x1a], bx
mov dword [ebp - 0x18], 0x6801
mov dword [ebp - 0x14], ecx
ja 0x54aca2
mov dword [ebp - 0x14], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push eax
call fcn.005fbd60
add esp, 0xc
lea eax, [edi + 8]
push eax
mov eax, dword [ebp - 0x14]
push 0x11
push ebx
add eax, 0xc
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
pop esi
mov eax, edi
pop ebx
leave
ret 8

Function at 0x54ad2a
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x54ad60
cmp ecx, edi
je 0x54ad60
cmp dword [esi], edi
push 2
pop eax
jne 0x54ad43
mov dword [esi], eax
cmp dword [esi], eax
jne 0x54ad60
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push edi
push 1
push edi
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [esi], edi
pop edi
leave
ret 4

Function at 0x54ad65
Capabilities:
Hash data using sha256

Disassembly:
xor edx, edx
push esi
push edi
mov ecx, 0x6393d0
push 8
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x70], edx
mov byte [eax + 0x74], dl
mov byte [eax + 0x75], dl
mov dword [eax + 0x24], 0x6393f0
mov edx, eax
sub ecx, eax
pop esi
mov edi, dword [ecx + edx]
mov dword [edx], edi
add edx, 4
dec esi
jne 0x54ad8e
pop edi
pop esi
ret
Function at 0x54af1a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
xor ebx, ebx
push edi
lea eax, [ebp - 0x214]
push eax
push str.littlecms
lea eax, [ebp - 8]
push eax
mov byte [esi], bl
mov dword [esi + 1], ebx
mov dword [esi + 5], ebx
mov dword [esi + 9], ebx
mov dword [esi + 0xd], ebx
mov dword [esi + 0x11], ebx
mov dword [esi + 0x15], ebx
mov dword [esi + 0x19], ebx
mov dword [esi + 0x1d], ebx
mov dword [esi + 0x21], ebx
mov dword [ebp - 8], 0x646540
call fcn.004053e4
test al, al
je 0x54b044
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0xd], eax
je 0x54b044
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.cmsOpenProfileFromMem
push eax
call edi
mov dword [esi + 0x11], eax
mov eax, dword [esi + 0xd]
push str.cmsCloseProfile
push eax
call edi
mov dword [esi + 0x15], eax
mov eax, dword [esi + 0xd]
push str.cmsCreateTransform
push eax
call edi
mov dword [esi + 0x19], eax
mov eax, dword [esi + 0xd]
push str.cmsDeleteTransform
push eax
call edi
mov dword [esi + 0x1d], eax
mov eax, dword [esi + 0xd]
push str.cmsDoTransform
push eax
call edi
mov dword [esi + 0x21], eax
mov ecx, dword [esi + 0x11]
cmp ecx, ebx
je 0x54b038
cmp dword [esi + 0x15], ebx
je 0x54b038
cmp dword [esi + 0x19], ebx
je 0x54b038
cmp dword [esi + 0x1d], ebx
je 0x54b038
cmp eax, ebx
je 0x54b038
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp edx, ebx
jbe 0x54b044
mov edi, dword [ebp + 0x10]
cmp dword [edi + 4], ebx
jbe 0x54b044
mov eax, dword [eax]
push edx
push eax
call ecx
mov dword [esi + 1], eax
mov eax, dword [edi + 4]
mov edi, dword [edi]
push eax
push edi
call dword [esi + 0x11]
mov ecx, dword [esi + 1]
add esp, 0x10
cmp ecx, ebx
mov dword [esi + 5], eax
je 0x54b044
cmp eax, ebx
je 0x54b044
push ebx
push 1
push 0x40019
push eax
push dword [ebp + 0xc]
push ecx
call dword [esi + 0x19]
add esp, 0x18
cmp eax, ebx
mov dword [esi + 9], eax
je 0x54b044
mov byte [esi], 1
jmp 0x54b044
push dword [esi + 0xd]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0xd], ebx
pop edi
mov eax, esi
pop ebx
leave
ret 0xc

Function at 0x54bf61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0xc]
mov esi, eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push eax
push dword [esp + 0x10]
push 4
pop edx
call fcn.0054beb7
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
ret 8
Function at 0x54f4a6
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
xor edi, edi
cmp dword [0x6a9b60], edi
je 0x54f4c2
mov al, 1
jmp 0x54f5b3
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 5
call fcn.0054e115
test al, al
je 0x54f5b1
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [0x6a9b60], eax
je 0x54f5b1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._Save_36
push eax
call esi
push str._Load_4
push dword [0x6a9b60]
mov dword [0x6a9b64], eax
call esi
push str._GetImageSize_16
push dword [0x6a9b60]
mov dword [0x6a9b68], eax
call esi
push str._GetImage_20
push dword [0x6a9b60]
mov dword [0x6a9b6c], eax
call esi
push str._Close_4
push dword [0x6a9b60]
mov dword [0x6a9b70], eax
call esi
cmp dword [0x6a9b64], edi
mov dword [0x6a9b74], eax
je 0x54f581
cmp dword [0x6a9b68], edi
je 0x54f581
cmp dword [0x6a9b6c], edi
je 0x54f581
cmp dword [0x6a9b70], edi
je 0x54f581
cmp eax, edi
jne 0x54f4bb
push dword [0x6a9b60]
mov dword [0x6a9b64], edi
mov dword [0x6a9b68], edi
mov dword [0x6a9b6c], edi
mov dword [0x6a9b70], edi
mov dword [0x6a9b74], edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x6a9b60], edi
xor al, al
pop edi
pop esi
leave
ret 4

Function at 0x54fe27
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xa
push 0x17d
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x54fe57
mov dword [ebx], 2
jmp 0x54feeb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x54fe4c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x54fe4c
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x54fe4c
lea esi, [esp + 0x18]
call fcn.0040c73b
mov esi, dword [esp + 0x10]
push edi
push dword [esp + 0x18]
lea eax, [esp + 0x30]
call fcn.0040209c
test al, al
jne 0x54feb0
mov dword [ebx], 2
jmp 0x54fee2
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
call fcn.0059bd0d
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [ebx], eax
lea esi, [esp + 0x18]
call fcn.0040c778
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x551aed
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x1d]
mov eax, dword [eax + 4]
and word [ebp - 0x270], 0
push edi
push 0x104
lea ecx, [ebp - 0x270]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x6a8ba8
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebx + 4]
mov dword [ebp - 4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [0x6a9b78], 1
mov dword [ebp - 0x24], eax
jne 0x551c50
mov dword [ebp - 0x68], 0x40
mov dword [ebp - 0x64], 0x2800
mov dword [ebp - 0x34], 0xf
call fcn.0040132a
test al, al
je 0x551bdd
mov eax, dword [esi + 0x1d]
or dword [ebp - 0x64], 1
mov esi, dword [eax + 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, eax
jne 0x551b7e
push 9
jmp 0x551ba1
push 0xc
pop edi
xor esi, esi
push esi
lea eax, [ebp - 0x10]
push eax
push edi
push 0x42
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x551bac
mov al, byte [ebp - 0xc]
and al, 1
je 0x551bac
push 0x13
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [ebp - 0x60], eax
jmp 0x551bdd
mov eax, dword [0x6ac254]
cmp eax, esi
je 0x551bc4
push 0x654
push dword [0x6ac23c]
call eax
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0xc]
push esi
mov dword [ebp - 0x60], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x14]
lea esi, [ebx + 0x10]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
call fcn.00550d27
sub dword [ebp - 0x18], eax
call fcn.004012fd
test al, al
je 0x551c14
call fcn.0040132a
test al, al
jne 0x551c14
inc al
jmp 0x551c16
xor al, al
mov esi, dword [0x6ac274]
test esi, esi
je 0x551c87
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x20]
push ecx
xor ecx, ecx
test al, al
setne cl
lea eax, [ebp - 0x270]
or ecx, 0x40124
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
push dword [ebx + 4]
push dword [0x6ac23c]
call esi
jmp 0x551c87
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x18]
push eax
mov eax, dword [ebp + 0x10]
sub ecx, eax
push ecx
push dword [ebp + 0x14]
add eax, 2
push eax
lea eax, [ebp - 0x270]
push eax
mov esi, ebx
call fcn.004dc192
push dword [ebp - 0x24]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x5599b1
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
push ebx
xor ebx, ebx
cmp dword [0x6a9b8c], ebx
push esi
push edi
jne 0x5599da
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x6a9b8c], eax
lea eax, [esp + 0x14]
push eax
call fcn.0059c262
test al, al
je 0x559a92
push 0x60
pop esi
push esi
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.005fc0d0
mov eax, dword [ebp + 0x20]
and al, 1
add esp, 0xc
dec al
neg al
mov dword [esp + 0x18], esi
mov esi, dword [ebp + 0x18]
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
or eax, 0x1000
cmp byte [esi], bl
mov dword [esp + 0x24], eax
je 0x559a2b
or dword [esp + 0x24], 0x100
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [0x6a9b40]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x10]
push eax
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x4c], 2
mov dword [esp + 0x40], 0xfffd
mov dword [esp + 0x1c], ebx
call dword [esp + 0x24]
cmp dword [esp + 0x10], 1
sete al
mov byte [esi], al
mov eax, dword [esp + 0xc]
jmp 0x559b99
cmp dword [0x6a9b84], ebx
je 0x559aa1
xor eax, eax
jmp 0x559b99
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push eax
push ebx
push 0x5597c9
push 4
call esi
push 0x11
mov dword [esp + 0x10], eax
call fcn.00538281
cmp eax, ebx
pop ecx
je 0x559aee
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x18]
mov cl, byte [ecx]
mov byte [eax + 8], cl
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 9], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ebx
mov dword [eax + 0xd], ecx
mov dword [0x6a9b84], eax
jmp 0x559af4
mov dword [0x6a9b84], ebx
call edi
push eax
push ebx
push 0x559969
push 5
call esi
mov ecx, dword [0x6a9b84]
mov esi, dword [ebp + 0xc]
mov dword [ecx + 0xd], eax
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x559b12
sub eax, ecx
sar eax, 1
cmp eax, 0x70
jae 0x559b4b
push 0x20
push 0x70
pop ecx
sub ecx, eax
push ecx
push dword [ebp + 0xc]
lea esi, [esp + 0x84]
push str._s_c
mov eax, 0x104
mov edi, esi
call fcn.005383cd
add esp, 0x10
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esp + 0xc], ebx
mov edi, eax
je 0x559b6d
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x6a9b84]
mov cl, byte [eax + 8]
mov edx, dword [ebp + 0x18]
mov esi, eax
mov eax, dword [eax + 4]
cmp eax, ebx
mov byte [edx], cl
je 0x559b8a
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push esi
call fcn.005f9fb5
pop ecx
mov dword [0x6a9b84], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x55b8b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea esi, [ebp - 1]
call fcn.004cc098
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ebx, ebx
mov dword [esi], ebx
add esi, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x55b8e1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
push 0x320
push dword [ebp + 0xc]
push dword [0x6a9b40]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x55b9c5
push edi
push dword [0x6a9b40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x6a9b40]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
je 0x55b9c5
push dword [ebp + 0xc]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
push edi
push eax
call fcn.005fbd60
mov edi, dword [ebp - 0xc]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 8]
push eax
push ebx
push edi
mov dword [ebp - 8], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebp - 8], ebx
je 0x55b99e
mov eax, dword [esi]
cmp eax, ebx
je 0x55b97b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
push esi
push 0x62e0b4
push ebx
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x55b99e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], ebx
mov esi, dword [esi]
cmp esi, ebx
je 0x55b9ad
push dword [ebp + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x55b9ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x55b9c5
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp byte [ebp - 1], bl
je 0x55b9d0
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x55c5cd
Capabilities:
Create process on windows

Disassembly:
call fcn.004012fd
test al, al
jne 0x55c600
push dword [esp + 4]
call fcn.00401e3b
test al, al
je 0x55c602
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x10]
push str.startunpin
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
jmp 0x55c602
mov al, 1
ret 4

Function at 0x55c605
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push edi
lea eax, [ebp - 0x208]
call fcn.0053680f
cmp word [ebp - 0x208], 0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x6788c4
mov ebx, str..lnk
je 0x55c672
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00401f51
lea ecx, [ebp - 0x410]
call fcn.00537c3e
push ebx
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
lea eax, [ebp - 0x410]
push eax
call edi
lea eax, [ebp - 0x208]
call fcn.00536821
cmp word [ebp - 0x208], 0
je 0x55c6c3
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.00401f51
lea ecx, [ebp - 0x410]
call fcn.00537c3e
push ebx
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
lea eax, [ebp - 0x410]
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x55c7ad
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
push edi
lea eax, [ebp - 0x208]
call fcn.0053680f
cmp word [ebp - 0x208], 0
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, str..lnk
je 0x55c803
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
lea eax, [ebp - 0x410]
push eax
call fcn.0055c5cd
lea eax, [ebp - 0x410]
push eax
call esi
lea eax, [ebp - 0x208]
call fcn.00536821
cmp word [ebp - 0x208], 0
je 0x55c843
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
lea eax, [ebp - 0x410]
push eax
call fcn.0055c5cd
lea eax, [ebp - 0x410]
push eax
call esi
pop edi
pop esi
leave
ret 4

Function at 0x55c849
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
lea eax, [ebp - 0x208]
push eax
xor esi, esi
push esi
push esi
push 0x28
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x55c906
push 0x631a7c
push 0x6788c4
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
call fcn.0053768f
push esi
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x410]
push eax
call fcn.00401e3b
test al, al
je 0x55c906
push ebx
push edi
mov ebx, 0x6a5c78
jmp 0x55c8b4
xor esi, esi
cmp dword [ebx], esi
je 0x55c904
push str..lnk
push dword [ebx + 4]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
call fcn.0053768f
push dword [ebx]
mov eax, 0x104
push str._extfind__s
lea edi, [ebp - 0x618]
call fcn.005383cd
pop ecx
pop ecx
push dword [ebx + 4]
lea eax, [ebp - 0x208]
push dword [ebp + 8]
mov esi, edi
push eax
call fcn.0055bf5a
add ebx, 8
jne 0x55c8b2
pop edi
pop ebx
pop esi
leave
ret 4