joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d46d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
fld qword [0x4dd080]
push ebp
push esi
fstp qword [esp + 0x10]
push edi
xor edi, edi
push edi
mov esi, ecx
call fcn.00482eef
fld qword [0x4dba90]
mov dword [esp + 0x10], eax
fstp qword [esp + 0x30]
add esp, 4
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], edi
call fcn.00401900
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
lea ecx, [esp + 0x38]
call fcn.004066b0
mov ebp, dword [esp + 0xd0]
test ebp, ebp
je 0x4081fa
mov edi, dword [esi + 0x2d8]
jmp 0x408200
mov edi, dword [esi + 0x2f0]
push str._Y__m__d__H:_M
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
call fcn.004078d0
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0xcc], 0
call dword [edx + 0x2c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
je 0x40823d
push eax
call fcn.00482838
add esp, 4
fld qword [0x4dd058]
xor edi, edi
push edi
fstp qword [esp + 0x18]
call fcn.00482eef
fld qword [0x4dba90]
mov dword [esp + 0x14], edx
fstp qword [esp + 0x24]
add esp, 4
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edi
call fcn.00401900
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 4], edx
lea ecx, [esp + 0x2c]
mov dword [eax + 8], edi
call fcn.00406640
test ebp, ebp
je 0x4082a0
mov edi, dword [esi + 0x2dc]
jmp 0x4082a6
mov edi, dword [esi + 0x2f4]
push str._Y__m__d__H:_M
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.004078d0
mov eax, dword [eax]
mov edx, dword [edi]
push eax
mov ecx, edi
mov dword [esp + 0xcc], 1
call dword [edx + 0x2c]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
cmp eax, ecx
mov dword [esp + 0xc8], 0xffffffff
je 0x4082ee
push eax
call fcn.00482838
add esp, 4
test ebp, ebp
je 0x408345
mov eax, dword [esi + 0x2d4]
mov edx, dword [eax + 0x3ec]
lea ecx, [eax + 0x3ec]
push 0
call dword [edx + 8]
mov eax, dword [esi + 0x2e4]
lea ecx, [eax + 0x3ec]
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov eax, dword [esi + 0x2e8]
mov edx, dword [eax + 0x3ec]
lea ecx, [eax + 0x3ec]
push 1
call dword [edx + 8]
mov ecx, dword [esi + 0x2e0]
mov eax, dword [ecx]
push 0x4e61d0
call dword [eax + 0x2c]
jmp 0x40836c
mov ecx, dword [esi + 0x2f8]
mov edx, dword [ecx]
push 0x4e61d0
call dword [edx + 0x2c]
mov esi, dword [esi + 0x2fc]
mov eax, dword [esi + 0x3ec]
lea ecx, [esi + 0x3ec]
push 1
call dword [eax + 8]
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc0
ret 4
Function at 0x409e90
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
test edi, edi
mov esi, ecx
je 0x409eb8
push edi
call fcn.00482726
add esp, 4
test eax, eax
jbe 0x409eb8
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x10]
call fcn.00401550
mov ecx, esi
mov dword [esi + 0xa0], 0xfe
call fcn.00409c10
mov edx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x2c], eax
push 2
mov dword [esp + 0x34], eax
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edi, dword [esi + 0x98]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esi + 0x9c]
sub eax, edi
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, ebx
sub eax, edx
push 0x50
cdq
push ebx
sub eax, edx
push edi
sar eax, 1
push eax
mov eax, dword [esi + 4]
sar ecx, 1
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push 0
push 0x14
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x40bba0
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 0x40bbb9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40bbcd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40bbee
cmp esi, eax
jae 0x40bbc7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40bbe0
cmp esi, eax
jae 0x40bbc7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x412ec0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4d50cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
mov eax, dword [0x50ba00]
push esi
push edi
mov edi, dword [esp + 0x304]
test edi, edi
mov dword [esp + 0x2f0], eax
mov esi, ecx
je 0x412f04
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x412f0b
xor eax, eax
jmp 0x412fc1
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x308]
test eax, eax
je 0x412fbc
mov eax, dword [esi + 0x318]
push 0x64
push eax
push edi
call fcn.00452d10
lea ecx, [esp + 0x278]
mov dword [esp + 0x274], ecx
mov dword [esp + 0x2f8], 0
mov word [esp + 0x278], 0
mov esi, dword [esi + 0x318]
lea edx, [esp + 0x274]
push edx
push esi
mov dword [esp + 0x310], 0
call fcn.0043dd70
add esp, 0x14
test eax, eax
jne 0x412fa1
mov eax, dword [esp + 0x268]
push eax
lea ecx, [esp + 0xc]
push str.DoShareImage._Call_SetShareImage._Error:__s
push ecx
call fcn.004c9ff0
add esp, 0xc
mov eax, dword [esp + 0x268]
lea edx, [esp + 0x26c]
cmp eax, edx
je 0x412fbc
push eax
call fcn.00482838
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2f4]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2ec]
pop esi
call fcn.00482423
add esp, 0x2f8
ret 8

