joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b810
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x539010
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a8cf0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 0x418]
mov edi, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
mov dword [ebp - 0x14], eax
call dword [0x5aa5f0]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp], eax
push 2
push eax
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
mov dword [ebp - 0x18], edi
jne 0x40b89d
call fcn.00401660
mov esi, eax
jmp 0x40b985
mov ecx, dword [ebp - 0x14]
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40b8b9
call fcn.00401660
jmp 0x40b97c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x40b8d2
call fcn.00401660
jmp 0x40b97c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x14], esi
jae 0x40b908
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x40b8f6
lea ecx, [ebp]
call fcn.004026f0
lea ecx, [ebp - 0x1c]
call fcn.00402660
mov eax, 0x8007000e
jmp 0x40b9a2
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00404890
mov dword [ebp - 4], 1
jmp 0x40b931
mov ebx, dword [ebp]
test ebx, ebx
jne 0x40b93f
mov esi, 0x8007000e
jmp 0x40b97e
call dword [0x5aa5f0]
mov ecx, dword [ebp - 0x20]
push esi
push ebx
push esi
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40b960
call fcn.00401660
jmp 0x40b97c
mov edx, dword [ebp]
mov word [edx + eax*2], 0
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406790
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x40b9a0
lea ecx, [ebp]
call fcn.004026f0
jmp 0x40b9a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0051674d
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40d270
Capabilities:
Accept command line arguments

