joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fff0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x450023
push esi
call fcn.004530f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45001c
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 0x4500a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x450092
mov eax, dword [esi + 8]
test eax, eax
je 0x450047
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 0x45008e
cmp eax, 2
je 0x450092
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45003a
cmp eax, 3
je 0x45006d
cmp eax, 1
jne 0x45003a
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 0x45003a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45003a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004500d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4500b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004500d0
add esp, 4
pop esi
ret

Function at 0x45c180
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45c223
test eax, eax
jbe 0x45c223
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45c223
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45c1ce
xor esi, esi
jmp 0x45c1d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45c1ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045fbd0
add esi, eax
push esi
mov ebx, esi
call fcn.0045fbd0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45c1e0
pop ebp
test edi, edi
pop edi
jne 0x45c223
test ebx, ebx
je 0x45c223
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00466630
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45c365
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45c47d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45c47d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00477518
mov esi, eax
test esi, esi
je 0x45c47d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45c47d
mov ecx, esi
call fcn.0045c2d0
cmp edi, eax
jge 0x45c47d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45c403
mov dword [esp + 0x34], 1
jmp 0x45c45e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45c47d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045b840
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4614a0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4614ea
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x461519
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x46155b
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x477ebb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x477ef3
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.00475f48
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00475f20
jmp 0x477eff
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4795a9
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 0x4795eb
call fcn.0047f065
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4795eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4795e2
xor eax, eax
jmp 0x4795f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004795f9
pop edi
pop esi
pop ebx
ret 4

