joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5646d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x103000]
push edi
or ebp, 0xffffffff
jmp 0x5646f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5646f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5646e8
mov eax, 1
add ebx, ebx
jne 0x56470b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56471c
jne 0x56473b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56473b
dec eax
add ebx, ebx
jne 0x564728
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x564700
add ebx, ebx
jne 0x564737
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56478d
xor ecx, ecx
sub eax, 3
jb 0x564753
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5647c2
sar eax, 1
mov ebp, eax
jmp 0x56475e
add ebx, ebx
jne 0x56475e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56472c
inc ecx
add ebx, ebx
jne 0x56476c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56472c
add ebx, ebx
jne 0x564779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56476e
jne 0x56478a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56476e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5647ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56479e
jmp 0x5646ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5647ac
add edi, ecx
jmp 0x5646ee
pop esi
mov edi, esi
mov ecx, 0x5f8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5647ca
cmp byte [edi], 0x1f
jne 0x5647ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5647cf
lea edi, [esi + 0x161000]
mov eax, dword [edi]
or eax, eax
je 0x56483e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x166024]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x166114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5647fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x166118]
or eax, eax
je 0x564838
mov dword [ebx], eax
add ebx, 4
jmp 0x564819
call dword [esi + 0x166128]
mov ebp, dword [esi + 0x16611c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x564872
sub esp, 0xffffff80
jmp 0x4dd52c
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x30f95353
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x581c2677
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1000c11e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1000c13e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1000c12a
add dl, dl
jne 0x1000c149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1000c19a
xor eax, eax
add dl, dl
jne 0x1000c156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1000c23b
add dl, dl
jne 0x1000c165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1000c170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1000c17b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1000c186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1000c190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1000c135
mov eax, 1
add dl, dl
jne 0x1000c1a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1000c1b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1000c19f
sub eax, ebx
mov ebx, 1
jne 0x1000c1e6
mov ecx, 1
add dl, dl
jne 0x1000c1cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1000c1d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1000c1c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1000c135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1000c1fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1000c208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1000c1f4
cmp eax, 0x7d00
jae 0x1000c22b
cmp eax, 0x500
jb 0x1000c226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1000c135
cmp eax, 0x7f
ja 0x1000c22e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1000c135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1000c25c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1000c135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40178b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jg 0x4017c9
jl 0x4017ad
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x7fffffff
ja 0x4017c9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0xffffffff
jg 0x4017ce
jl 0x4017c9
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0x80000001
jae 0x4017ce
jmp 0x401856
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 8]
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
inc eax
push eax
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x401856
and dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xc]
jae 0x401856
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x14]
push eax
call fcn.004016b8
pop ecx
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401849
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jae 0x40184b
jmp 0x401856
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4017fd
leave
ret

Function at 0x402a75
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0x14c
mov eax, dword [0x4093a8]
xor eax, ebp
mov dword [ebp + 0xc8], eax
mov eax, dword [ebp + 0xd4]
push ebx
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor ebx, ebx
test eax, eax
jne 0x402af2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x136
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x402ad2
mov byte [ebp - 0x71], bl
jmp 0x402ae4
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
mov byte [ebp - 0x71], 1
call edi
add esp, 0x10
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x71], bl
jne 0x402afd
push dword [ebp - 0x78]
push ebx
push ebx
push esi
call edi
add esp, 0x10
mov ecx, dword [ebp + 0xc8]
xor ecx, ebp
pop ebx
call fcn.00402e61
add ebp, 0xcc
leave
ret

Function at 0x402e61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4093a8]
jne 0x402e6b
repz ret
jmp fcn.004033ae

Function at 0x401750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push eax
add ecx, 0x40
push 0xda406574
adc byte [ebx + 0x40c18015], cl
add byte [ecx + 0x41a5ac], ah
sbb byte [ebx + 0x741e85ff], dh
invalid
Function at 0x4010f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x434a01
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4455e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], 3
xor esi, esi
call fcn.00404ac8
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40113f
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x2c]
add eax, 0x10
mov dword [ecx], eax
mov ebx, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x14], 1
add esi, 0x800
test edi, edi
je 0x401176
push edi
call fcn.0040409d
add esp, 4
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004040a2
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
push eax
push esi
push edi
push ecx
push edx
push ebx
call ebp
lea ecx, [esi - 2]
cmp eax, ecx
je 0x401163
test edi, edi
jne 0x4011b9
xor eax, eax
jmp 0x4011cf
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4011c0
sub eax, edx
sar eax, 1
mov esi, dword [esp + 0x2c]
push eax
push edi
mov ecx, esi
call fcn.00401a80
push edi
call fcn.0040409d
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x20], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401206
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40122b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14