Disassembly:
push ecx
cmp byte [0x5aa998], 0
push esi
mov esi, ecx
je 0x40d285
or eax, 0xffffffff
pop esi
pop ecx
ret 4
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 4]
push ecx
push eax
mov ecx, esi
call fcn.0040c500
cmp al, 1
jne 0x40d2d5
mov edx, dword [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040cf90
test eax, eax
jne 0x40d2c7
mov ecx, esi
call fcn.00402220
mov ecx, esi
call fcn.004044a0
pop esi
pop ecx
ret 4
jl 0x40d2d9
mov ecx, esi
call fcn.004044a0
pop esi
pop ecx
ret 4
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
Function at 0x40d2e0
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.0049d6b0
call fcn.00401360
call fcn.004a4050
xor ebx, ebx
cmp al, bl
jne 0x40d321
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.00488980
call fcn.0049cff0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
call fcn.0049d4a0
cmp al, 1
jne 0x40d346
push 0x1bc
push ebx
call fcn.0049bda0
add esp, 8
mov eax, 0x10
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
mov esi, dword [esp + 0x34]
mov edi, str._QTPostInstallProc
mov ecx, 0x13
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40d36e
mov esi, dword [esp + 0x2c]
call fcn.004023b0
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdiplusStartup
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], 0x200
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00488980
call fcn.00499af0
mov edi, dword [esp + 0x30]
push edi
call fcn.004977d0
add esp, 8
call fcn.004977c0
mov esi, eax
call fcn.004023b0
push str.QTMLAmIniting
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp eax, ebx
mov dword [0x5aa7ec], eax
je 0x40d401
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x40
call fcn.004ce2c0
movzx eax, ax
add esp, 4
cmp ax, bx
je 0x40d431
movsx ecx, ax
push ecx
mov esi, edi
call fcn.00402460
add esp, 4
call fcn.00402430
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
push 0x258
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push eax
call fcn.0049c480
add esp, 4
call fcn.00404590
mov esi, eax
cmp esi, ebx
jne 0x40d464
mov edx, dword [esp + 0x38]
push edx
mov ecx, 0x5aa8a8
call fcn.0040d270
mov esi, eax
jmp 0x40d46f
push ebx
push 0x2e
call fcn.0049f1f0
add esp, 8
mov eax, dword [esp + 0xc]
push eax
call sub.gdiplus.dll_GdiplusShutdown
call fcn.0049d080
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
Function at 0x414a90
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xffffffffffffffff
push 0x5396e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004888c0
push eax
lea ecx, [esp + 0x18]
call fcn.004886b0
cmp dword [esi + 0x1bc], 0
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
mov ebp, dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x40], 0
je 0x414b4d
lea eax, [esp + 0x20]
push eax
call edi
mov ecx, dword [esi + 0x1bc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
mov edx, dword [eax + 0x4c]
call edx
push eax
call ebp
mov ecx, dword [esi + 0x1bc]
mov edx, dword [ecx]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx + 0x4c]
call eax
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x414b4d
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x1bc]
call fcn.0048fcf0
mov byte [esp + 0x40], 1
jmp 0x414bad
lea edx, [esp + 0x20]
push edx
call edi
mov ecx, dword [esi + 0x1d0]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
mov eax, dword [edx + 0x4c]
call eax
push eax
call ebp
mov ecx, dword [esi + 0x1d0]
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
mov edx, dword [eax + 0x4c]
call edx
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x414bdf
mov ecx, dword [esi + 0x1d0]
lea eax, [esp + 0x18]
push eax
call fcn.0048fcf0
mov byte [esp + 0x40], 2
push eax
lea ecx, [esp + 0x18]
call fcn.00488590
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.004884e0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.004886b0
mov ecx, esi
call fcn.00414680
jmp 0x414bf9
push ecx
lea eax, [esi + 0x1d4]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004886b0
mov ecx, esi
call fcn.00414350
lea ecx, [esp + 0x14]
mov dword [esp + 0x40], 0xffffffff
call fcn.004884e0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x415260
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x539788
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], ebx
call fcn.0041d2f0
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi]
mov eax, dword [edx + 0x1a0]
mov ecx, edi
call eax
mov esi, eax
cmp esi, ebx
je 0x4152df
mov edx, dword [esi]
mov eax, dword [edx + 0x268]
mov ecx, esi
call eax
test eax, eax
je 0x4152df
mov edx, dword [esi]
mov eax, dword [edx + 0x284]
mov ecx, esi
call eax
test eax, eax
je 0x4152df
mov ebx, 1
push edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x520f
call fcn.00415200
mov esi, dword [esp + 0x24]
mov ebp, dword [sym.imp.USER32.dll_CopyRect]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x16c]
push ecx
call ebp
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.004886b0
mov ecx, esi
call fcn.00414350
test ebx, ebx
je 0x415374
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esi + 0x188]
push edx
call ebp
push ebx
mov ecx, esi
mov dword [esi + 0xc8], 1
call fcn.004296c0
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, esi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41537e
mov dword [esi + 0xc8], 0
push edi
mov ecx, esi
call fcn.00428ab0
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push 0x582
mov ecx, esi
call edx
test eax, eax
je 0x41539f
mov ecx, eax
call fcn.0045b9b0
mov eax, dword [esp + 0x4c]
push edi
push eax
call fcn.004a27d0
add esp, 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0xffffffff
call fcn.004884e0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x41b4d0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x539bb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea edi, [esi + 0x1dc]
push edi
push 0
push 0x26
mov dword [esi + 0xbc], 1
mov dword [edi], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
xor eax, eax
cmp dword [edi], eax
push 0xa1
sete al
mov dword [edi], eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
call edi
push 0xa0
mov bx, ax
call edi
or bx, ax
and bx, 0x8000
push 0x12
movzx ebx, bx
call edi
and ax, 0x8000
push 0x11
movzx ebp, ax
call edi
and ax, 0x8000
xor edi, edi
cmp bx, di
movzx eax, ax
je 0x41b578
cmp ax, di
jne 0x41b57d
cmp bp, di
jne 0x41b58c
mov dword [esi + 0xbc], 3
jmp 0x41b58c
cmp ax, di
je 0x41b58c
cmp bp, di
je 0x41b58c
mov dword [esi + 0xbc], 2
mov edx, dword [esi]
mov eax, dword [edx + 0x1a0]
mov ecx, esi
call eax
cmp eax, edi
je 0x41b5af
mov edx, dword [eax]
mov edx, dword [edx + 0x370]
lea ecx, [esi + 0x15c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push 0x515
mov ecx, esi
call edx
cmp eax, edi
je 0x41b5d6
mov edx, dword [eax]
mov edx, dword [edx + 0x94]
lea ecx, [esi + 0xdc]
push ecx
mov ecx, eax
call edx
jmp 0x41b5e7
push edi
push edi
push edi
push edi
lea eax, [esi + 0xdc]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi]
mov edx, dword [eax + 0xc0]
push edi
push edi
push 1
push edi
push 0x71
mov ecx, esi
mov dword [esi + 0x1fa], 1
call edx
mov dword [esp + 0x14], edi
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x24], edi
call fcn.0041b470
test eax, eax
mov esi, dword [esp + 0x14]
jne 0x41b63c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x100]
push esi
call edx
cmp esi, edi
mov dword [esp + 0x20], 0xffffffff
je 0x41b650
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x41cc40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xffffffffffffffff
push 0x53b9f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5a8cf0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
call fcn.0041b470
cmp dword [esi + 0x11c], 0
mov edi, dword [esp + 0xc]
jne 0x41ccd3
lea ecx, [esi + 0x110]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esi]
mov edx, dword [edx + 0x158]
lea eax, [esp + 0x14]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push eax
mov ecx, esi
call edx
push edi
push esi
call fcn.00415fa0
add esp, 0x14
mov dword [esi + 0x11c], eax
jmp 0x41cd26
lea eax, [esi + 0x110]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x11c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
test eax, eax
jne 0x41cd1b
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [eax + 0x158]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ecx
mov ecx, esi
call edx
push edi
push esi
call fcn.00415fa0
add esp, 0x14
jmp 0x41cd26
mov ecx, dword [esi + 0x11c]
call fcn.00414890
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
mov ecx, esi
call edx
test eax, eax
je 0x41cd4f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x268]
call eax
test eax, eax
je 0x41cd4f
push 1
mov ecx, esi
call fcn.00419520
test edi, edi
mov dword [esp + 0x1c], 0xffffffff
je 0x41cd63
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 4
Function at 0x41f883
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
cmp dword [esi + 0x10c], 0
jne 0x41fa1f
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
push edi
call edx
mov edi, eax
test edi, edi
je 0x41fa1e
xor eax, eax
push ebx
mov dword [esi + 0x2ca], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x36c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, edi
call edx
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0xfc]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [0x5aad04], 0
jne 0x41f912
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
push 0x5aad00
push 0
push 0x10
call ebx
push 0
push 0
push 0
push 0x11
call ebx
add dword [0x5aad04], 1
lea edx, [esi + 0x232]
push edx
call fcn.004d0ea0
add esp, 4
mov ecx, esi
call fcn.00416d90
mov eax, dword [edi]
mov edx, dword [eax + 0x394]
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38c]
mov ecx, edi
call edx
mov ecx, esi
mov edi, eax
call fcn.0048c790
mov dword [esi + 0x1c8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1c]
push esi
mov dword [esi + 0x1a0], ecx
mov edx, dword [eax + 0x18]
push str.QTFullScreenObj
mov eax, ecx
push eax
mov dword [esi + 0xb4], edx
call dword [sym.imp.USER32.dll_SetPropW]
mov ecx, dword [esi + 0x1a0]
push 0x416e00
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test edi, edi
mov dword [esi + 0x10c], eax
jne 0x41f9cf
test ebx, ebx
jne 0x41f9ba
cmp dword [0x5aa980], ebx
je 0x41f9ba
cmp dword [0x5aa882], 0x434
je 0x41f9ba
mov ecx, esi
call fcn.0041cd80
mov ecx, esi
call fcn.00418b10
test eax, eax
je 0x41f9cf
push 0
call fcn.00462200
add esp, 4
cmp dword [esi + 0x2ce], 0
pop ebx
jne 0x41f9e0
mov ecx, esi
call fcn.00419680
push 0
call fcn.0049aec0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
test eax, eax
je 0x41fa16
push 0
call fcn.0049aec0
add esp, 4
cmp dword [eax + 0x24], 0
je 0x41fa16
push 0
call fcn.0049aec0
mov edx, dword [eax + 0x24]
add esp, 4
push 0
push edx
call edi
mov eax, dword [esi + 0x10]
push 0
push eax
call edi
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x421a80
Capabilities:
Get disk size

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x1a0]
push edi
call edx
mov edi, eax
test edi, edi
je 0x421b2c
mov eax, dword [edi]
mov edx, dword [eax + 0x2c8]
mov ecx, edi
call edx
test eax, eax
je 0x421b2c
mov eax, dword [edi]
mov edx, dword [eax + 0x374]
mov ecx, edi
call edx
test eax, eax
jne 0x421ac5
pop edi
mov ecx, esi
pop esi
jmp fcn.0041f1e0
mov eax, dword [edi]
mov edx, dword [eax + 0x378]
mov ecx, edi
call edx
test eax, eax
je 0x421ade
pop edi
mov ecx, esi
pop esi
jmp fcn.0041f1e0
cmp dword [esi + 0x272], 0
je 0x421af0
pop edi
mov ecx, esi
pop esi
jmp fcn.0041f1e0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x421aff
call fcn.00427d80
mov dword [esi + 0xd4], 1
mov eax, dword [edi]
mov edx, dword [eax + 0x37c]
mov ecx, edi
call edx
test eax, eax
jne 0x421b21
pop edi
mov eax, 1
pop esi
ret
push 0
push eax
call fcn.0049f1f0
add esp, 8
pop edi
xor eax, eax
pop esi
ret
Function at 0x423a90
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp dword [esp + 8], 0
mov ecx, dword [esi + 0x10]
je 0x423adc
or eax, 8
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi + 0x10]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 8