Function at 0x47f595
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 0x47f5c3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47f5e1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047f4fb
jmp 0x47f5e1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47f5e1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047f4fb
test edi, edi
mov eax, edi
jne 0x47f5cb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402400
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x402414
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402420
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push 0x42
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40249c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x402493
push dword [ebp - 4]
push dword [ebp + 8]
push eax
call fcn.004159b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x402493
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x402493
mov edi, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor edi, edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4029c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0xc], edi
shl eax, cl
cmp edx, eax
ja 0x402aff
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 4], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.004028c0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x402ada
mov ecx, edx
movzx eax, byte [ecx + 8]
mov edx, dword [edx]
xor eax, 0x811c9dc5
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
mov edi, dword [eax + esi*8]
lea ebx, [eax + esi*8]
mov dword [ebp + 8], ebx
cmp edi, dword [ebp - 4]
jne 0x402a5c
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x402acc
mov eax, dword [ebx + 4]
movzx esi, word [ecx + 8]
cmp si, word [eax + 8]
jne 0x402a95
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x402a90
mov edi, dword [ecx + 4]
mov ebx, dword [ebp - 8]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
jmp 0x402acc
mov esi, eax
cmp edi, eax
je 0x402aaf
movzx ebx, word [ecx + 8]
nop
mov eax, dword [eax + 4]
mov esi, eax
cmp bx, word [eax + 8]
je 0x402ae3
cmp edi, eax
jne 0x402aa0
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, edx
mov edi, dword [ebp - 0xc]
cmp edx, dword [ebp - 4]
jne 0x402a22
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x402acc
push str.invalid_hash_bucket_count
call fcn.00414a34
int3
Function at 0x4034e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4257eb
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x433074]
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 edi, ecx
cmp dword [edi + 0x28], 0
lea edx, [edi + 0x28]
mov dword [ebp - 0x12c], edi
mov ebx, edi
je 0x403612
cmp byte [edi + 0xa4], 0
lea eax, [edi + 0x64]
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], 0x8000
je 0x40355d
lea ecx, [edi + 0x74]
call fcn.00406e40
mov byte [edi + 0xa4], 0
lea edx, [edi + 0x28]
push dword [ebp - 0x130]
lea eax, [edx + 6]
push eax
lea ecx, [edx + 5]
add edx, 4
push ecx
push edx
lea eax, [edi + 0x28]
push eax
lea eax, [ebp - 0x134]
push eax
lea esi, [edi + 4]
push esi
lea esi, [edi + 0x74]
push esi
call fcn.00402b40
add esp, 0x20
mov byte [esi + 0x30], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x40362a
cmp byte [edi + 0xa4], 0
je 0x40362a
lea ecx, [edi + 0x74]
call fcn.00406e40
mov byte [edi + 0xa4], 0
cmp dword [edi + 0x30], 0
mov al, byte [ebx + 0x46d]
je 0x40375d
test al, al
jne 0x403773
movzx esi, byte [edi + 0x34]
neg esi
sbb esi, esi
and esi, 2
cmp byte [edi + 0x35], al
je 0x403655
or esi, 1
cmp byte [edi + 0x36], 0
je 0x40365e
or esi, 4
push 0x110
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], 0x114
push 0
push eax
call fcn.004163d0
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4036a9
cmp dword [ebp - 0x124], 6
ja 0x4036a3
jne 0x4036a9
cmp dword [ebp - 0x120], 1
jb 0x4036a9
or esi, 0x4000
push dword [edi + 0x30]
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
setne cl
mov byte [ebx + 0x46d], cl
test eax, eax
jne 0x403773
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4036dd
movzx eax, ax
or eax, 0x80070000
push 0
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00403d10
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x138]
push str.The_following_error_has_occurred_during_the_initialization_of_Textify:_n
push eax
call fcn.004031c0
add esp, 0x18
push 0x10
push str.Textify_keyboard_hotkey_initialization_error
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x138]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x403740
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x12c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x403773
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x403773
test al, al
je 0x403773
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov byte [ebx + 0x46d], 0
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.00414c7c
mov esp, ebp
pop ebp
ret
Function at 0x404e60
Capabilities:
Find taskbar
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42592d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x404e9c
mov eax, dword [ebx + 4]
push eax
call fcn.00402140
mov esi, eax
push esi
push 0x32
call fcn.004021f0
push esi
push 0x31
mov edi, eax
call fcn.004021f0
push edi
push eax
push pe_nt_image_headers32
push dword [0x433da8]
call fcn.00402320
mov esi, eax
add esp, 0x24
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x404edb
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [ebx + 0x24], esi
mov eax, dword [ebx + 4]
mov dword [ebx + 0xb0], 0x98
mov dword [ebx + 0xb4], eax
mov dword [ebx + 0xb8], 1
mov dword [ebx + 0xbc], 7
mov dword [ebx + 0xc0], 0x8001
mov dword [ebx + 0xc4], esi
mov dword [ebp - 4], 0
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x404fe5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
push dword [ebx + 4]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x404fdb
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or ecx, eax
jge 0x404f6e
push edi
lea ecx, [ebp - 0x10]
call fcn.00405ea0
mov esi, dword [ebp - 0x10]
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x404f8a
push dword [esi - 8]
push esi
call fcn.00418486
add esp, 8
test eax, eax
js 0x404fdb
cmp eax, dword [esi - 8]
jg 0x404fdb
mov dword [esi - 0xc], eax
xor ecx, ecx
push esi
mov word [esi + eax*2], cx
lea eax, [ebx + 0xc8]
push pe_nt_image_headers32
push eax
call fcn.00418422
add esp, 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x404fc9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402060
push 0x80004005
call fcn.00402060
int3

Function at 0x405320
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc
Function at 0x4056b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4259d5
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x433074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0x3e9
jne 0x4057cb
mov edx, dword [eax + 8]
cmp edx, 0xfffffffc
je 0x4056f9
cmp edx, 0xfffffffe
jne 0x4057cb
push 1
push 0
push 0
lea esi, [eax + 0x7c]
push esi
push 0x427708
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4057cb
lea ecx, [ebp - 0x10]
call fcn.00402d70
push 0xed
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00404ff0
lea ecx, [ebp + 0xc]
call fcn.00402d70
push 0xee
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00404ff0
push 1
push 0x427714
lea ecx, [ebp + 0xc]
call fcn.004033f0
test esi, esi
jne 0x405766
xor ecx, ecx
jmp 0x40577f
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x405770
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405770
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp + 0xc]
call fcn.004033f0
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
push 0x10
push edi
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4057b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x4057cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx + 0x20], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x405cc0
Capabilities:
Find taskbar