Function at 0x4174b0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push 0x4dfebc
mov esi, ecx
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
mov ebx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
call edi
push 1
mov dword [esi + 0x40], eax
call edi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esi + 0x44], eax
lea eax, [esp + 0x10]
push eax
push ebx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebp
jne 0x417523
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x44]
jne 0x417523
cmp dword [esp + 0x10], ebp
jne 0x41751a
mov dword [esi + 0x4c], 3
jmp 0x41754b
mov dword [esi + 0x4c], 4
jmp 0x41754b
cmp dword [esp + 0x10], ebp
jne 0x417548
mov edx, dword [esp + 0x18]
cmp edx, dword [esi + 0x40]
jne 0x417548
cmp eax, ebp
jne 0x41753f
mov dword [esi + 0x4c], 1
jmp 0x41754b
mov dword [esi + 0x4c], 2
jmp 0x41754b
mov dword [esi + 0x4c], ebp
cmp ebx, ebp
je 0x417579
mov eax, dword [esi + 0x4c]
cmp eax, 3
je 0x417579
cmp eax, 4
je 0x417579
lea eax, [esp + 0x10]
push eax
push ebx
call edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
pop edi
sub ecx, eax
mov dword [esi + 0x48], ecx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov dword [esi + 0x48], ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x417fc0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x112
push esi
mov esi, ecx
ja 0x418072
je 0x418041
sub eax, 3
je 0x418023
sub eax, 3
je 0x418005
sub eax, 0x7e
jne 0x418085
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00417a40
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00417670
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00417430
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
cmp dword [esp + 0xc], 0xf020
jne 0x418085
mov ecx, dword [esi]
lea eax, [esi + 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
sub eax, 0x113
je 0x4180d3
sub eax, 0x101
je 0x4180b5
sub eax, 2
je 0x418097
mov eax, 1
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004178c0
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, esi
call fcn.00417ad0
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.00417e60
xor ecx, ecx
test eax, eax
sete cl
pop esi
mov eax, ecx
ret 0xc
Function at 0x419947
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
mov esi, ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x4199c0
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.00418930
mov eax, dword [esp + 4]
mov ecx, dword [esi + 0x10]
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x24]
push 0
push 0x50000000
mov dword [edx + 0xc], eax
mov edx, dword [ecx]
push 0
call dword [edx + 0x1c]
mov ecx, eax
call fcn.00498800
push eax
mov ecx, esi
call fcn.004986c0
mov eax, dword [esi + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 4]
and eax, 0xfffffdff
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0xcc]
dec eax
neg eax
sbb eax, eax
inc eax
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x10]
movzx ecx, word [eax + 0x602]
movzx edx, word [eax + 0x600]
push ecx
push edx
push 0x403
mov ecx, esi
call fcn.00498080
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov ch, byte [eax + 0x5fe]
push 0
mov cl, byte [eax + 0x5fc]
push ecx
push 0x401
mov ecx, esi
call fcn.00498080
mov edx, dword [esi + 4]
push 4
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
add esp, 0x10
ret 4

