joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a1c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ba58
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43a1f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43a30c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43a20d
mov eax, 0xffffffc7
jmp 0x43a30e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43a21e
cmp dword [esi + 8], eax
jne 0x43a20d
cmp dword [esi + 8], eax
jne 0x43a237
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43a237
mov eax, 0xffffffc7
jmp 0x43a30e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43a24b
push eax
mov ecx, ebx
call fcn.004399f0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00408ea0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43a27c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00408ec0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00439160
test eax, eax
mov dword [esp + 0x38], eax
je 0x43a2af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x49d840
call fcn.004090a0
mov eax, dword [esp + 0x38]
jmp 0x43a30e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043a020
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43a2f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043a040
mov esi, eax
test esi, esi
jne 0x43a323
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043a020
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43a2c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x49d840
call fcn.004090a0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x49d840
call fcn.004090a0
mov eax, esi
jmp 0x43a30e

Function at 0x43d440
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43d4a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43d4a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43d4a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43d4a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43d4e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x443630
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00472d1c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00442fd0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00472c4a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046f431
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046f431
push 1
push 0
push 0
mov ecx, esi
call fcn.0046f3d9
push 1
push 0
push 1
mov ecx, esi
call fcn.0046f3d9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00472d8e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4437b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00472d1c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00442fd0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00472c4a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x443874
cmp dword [esp + 0x40], 1
jne 0x443872
cmp ecx, eax
jge 0x443874
mov eax, ecx
cmp eax, 0xc8
jge 0x443880
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00443630
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00472d8e
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x444000
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47c113
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d851
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00472fc4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047451c
test eax, eax
je 0x44411c
mov ecx, dword [esp + 0x3c]
call fcn.00472ff1
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4440e0
push edi
mov ecx, esi
call fcn.004705b5
mov ecx, esi
call fcn.00444280
cmp dword [esp + 0x38], 1
jne 0x444115
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047071f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x446b30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x446b63
push esi
call fcn.00449c20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x446b5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x446be9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x446bd2
mov eax, dword [esi + 8]
test eax, eax
je 0x446b87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x446bce
cmp eax, 2
je 0x446bd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x446b7a
cmp eax, 3
je 0x446bad
cmp eax, 1
jne 0x446b7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x446b7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x446b7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00446c10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x446bf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00446c10
add esp, 4
pop esi
ret

Function at 0x46e647
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46e67f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046c6fe
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046c6d6
jmp 0x46e68b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46fd39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46fd7b
call fcn.00475a28
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46fd7b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46fd72
xor eax, eax
jmp 0x46fd83
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046fd89
pop edi
pop esi
pop ebx
ret 4

Function at 0x475f58
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x475f86
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475fa4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475ebe
jmp 0x475fa4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475fa4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475ebe
test edi, edi
mov eax, edi
jne 0x475f8e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40c5bf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40c5ce
pop dword [ebp - 0x24]
mov eax, 0x166abf9a
sub eax, 0x1629f9cc
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x4ea6c
push 0
mov eax, 0xc288dcf7
add eax, 0x3dbbd5b9
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x41c3
xor edi, edi
add edi, eax
mov esi, 0x9cdf165f
sub esi, 0x9c97b85f
add esi, dword [ebp - 0x24]
mov ebx, 0x418a15ae
add ebx, 0x4cb22274
add dword [ebp - 0x10], edi
mov edx, dword [esi]
add dword [ebp - 0x20], 0xc56d5d3c
sub edx, ebx
xor dword [ebp - 8], 0xc93010b2
mov dword [edi], edx
add edi, 0x12ab369c
add edi, 0xed54c968
add esi, 4
loop 0x40c629
add eax, 0xf9df
xor ebx, ebx
add ebx, eax
add eax, 0xeff7696f
sub eax, 0xeff7696a
mov ecx, 0x8643b438
add ecx, 0x79fc4bc8
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x7c6e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x209000]
push edi
or ebp, 0xffffffff
jmp 0x7c6e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7c6e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7c6e28
mov eax, 1
add ebx, ebx
jne 0x7c6e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7c6e40
jne 0x7c6e5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7c6e40
xor ecx, ecx
sub eax, 3
jb 0x7c6e70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7c6ee2
mov ebp, eax
add ebx, ebx
jne 0x7c6e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7c6e88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7c6eac
inc ecx
add ebx, ebx
jne 0x7c6e98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7c6e8d
jne 0x7c6ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7c6e8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7c6ecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7c6ebd
jmp 0x7c6e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7c6ecc
add edi, ecx
jmp 0x7c6e2e
pop esi
mov edi, esi
mov ecx, 0xc4e7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7c6eea
cmp byte [edi], 0x67
jne 0x7c6eea
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 0x7c6eef
lea edi, [esi + 0x3c2000]
mov eax, dword [edi]
or eax, eax
je 0x7c6f5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3c86d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3c87fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7c6f1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3c8800]
or eax, eax
je 0x7c6f58
mov dword [ebx], eax
add ebx, 4
jmp 0x7c6f39
call dword [esi + 0x3c8810]
mov ebp, dword [esi + 0x3c8804]
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 0x7c6f92
sub esp, 0xffffff80
jmp 0x5a54e0
Function at 0xfefb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0xfef0ac]
push esi
push edi
test eax, eax
jne 0xfefbcd
mov esi, 0xfef284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0xfefb8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0xfefb7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0xfef29c
mov dword [edx], eax
jl 0xfefb6d
mov ecx, dword [0xfef0ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0xfef2ac
push ecx
mov dword [0xfef0a4], eax
call fcn.00fefd80
add esp, 0xc
mov dword [0xfef0a8], eax
mov dword [ebp - 4], 0
mov esi, 0xfef284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0xfefc16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0xfefc16
cmp al, 0x5a
jg 0xfefc02
cmp al, 0x41
jl 0xfefc02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0xfefc08
xor al, 0x55
cmp cl, al
jne 0xfefc16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0xfefbe1
cmp byte [edx], 0
je 0xfefc36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0xfef29c
mov dword [ebp - 4], edx
jl 0xfefbd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0xfef280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x208
lea ecx, [esp]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 0x230]
mov ecx, dword [esp + 0x22c]
push edx
mov edx, dword [esp + 0x22c]
push eax
mov eax, dword [esp + 0x22c]
push ecx
mov ecx, dword [esp + 0x22c]
push edx
mov edx, dword [esp + 0x22c]
push eax
mov eax, dword [esp + 0x22c]
push ecx
push edx
mov edx, dword [esp + 0x22c]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x22c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
add esp, 0x208
ret 0x2c