Function at 0x4296d0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0xe8]
test eax, eax
push edi
mov edi, dword [esp + 0x1c]
je 0x4296ed
test edi, edi
je 0x42977e
cmp dword [esp + 0x20], 0
je 0x42977e
cmp dword [esi + 0x19c], 0
jne 0x42977e
test eax, eax
jne 0x42979e
test edi, edi
je 0x42979e
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov eax, dword [edx + 0x4c]
call eax
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 8]
push ecx
lea edx, [esi + 0x188]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
cmp dword [esi + 0xb0], 0
mov dword [esi + 0xc8], 1
jne 0x429750
mov ecx, esi
call fcn.00428b70
mov eax, dword [esi]
mov edx, dword [eax + 0x1f0]
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x4c]
push 0
mov ecx, esi
mov dword [esi + 0xe8], edi
call edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret 8
mov eax, dword [esi + 0x10]
push 1
push eax
mov dword [esi + 0xc8], 0
mov dword [esi + 0xe8], 0
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x430000
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
push edi
push 0x70b
call edx
mov ebx, eax
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x4c]
mov ecx, ebx
call eax
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call edi
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x40]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x54]
mov eax, dword [esi]
mov edx, dword [eax + 0xb4]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, ecx
sub ecx, dword [esp + 0x40]
sub edx, esi
sub esi, dword [esp + 0x44]
lea ebp, [ecx + eax]
add edx, esi
cmp dword [esp + 0x58], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edx
je 0x4300bf
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add edx, dword [esp + 0x28]
sub eax, dword [esp + 0x14]
mov dword [esp + 0x38], edx
add eax, dword [esp + 0x2c]
jmp 0x4300fb
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
sub eax, ebp
add eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sar edi, 1
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edi
add eax, esi
cdq
sub eax, edx
sar eax, 1
sub edi, ecx
mov dword [esp + 0x34], eax
add edi, ebp
sub eax, esi
add eax, dword [esp + 0x1c]
mov dword [esp + 0x38], edi
push 0x556bd4
mov dword [esp + 0x40], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebx]
mov edx, dword [edx + 0xb4]
lea eax, [esp + 0x30]
push eax
mov ecx, ebx
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
Function at 0x4303b0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x34
push ebx
push esi
push 0xd
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [esp + 0x40]
cmp dword [ebx], 0
mov esi, eax
mov dword [esp + 0xc], esi
jne 0x430535
push 0xc1
call fcn.004977c0
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
test eax, eax
mov dword [ebx], eax
je 0x430535
push ebp
mov ebp, dword [esp + 0x48]
cmp dword [ebp], 0
jne 0x430534
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [ebp], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
push edx
push 0
push 0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call ebp
mov edx, dword [ebx]
mov edi, dword [esp + 0x48]
push edx
push edi
mov dword [esp + 0x18], eax
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0x8800c6
push 0
push 0
push edi
push edx
push eax
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
xor ebx, ebx
cmp dword [esp + 0x34], ebx
jle 0x43050c
mov ebp, dword [sym.imp.GDI32.dll_SetPixel]
mov eax, dword [esp + 0x30]
xor edi, edi
test eax, eax
jle 0x4304f9
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_GetPixel]
test eax, eax
jne 0x4304ee
push 0xffffff
push ebx
push edi
push esi
call ebp
mov eax, dword [esp + 0x30]
add edi, 1
cmp edi, eax
jl 0x4304d7
add ebx, 1
cmp ebx, dword [esp + 0x34]
jl 0x4304d1
mov edi, dword [esp + 0x48]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x10]
je 0x43051b
push ebx
push edi
call ebp
test ebx, ebx
je 0x430523
push ebx
push esi
call ebp
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov esi, dword [esp + 0x14]
pop edi
pop ebp
test esi, esi
je 0x430540
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
pop ebx
add esp, 0x34
ret