Function at 0x41c860
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x50ba00]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x224], eax
mov eax, dword [ebp + 0xc]
push ebx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edx, eax
mov eax, dword [ebp + 0x10]
shl edx, 0x10
cmp eax, ebx
je 0x41c89e
or edx, 0x1000000
xor eax, eax
mov word [esp + 0x10], bx
mov ecx, 0x82
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
push 0x104
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
cmp eax, 0x104
jl 0x41c8cd
mov eax, 0x104
mov esi, dword [ebp + 8]
mov word [esp + eax*2 + 0x10], bx
lea eax, [esi + 4]
push 0xffffffffffffffff
lea edx, [esp + 0x14]
push edx
mov ecx, esi
mov dword [esi], eax
mov dword [esi + 0x84], ebx
mov word [eax], bx
call fcn.00401550
mov ecx, dword [esp + 0x224]
mov eax, esi
call fcn.00482423
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422870
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
push edi
mov edi, ecx
je 0x422887
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42288e
pop edi
xor eax, eax
pop esi
ret 0x10
push 0x61c
call fcn.004cab91
add esp, 4
test eax, eax
je 0x4228c7
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push esi
mov ecx, eax
call fcn.00422810
push eax
lea ecx, [edi + 0x26c]
call fcn.00497840
pop edi
pop esi
ret 0x10
xor eax, eax
push eax
lea ecx, [edi + 0x26c]
call fcn.00497840
pop edi
pop esi
ret 0x10
Function at 0x423162
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4d5e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x50ba00]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x290]
lea ecx, [eax + 0x3ac]
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
mov ebx, eax
dec ebx
js 0x423202
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
mov ecx, dword [esi + 0x290]
mov edx, dword [ecx + 0x3ac]
add ecx, 0x3ac
push ebx
call dword [edx]
mov edi, eax
test edi, edi
je 0x4231ff
mov ecx, edi
call fcn.004184b0
test eax, eax
je 0x4231ff
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.004184f0
mov ecx, dword [esi + 0x288]
push eax
call fcn.004183e0
test eax, eax
je 0x4231df
mov ecx, dword [esi + 0x288]
push 0
call fcn.00418390
mov ecx, edi
call fcn.00419790
push eax
call ebp
mov ecx, dword [esi + 0x290]
mov edx, dword [ecx + 0x3ac]
add ecx, 0x3ac
push ebx
call dword [edx + 0x1c]
dec ebx
jns 0x423190
xor ebp, ebp
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x9c], ebp
mov word [esp + 0x1c], bp
mov eax, dword [esi + 0x290]
mov edx, dword [eax + 0x3ac]
lea ecx, [eax + 0x3ac]
mov dword [esp + 0xac], ebp
call dword [edx + 0xc]
test eax, eax
jle 0x4232b3
jmp 0x423240
mov eax, dword [esi + 0x290]
lea ecx, [eax + 0x3ac]
mov eax, dword [ecx]
push ebp
call dword [eax]
mov edi, eax
test edi, edi
je 0x42329d
mov eax, dword [esi + 0x28c]
mov edx, dword [eax + 0x3ac]
lea ecx, [eax + 0x3ac]
call dword [edx + 0xc]
mov ebx, eax
add ebx, ebp
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x1c]
push 0x4e1668
push ecx
call fcn.00404af0
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
add esp, 0xc
push eax
mov ecx, edi
call dword [edx + 0x2c]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0xbc]
mov eax, dword [esi + 0x290]
lea ecx, [eax + 0x3ac]
mov eax, dword [ecx]
inc ebp
call dword [eax + 0xc]
cmp ebp, eax
jl 0x423240
mov eax, dword [esi + 0x290]
lea edi, [eax + 0x3ac]
mov eax, dword [esi + 0x28c]
mov edx, dword [eax + 0x3ac]
lea ecx, [eax + 0x3ac]
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add ebx, eax
push ebx
lea ecx, [esp + 0x1c]
push 0x4dc7d0
push ecx
call fcn.00404af0
mov ecx, dword [esi + 0x2ac]
mov eax, dword [esp + 0x24]
mov edx, dword [ecx]
add esp, 0xc
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
lea ecx, [esp + 0x14]
cmp eax, ecx
pop ebp
pop ebx
je 0x42331b
push eax
call fcn.00482838
add esp, 4
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x90]
call fcn.00482423
add esp, 0xa0
ret
Function at 0x424f70
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x14
mov edx, dword [ecx + 0x420]
mov eax, dword [ecx + 0x428]
cmp edx, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
jl 0x424f8f
mov dword [esp + 0xc], eax
push esi
push edi
mov edi, dword [ecx + 0x424]
mov ecx, dword [ecx + 0x42c]
cmp edi, ecx
mov dword [esp + 0x18], edi
jl 0x424fa9
mov dword [esp + 0x18], ecx
sub eax, edx
cdq
mov esi, eax
xor esi, edx
mov eax, ecx
sub eax, edi
sub esi, edx
cdq
mov edi, eax
xor edi, edx
sub edi, edx
test esi, esi
je 0x425064
test edi, edi
je 0x425064
push ebp
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0xc], ebp
je 0x425059
push ebx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x42504f
push edi
push esi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x14], eax
je 0x425048
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0xcc0020
mov ebp, eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [edx + 0x3f0]
push ecx
push eax
push edi
push esi
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test ebp, ebp
je 0x425044
push ebp
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [esp + 0x10]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x4252a0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d5f66
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0xc0]
test eax, eax
jne 0x4252d7
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push ebx
push ebp
push esi
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.00424420
push eax
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
lea esi, [edi + 0x3f0]
mov ecx, esi
call fcn.00451810
test eax, eax
je 0x425337
push 0x24
call fcn.004cab91
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x44], 0
je 0x425394
mov ecx, dword [edi + 0x3ec]
mov ecx, dword [ecx + 4]
push 1
lea edx, [esp + 0x20]
push edx
push ecx
mov ecx, eax
call fcn.00422480
jmp 0x425396
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
sub ebp, ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], edi
call fcn.004517a0
push 0x24
mov esi, eax
call fcn.004cab91
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov dword [esp + 0x44], 1
je 0x425394
mov esi, dword [esi + 4]
push 1
lea edx, [esp + 0x20]
push edx
push esi
mov ecx, eax
call fcn.00422480
jmp 0x425396
xor eax, eax
mov esi, eax
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x14]
sub eax, edi
sub ecx, edx
xor ebx, ebx
push ebx
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
test ebp, ebp
je 0x425439
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x425430
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x425429
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x425429
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
test esi, esi
je 0x425445
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4265e0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push 1
lea eax, [esi + 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
je 0x426602
xor eax, eax
pop esi
add esp, 0x10
ret 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [esi + 0x290], ebx
call edi
push 0
mov ebp, eax
call edi
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
cmp eax, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebp
lea edi, [esi + 0x268]
je 0x426649
push eax
mov ecx, edi
call fcn.00421fe0
jmp 0x426660
xor edx, edx
cmp ebx, ecx
sete dl
lea eax, [esp + 0x10]
push edx
push 1
push eax
push ecx
mov ecx, edi
call fcn.00422260
mov ecx, dword [esi + 0x294]
push ebx
call fcn.00423e00
mov ecx, dword [esi + 0x294]
push edi
call fcn.00424e80
mov ecx, dword [esi + 0x298]
call fcn.00424d60
mov ecx, dword [esi + 0x2d0]
push 0xffff0000
call fcn.0049d850
mov ecx, dword [esi + 0x2c4]
push 1
call fcn.004a1250
mov ecx, dword [esi + 0x2d0]
call fcn.0049c8a0
mov ecx, esi
mov ebx, eax
call fcn.00426490
mov ecx, dword [esi + 0x298]
movzx edx, bh
mov dh, bl
mov edi, eax
shr ebx, 0x10
movzx eax, bl
mov dword [ecx + 0x458], edi
shl edx, 8
or edx, eax
mov dword [ecx + 0x454], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret 8

Function at 0x426790
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
lea eax, [esi + 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x29c]
mov edx, dword [ecx]
push 0
call dword [edx + 0xc4]
mov ecx, dword [esi + 0x2a0]
push 0
call fcn.004a1250
mov ecx, dword [esi + 0x2a4]
push 0
call fcn.004a1250
mov ecx, dword [esi + 0x2a8]
push 0
call fcn.004a1250
mov ecx, dword [esi + 0x2ac]
push 0
call fcn.004a1250
mov ecx, dword [esi + 0x298]
pop esi
jmp fcn.00424d60
Function at 0x428c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebp
push esi
call fcn.00498780
movzx ecx, word [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
test ebp, ebp
je 0x428ccb
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esp + 0x14], eax
push ebp
je 0x428cc5
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [esp + 0xc], eax
jne 0x428cd3
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
push ebx
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x428cf3
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x10]
push ecx
push 1
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
pop edi
jge 0x428d55
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 8
ret
mov edx, dword [esp + 0xc]
push 0
push edx
call fcn.00428960
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
add esp, 8
push eax
call dword [ecx + 8]
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 8
ret