joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49689c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048ca42
xor ebx, ebx
cmp dword [0x4b9ab8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x496972
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x496a52
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a3698
push edi
call esi
cmp eax, ebx
je 0x496a52
push eax
call fcn.0048c9d4
mov dword [esp], 0x4a3688
push edi
mov dword [0x4b9ab8], eax
call esi
push eax
call fcn.0048c9d4
mov dword [esp], 0x4a3674
push edi
mov dword [0x4b9abc], eax
call esi
push eax
call fcn.0048c9d4
mov dword [0x4b9ac0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00483f4f
test eax, eax
pop ecx
pop ecx
je 0x496940
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048a07f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x496972
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0048c9d4
cmp eax, ebx
pop ecx
mov dword [0x4b9ac8], eax
je 0x496972
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048c9d4
pop ecx
mov dword [0x4b9ac4], eax
mov eax, dword [0x4b9ac4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4969f7
cmp dword [0x4b9ac8], ecx
je 0x4969f7
push eax
call fcn.0048ca4b
push dword [0x4b9ac8]
mov esi, eax
call fcn.0048ca4b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4969f7
cmp edi, ebx
je 0x4969f7
call esi
cmp eax, ebx
je 0x4969c4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4969c4
test byte [ebp - 0x18], 1
jne 0x4969f7
lea eax, [ebp - 0x10]
push eax
call fcn.00483f86
test eax, eax
pop ecx
je 0x4969df
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048a07f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4969ee
or dword [ebp + 0x10], 0x200000
jmp 0x496a32
or dword [ebp + 0x10], 0x40000
jmp 0x496a32
mov eax, dword [0x4b9abc]
cmp eax, dword [ebp - 8]
je 0x496a32
push eax
call fcn.0048ca4b
cmp eax, ebx
pop ecx
je 0x496a32
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x496a32
mov eax, dword [0x4b9ac0]
cmp eax, dword [ebp - 8]
je 0x496a32
push eax
call fcn.0048ca4b
cmp eax, ebx
pop ecx
je 0x496a32
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b9ab8]
call fcn.0048ca4b
cmp eax, ebx
pop ecx
je 0x496a52
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x496a54
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49b573
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4b0c90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0049b508
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004877b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x49b5c2
cmp dword [ebp - 0x1c], 5
jb 0x49b5da
jmp 0x49b5d6
cmp dword [ebp - 0x10], 1
jne 0x49b5da
cmp dword [ebp - 0x1c], 4
ja 0x49b5d6
jne 0x49b5da
cmp dword [ebp - 0x18], 0
jbe 0x49b5da
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4a3f90
call fcn.0049b3f9
test eax, eax
jge 0x49b5fb
mov byte [0x4c6ea8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00483e52
add ebp, 0x78
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x4e5d59f5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x53c01e71
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x403000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov dword [0x401065], 0xfffffff5
call fcn.0040305c
jae 0x403023
mov esi, str.symbols_dumper_for_flat_assembler_r_nusage:_symbols__input___output__r_n
call fcn.004030f5
push 2
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.004031db
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x4030f5
Capabilities:
Write file on windows

Disassembly:
push dword [0x401065]
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor al, al
repne scasb al, byte es:[edi]
neg ecx
sub ecx, 2
push 0
push 0x401069
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
ret
Function at 0x423a3f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4362ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004239d4
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00414b10
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x423a8e
cmp dword [ebp - 0x1c], 5
jb 0x423aa6
jmp 0x423aa2
cmp dword [ebp - 0x10], 1
jne 0x423aa6
cmp dword [ebp - 0x1c], 4
ja 0x423aa2
jne 0x423aa6
cmp dword [ebp - 0x18], 0
jbe 0x423aa6
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42adfc
call fcn.00407108
test eax, eax
jge 0x423ac7
mov byte [0x439698], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004147c2
add ebp, 0x78
leave
ret

Function at 0x401ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406c], eax
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.mifedount
push str.Deltapo
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b33
xor eax, eax
jmp 0x401b4e
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40e760
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44edf6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4a2a80]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
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 byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40e80c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40e80c
call fcn.0040d930
mov esi, eax
jmp 0x40e8ff
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40e82f
call fcn.0040d930
jmp 0x40e8f2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x40e84d
call fcn.0040d930
jmp 0x40e8f2
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 0x40e86e
mov esi, 0x8007000e
jmp 0x40e8f4
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.0040d760
mov dword [ebp - 4], 1
jmp 0x40e8a6
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x40e8b7
mov esi, 0x8007000e
jmp 0x40e8f4
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40e8d2
call fcn.0040d930
jmp 0x40e8f2
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0040e5c0
mov esi, eax
test edi, edi
je 0x40e8ff
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40e91c
lea ecx, [ebp - 0x418]
call fcn.0040dc90
mov dword [ebp - 4], 0xffffffff
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.00436441
mov esp, ebp
pop ebp
ret 0x10
Function at 0x418570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 8]
xor bl, bl
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418624
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x4185af
cmp eax, 2
jne 0x418624
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 8], eax
je 0x418624
lea edx, [eax + 1]
test edx, edx
js 0x41862d
push esi
mov esi, dword [ebp + 0x10]
mov ecx, 1
push edi
mov edi, dword [esi]
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x4185e2
push edx
mov ecx, esi
call fcn.00418aa0
mov edi, dword [esi]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
call fcn.00418b00
mov eax, dword [esi]
test eax, eax
jne 0x4185fc
xor ecx, ecx
jmp 0x41860e
push dword [eax - 8]
push eax
call fcn.0043a963
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x41862d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x41862d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov bl, 1
pop edi
pop esi
mov word [eax + ecx*2], dx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.0040d970
int3
Function at 0x418b00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x418b71
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x418b3f
cmp eax, 2
jne 0x418b5b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x418b6b
test ecx, ecx
je 0x418b66
test cl, 1
jne 0x418b5b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x418b6b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x418bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x418c08
mov eax, 0xd
test eax, eax
sete al
pop ebp
ret 0xc
mov eax, edx
push esi
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418c10
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp + 8]
push edx
push 1
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
pop esi
sete al
pop ebp
ret 0xc
Function at 0x418f60
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x4a2a80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
test eax, eax
push esi
mov esi, 0x48bdf4
cmovne esi, eax
mov eax, esi
push edi
mov edi, ecx
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x418f90
sub eax, edx
push ebx
lea ebx, [eax + 1]
test ebx, ebx
je 0x418fc0
push ebx
call fcn.00436731
push ebx
push esi
push eax
mov dword [ebp - 0xe4], eax
call fcn.00437ad0
mov ebx, dword [ebp - 0xe4]
add esp, 0x10
jmp 0x418fc2
xor ebx, ebx
cmp dword [edi + 0x18], 0
je 0x418fd5
cmp dword [edi + 0x1c], 0
je 0x418fd5
mov ecx, edi
call fcn.0041abd0
mov esi, dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
lea eax, [ebp - 0xe0]
push eax
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x9c], 0xdc
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0x34], ecx
push eax
cmovb ecx, dword [ebp - 0x34]
push 0xffffffffffffffff
push 0
mov dword [edi + 0x18], ecx
mov dword [ebp - 0x9c], 0xdc
call esi
mov ecx, dword [ebp + 0xc]
cmp dword [ebp - 0x30], ecx
mov al, byte [ebp + 0x18]
cmovb ecx, dword [ebp - 0x30]
cmp dword [ebp + 0x14], 4
mov dword [edi + 0x1c], ecx
mov ecx, 3
cmovb ecx, dword [ebp + 0x14]
mov byte [edi + 0x30], al
mov al, byte [ebp + 0x1c]
mov dword [edi + 0x20], ecx
mov ecx, edi
mov dword [edi + 0x50], 0x80000000
mov dword [edi + 0x4c], 0x80000000
mov byte [edi + 0x60], al
mov word [edi + 0xbc], 0x100
mov dword [edi + 0x34], ebx
call fcn.0041bf50
cmp byte [edi + 0x30], 0
pop ebx
je 0x41906e
mov ecx, edi
call fcn.00419c00
push 8
call fcn.00436731
add esp, 4
mov esi, eax
push 0
push 0
mov dword [esi], edi
mov eax, dword [edi + 0x34]
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push 0
push 0
push 0
mov dword [edi + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x4191a0
push 0
push 0
mov dword [edi + 0xc4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [edi + 0xc4]
mov dword [edi + 0xc0], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00436441
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41abd0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x41acbb
cmp dword [esi + 0x1c], 0
je 0x41acbb
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push dword [esi + 0xc0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xdc]
call fcn.00436487
push dword [esi + 0x34]
call fcn.00436487
add esp, 8
mov dword [esi + 0xdc], 0
cmp byte [esi + 0x30], 0
mov dword [esi + 0x34], 0
je 0x41ac62
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x41ac3f
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp word [esi + 0x124], 0
mov dword [esi + 0xd0], 0
je 0x41ac62
push 0
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov ecx, esi
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x50], 0x80000000
mov dword [esi + 0x4c], 0x80000000
mov byte [esi + 0x30], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
call fcn.0041bf50
mov eax, esi
pop esi
ret
pop esi
jmp fcn.0041bf50
Function at 0x42b8c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a2a80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x42b997
cmp dword [esi + 0x1c], 0
je 0x42b997
cmp byte [esi + 0x60], 0
je 0x42b997
cmp byte [esi + 0x30], 0
mov byte [esi + 0x60], 0
je 0x42b900
call fcn.00419c00
push 5
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [esi + 0x60], 0
je 0x42b938
mov ecx, esi
mov dword [esi + 0x50], 0x80000000
mov dword [esi + 0x4c], 0x80000000
call fcn.0042a660
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436441
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x18]
dec eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x1c]
dec eax
mov dword [ebp - 0x14], 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push 0xcf0000
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x50], eax
call fcn.0042a660
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436441
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00436441
mov esp, ebp
pop ebp
ret
Function at 0x42c360
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450fac
mov eax, dword fs:[0]
push eax
mov eax, dword [0x4a2a80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4a46ec]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4a4350]
cmp eax, dword [ecx + 4]
jg 0x42c4e2
call fcn.004189f0
push 0xffffffffffffffff
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp + 0xc], 0
je 0x42c407
cmp byte [0x4a4348], 0
jne 0x42c3cf
push dword [0x4a434c]
call fcn.00436487
add esp, 4
xor eax, eax
mov dword [0x4a4344], 0
mov dword [0x4a4340], 0
mov dword [0x4a433c], 0
mov dword [0x4a4338], 0
mov byte [0x4a4348], 0
mov dword [0x4a434c], eax
jmp 0x42c40c
mov eax, dword [0x4a434c]
cmp dword [ebp + 8], 0
je 0x42c443
test eax, eax
jne 0x42c430
push 1
push 1
push 1
push 0x400
mov ecx, 0x4a4338
call fcn.00419fd0
mov eax, dword [0x4a434c]
push 0x3ff
push dword [ebp + 8]
push eax
call fcn.0043ab20
add esp, 0xc
jmp 0x42c4c0
test eax, eax
jne 0x42c4c0
push 1
push 1
push 1
push 0x104
mov ecx, 0x4a4338
call fcn.00419fd0
mov eax, dword [0x4a434c]
push 0
push 0x26
mov byte [eax], 0
push dword [0x4a434c]
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x42c4c0
push str.PROGRAMFILES
call fcn.0043a836
add esp, 4
test eax, eax
je 0x42c4a1
push 0x103
push eax
push dword [0x4a434c]
call fcn.0043ab20
add esp, 0xc
jmp 0x42c4c0
mov eax, dword [0x4a434c]
movq xmm0, qword [str.C:PROGRA1]
movq qword [eax], xmm0
mov eax, dword [0x4a434c]
mov ecx, dword [0x48c488]
mov dword [eax + 8], ecx
call fcn.004189f0
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x4a434c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push 0x4a4350
call fcn.00435f93
add esp, 4
cmp dword [0x4a4350], 0xffffffff
jne 0x42c3a2
mov dword [ebp - 4], 0
push 0x452420
mov dword [0x4a4338], 0
mov dword [0x4a433c], 0
mov dword [0x4a4340], 0
mov dword [0x4a4344], 0
mov byte [0x4a4348], 0
mov dword [0x4a434c], 0
call fcn.0043642c
mov dword [ebp - 4], 0xffffffff
push 0x4a4350
call fcn.00435f49
add esp, 8
jmp 0x42c3a2
Function at 0x42e990
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c4
mov eax, dword [0x4a2a80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x8bc], eax
mov dword [ebp - 0x8c4], ecx
mov ecx, edi
push ebx
mov eax, dword [edi]
mov dword [ebp - 0x8b8], ebx
mov eax, dword [eax + 8]
call eax
test al, al
je 0x42eb89
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00438050
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [ebp - 0x8bc]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x250
lea eax, [ebp - 0x8b4]
push esi
push eax
call fcn.00438050
add esp, 0xc
lea eax, [ebp - 0x8b4]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42ea6b
nop
test dword [ebp - 0x8b4], 0x10
jne 0x42ea51
mov eax, dword [edi]
lea ecx, [ebp - 0x8b4]
push ecx
push dword [ebp - 0x8b8]
mov ecx, edi
inc esi
call dword [eax + 0x10]
lea eax, [ebp - 0x8b4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x42ea30
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x42eb7c
push 0x48ddc4
push dword [ebp - 0x8b8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x250
lea eax, [ebp - 0x664]
push 0
push eax
call fcn.00438050
add esp, 0xc
lea eax, [ebp - 0x664]
push 0
push 0
push 1
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x8c0], eax
cmp eax, 0xffffffff
je 0x42eb7c
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00438050
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add esp, 0xc
nop word [eax + eax]
test dword [ebp - 0x664], 0x10
je 0x42eb58
lea eax, [ebp - 0x638]
push eax
push 0x48ddc8
call ebx
test eax, eax
je 0x42eb58
lea eax, [ebp - 0x638]
push eax
push 0x48ddcc
call ebx
test eax, eax
je 0x42eb58
lea eax, [ebp - 0x638]
push eax
push dword [ebp - 0x8b8]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x8c4]
lea eax, [ebp - 0x414]
push dword [ebp - 0x8bc]
push eax
push edi
call fcn.0042e990
add esi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x42eaf0
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [edi]
mov ecx, edi
push dword [ebp - 0x8b8]
call dword [edx + 0xc]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00436441
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42ebf0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x10]
sub eax, 1
je 0x42ec0c
sub eax, 1
je 0x42ec06
pop ebp
jmp fcn.0042ec20
pop ebp
jmp fcn.0042ed70
pop ebp
jmp fcn.0042ef60