Function at 0x401660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401679
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4016b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4016b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016a0
cmp esi, eax
jb 0x4016ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x401e00
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4455e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
xor ebx, ebx
push ebx
push str.Shell_TrayWnd
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x401e7d
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [esp + 0xc]
push ecx
push 0x401cc0
push eax
call esi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x401e73
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x401e6f
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push 0x401d60
push eax
mov dword [esp + 0x28], ebx
call esi
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x401e6f
mov dword [esp + 0x10], esi
jmp 0x401e79
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov esi, eax
cmp esi, ebx
jne 0x401e90
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041f0f4
add esp, 0x3c
ret
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x401e7d
push edi
push eax
push ebx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
jne 0x401ed4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041f0f4
add esp, 0x3c
ret
push ebp
push ebx
push ebx
push 0x418
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0x1000
push 0x14
push ebx
mov ebp, eax
push edi
mov dword [esp + 0x44], ebp
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
cmp esi, ebx
je 0x401fca
cmp ebp, 1
jl 0x401fca
cmp ebp, ebx
mov dword [esp + 0x20], ebx
jle 0x401f9d
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov edx, dword [esp + 0x18]
push esi
push ebx
push 0x417
push edx
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x10]
push eax
push 0x14
lea ecx, [esp + 0x3c]
push ecx
push esi
push edi
call ebp
cmp dword [esp + 0x10], 0x14
jb 0x401f8a
mov ecx, dword [esp + 0x40]
xor eax, eax
lea edx, [esp + 0x10]
push edx
push 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push ecx
push edi
call ebp
cmp dword [esp + 0x10], 8
jb 0x401f8a
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x28], edx
jne 0x401f8a
cmp dword [esp + 0x2c], 0x81
je 0x401f95
add ebx, 1
cmp ebx, dword [esp + 0x30]
jl 0x401f20
jmp 0x401f9d
mov dword [esp + 0x20], 1
push 0x8000
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041f0f4
add esp, 0x3c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x48]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041f0f4
add esp, 0x3c
ret
Function at 0x401ff0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x38
mov eax, dword [0x4455e0]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
xor ebp, ebp
push ebp
push str.Shell_TrayWnd
mov dword [esp + 0x14], ebp
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebp
je 0x402062
mov esi, dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [esp + 0xc]
push ecx
push 0x401cc0
push eax
call esi
mov ebx, dword [esp + 0xc]
cmp ebx, ebp
je 0x402062
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40205a
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push 0x401d60
push eax
mov dword [esp + 0x28], ebp
call esi
mov ebx, dword [esp + 0x1c]
cmp ebx, ebp
jne 0x402076
mov ebx, dword [esp + 0xc]
cmp ebx, ebp
jne 0x402076
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0041f0f4
add esp, 0x38
ret
lea ecx, [esp + 0x14]
push ecx
push ebx
mov dword [esp + 0x1c], 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
cmp eax, ebp
jbe 0x402062
push edi
push eax
push ebp
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebp
je 0x4021ca
push ebp
push ebp
push 0x418
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0x1000
push 0x14
push 0
mov ebp, eax
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x4021c3
cmp ebp, 1
jl 0x4021c3
xor ebp, ebp
cmp dword [esp + 0x24], ebp
mov dword [esp + 0x1c], 0
jle 0x402196
push esi
push ebp
push 0x417
push ebx
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x14]
push edx
push 0x14
lea eax, [esp + 0x38]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 0x14
jb 0x402165
lea ecx, [esp + 0x14]
push ecx
xor eax, eax
push 8
lea edx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp dword [esp + 0x14], 8
jb 0x402165
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x28], ecx
jne 0x402165
cmp dword [esp + 0x2c], 0x81
je 0x402170
add ebp, 1
cmp ebp, dword [esp + 0x24]
jl 0x4020f7
jmp 0x402196
test byte [esp + 0x38], 8
je 0x402186
push 0
push ebp
push 0x404
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x1c], 1
push 0x8000
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0041f0f4
add esp, 0x38
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0041f0f4
add esp, 0x38
ret
Function at 0x4022a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x434c99
mov eax, dword fs:[0]
push eax
sub esp, 0x664
mov eax, dword [0x4455e0]
xor eax, esp
mov dword [esp + 0x65c], eax
push esi
push edi
mov eax, dword [0x4455e0]
xor eax, esp
push eax
lea eax, [esp + 0x670]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.004052cc
push 0
call fcn.0040619c
add esp, 4
push 0x104
lea ecx, [esp + 0x460]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x402455
lea edx, [esp + 0x45c]
push 0x5c
push edx
call fcn.0041f6f0
lea edx, [eax + 2]
mov eax, 0x43b9f0
add esp, 8
mov word [edx], 0
sub edx, eax
jmp 0x402350
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x402350
push 8
call fcn.00404072
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
test edi, edi
mov dword [esp + 0x678], 0
je 0x40239a
push ecx
lea eax, [esp + 0x460]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.00401940
push edi
call section..text
jmp 0x40239c
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x678], edi
mov dword [esi + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
push eax
lea ecx, [esi + 0xac]
push str.0x_04x
push ecx
call fcn.00402690
add esp, 0xc
push str.VIA_USB3_Monitor
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4023f3
call fcn.00402480
jmp 0x402455
cmp dword [esi + 0xa8], 0
je 0x402455
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.00406711
lea edx, [esp + 0x1c]
push edx
call fcn.004026c0
lea eax, [esp + 0x1c]
push 0
mov dword [esp + 0x67c], 1
push 0x66
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.00407239
push 0
lea ecx, [esp + 0x20]
call fcn.00407411
push 0
lea ecx, [esp + 0x20]
call fcn.00409e7a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x678], edi
call fcn.004027a0
xor eax, eax
mov ecx, dword [esp + 0x670]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x65c]
xor ecx, esp
call fcn.0041f0f4
mov esp, ebp
pop ebp
ret