Function at 0x401080
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
lea ecx, [esp]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edx, dword [esp + 0x230]
mov eax, dword [esp + 0x22c]
mov ecx, dword [esp + 0x228]
push edx
mov edx, dword [esp + 0x228]
push eax
mov eax, dword [esp + 0x228]
push ecx
mov ecx, dword [esp + 0x228]
push edx
mov edx, dword [esp + 0x228]
push eax
mov eax, dword [esp + 0x228]
push ecx
push edx
mov edx, dword [esp + 0x228]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
add esp, 0x208
ret 0x28
Function at 0x401de0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, dword [esp + 0x68]
push edi
xor ebx, ebx
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], ebx
cmp esi, ebx
rep stosd dword es:[edi], eax
jne 0x401e08
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
lea eax, [esp + 0x1c]
push eax
push 4
call fcn.00401ce0
add esp, 8
test al, 1
je 0x401ec7
push ebx
push str.Shell_TrayWnd
mov dword [esp + 0x24], 0x24
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
push 7
mov dword [esp + 0x30], 3
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x401e58
mov edx, dword [esp + 0x28]
mov dword [esi], edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], ebx
push eax
push 7
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x401e75
mov ecx, dword [esp + 0x28]
mov dword [esi], ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], 2
push edx
push 7
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x401e96
mov eax, dword [esp + 0x28]
mov dword [esi], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 1
push ecx
push 7
call fcn.00401ce0
add esp, 8
test eax, eax
je 0x401fa0
mov edx, dword [esp + 0x28]
pop edi
mov dword [esi], edx
pop esi
mov eax, 1
pop ebx
add esp, 0x5c
ret
xor eax, eax
mov ecx, 9
mov dword [esp + 0x10], eax
lea edi, [esp + 0x44]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ebp
push ecx
push ebx
push str.Shell_TrayWnd
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x10]
push 2
push edx
call fcn.00401d60
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0x28
push ecx
push eax
call fcn.00401d20
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edi, edx
mov ebp, esi
add esp, 0x10
sub edi, eax
sub ebp, ecx
cmp ebp, edi
pop ebp
jle 0x401f78
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jg 0x401f56
cmp ecx, edx
jge 0x401f56
mov ecx, dword [esp + 0x6c]
mov dword [ecx], 1
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x401fa0
cmp ecx, edx
jg 0x401fa0
mov edx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, 1
mov dword [edx], 3
pop ebx
add esp, 0x5c
ret
mov eax, dword [esp + 0x44]
cmp ecx, eax
jg 0x401f8a
cmp eax, esi
jge 0x401f8a
mov eax, dword [esp + 0x6c]
mov dword [eax], ebx
mov eax, dword [esp + 0x4c]
cmp ecx, eax
jge 0x401fa0
cmp eax, esi
jg 0x401fa0
mov ecx, dword [esp + 0x6c]
mov dword [ecx], 2
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x5c
ret
Function at 0x402190
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x64
xor eax, eax
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], eax
push ebp
push str.Shell_TrayWnd
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x48], 0x28
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x50]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x1c], ebp
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x74]
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp edi, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
je 0x402360
mov eax, dword [edi + 0xc]
cmp eax, ebp
jne 0x40220e
cmp dword [edi + 4], ebp
je 0x402360
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [esp + 0x38], edx
sub eax, edx
mov edx, edi
push ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x44], eax
mov eax, dword [edx]
mov dword [esp + 0x38], ecx
sub ebx, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], ebp
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x30]
push edx
push ebp
push 0x46
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call ebx
lea eax, [esp + 0x30]
push eax
push ebp
push 0x47
push esi
call ebx
push ebp
push ebp
push 0x231
push esi
call ebx
lea ecx, [esp + 0x10]
push ecx
push 7
push 0x216
push esi
call ebx
mov eax, dword [edi + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
sub edx, eax
push ebp
push edx
mov edx, dword [edi + 8]
sub edx, ecx
push edx
push eax
push ecx
push ebp
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
push 7
push 0x214
push esi
mov dword [esp + 0x2c], edx
call ebx
lea ecx, [esp + 0x30]
push ecx
push ebp
push 0x46
push esi
call ebx
lea edx, [esp + 0x30]
push edx
push ebp
push 0x47
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push 4
push ebp
push 0x318
push esi
call ebx
push ebp
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 0
push 0x232
push esi
call ebx
push 2
push edi
call fcn.00401d60
lea ecx, [esp + 0x54]
push ecx
push eax
call fcn.00401d20
add esp, 0x10
lea edx, [esp + 0x50]
lea eax, [esp + 0x20]
push edi
push edx
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea ecx, [esp + 0x20]
push 2
push ecx
push 0
push 0x2f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 1
push 0
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x64
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x64
ret