Disassembly:
push ebx
mov ebx, ecx
cmp byte [ebx + 0x3d], 0
jne 0x405d3f
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x405cdd
mov eax, dword [ebx + 4]
push esi
push edi
push eax
call fcn.00402140
mov esi, eax
push esi
push 0x32
call fcn.004021f0
push esi
push 0x31
mov edi, eax
call fcn.004021f0
push edi
push eax
push pe_nt_image_headers32
push dword [0x433da8]
call fcn.00402320
mov esi, eax
add esp, 0x24
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x405d1e
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
lea edi, [ebx + 0xb0]
mov dword [ebx + 0x24], esi
push edi
mov dword [ebx + 0xc4], esi
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call esi
push edi
push 1
call esi
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x406660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4066b9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4066b9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x4066aa
cmp esi, edx
jae 0x4066b9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406698
cmp esi, edx
jae 0x4066b9
cmp word [esi], 0
je 0x4066b9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x406700
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
push edi
sub eax, 0
je 0x40673f
sub eax, 1
jne 0x4068d3
cmp dword [ebp + 0xc], 0x87
jne 0x4068d3
push dword [ebp + 0x14]
mov dword [esi + 0x40], 1
call fcn.00408200
mov dword [ebx], eax
jmp 0x4068c9
mov eax, dword [ebp + 0xc]
cmp eax, 5
jne 0x4067b3
lea edi, [esi + 0x20]
neg edi
sbb edi, edi
and edi, esi
cmp byte [esi + 0x3c], 0
mov esi, dword [ebp + 0x10]
je 0x406786
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x406777
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40678b
test esi, esi
jne 0x406786
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40678b
cmp esi, 1
je 0x4067d3
mov edx, dword [ebp + 0x14]
lea ecx, [edi + 0x20]
mov eax, edx
shr eax, 0x10
cwde
push eax
movsx eax, dx
push eax
call fcn.00404440
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x24
jne 0x4067e5
cmp dword [esi + 0x34], 0xffffffff
je 0x4067d3
cmp dword [esi + 0x38], 0xffffffff
je 0x4067d3
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov dword [ebx], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp eax, 0x110
jne 0x40680c
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [esi + 0x40], 1
mov dword [ecx], eax
mov ecx, esi
call fcn.00408230
mov dword [ebx], eax
jmp 0x4068c9
cmp eax, 2
jne 0x406822
mov dword [esi + 0x40], 1
call fcn.004073d0
jmp 0x4068c3
cmp eax, 0x111
jne 0x4068d3
mov eax, dword [ebp + 0x10]
mov ecx, 0x300
mov edi, eax
shr edi, 0x10
cmp cx, di
jne 0x40687c
mov ecx, 0x3f2
cmp cx, ax
jne 0x40687c
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esi + 0x40], 1
push 0x3f2
push 0x300
mov dword [eax], ecx
mov ecx, esi
call fcn.00405330
mov dword [ebx], 0
cmp dword [esi + 0x40], 0
jne 0x4067d9
mov eax, dword [ebp + 0x10]
movzx eax, ax
mov ecx, 1
cmp cx, ax
jne 0x4068a0
push ecx
mov eax, esp
mov dword [esi + 0x40], ecx
mov ecx, dword [ebp + 0x14]
push 1
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.00408460
jmp 0x4068c3
mov ecx, 2
cmp cx, ax
jne 0x4068d3
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, esp
mov dword [esi + 0x40], 1
push 2
push edi
mov dword [eax], ecx
mov ecx, esi
call fcn.004080d0
mov dword [ebx], 0
cmp dword [esi + 0x40], 0
jne 0x4067d9
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18