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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x6714c8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
and dword [ebp - 0xc], 0
mov edi, eax
lea eax, [ebp - 0xc]
movzx esi, si
push eax
push 0x567452
push esi
push 0xf0
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov eax, 0x804
cmp word [ebp - 0xc], ax
jne 0x567305
mov edi, 0x3a8
jmp 0x567314
mov ecx, 0x404
cmp word [ebp - 0xc], cx
lea eax, [ecx - 0x4e]
cmove edi, eax
push 0xf0
push esi
push ebx
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x56743e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x56743e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x567432
mov esi, 0x180
lea edx, [esi - 0x3d]
movzx eax, word [ebx]
test ax, ax
je 0x56742f
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
movzx eax, word [ebx + 2]
add ebx, 8
mov dword [ebp - 0x18], ecx
cmp ax, si
je 0x5673dd
mov ecx, 0x401
cmp ax, cx
je 0x5673dd
cmp ax, dx
je 0x567396
add ecx, 2
cmp ax, cx
jne 0x567423
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push edi
push 0
push 0x143
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov esi, 0x180
jmp 0x56741e
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov esi, 0x180
push edi
push 0
push esi
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x143
mov edi, dword [ebp - 8]
add ebx, dword [ebp - 0x18]
jne 0x56735a
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x567440
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da623
leave
ret
Function at 0x567caa
Capabilities:
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x567d54
xor eax, eax
cmp word [esi], ax
je 0x567d54
push ebx
push edi
push 0x5c
pop ebx
push ebx
push esi
call fcn.004e115a
pop ecx
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x567d15
movzx eax, word [esi + 2]
cmp eax, 0x3a
jne 0x567ceb
cmp word [esi + 4], bx
je 0x567d07
cmp word [esi], bx
jne 0x567d15
cmp ax, bx
jne 0x567d15
lea eax, [edi + 4]
push ebx
push eax
call fcn.004e115a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x567d1e
lea eax, [edi + 2]
push ebx
push eax
call fcn.004e115a
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x567d1e
xor eax, eax
mov word [edi], ax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x567d3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x567d46
mov word [edi], bx
test eax, eax
jne 0x567d07
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop ebx
and eax, 0x10
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x567d58
Capabilities:
Check if file exists
Get file attributes

Disassembly:
test ecx, ecx
je 0x567d75
cmp word [ecx], 0
je 0x567d75
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x567d75
shr eax, 4
and eax, 1
ret
xor eax, eax
ret
Function at 0x5690bb
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609219
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x667710]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040def2
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00406ea5
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00406ea8
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00403f50
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.00402931
mov eax, dword [ebp - 0x10]
add eax, 0x34
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.0040351d
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x638a40
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x24], 0x638a50
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0x638b04
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0x638b7c
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0x638bb8
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0x638c00
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.004084ed
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0041498d
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x84
call fcn.0041498d
mov ecx, dword [ebp - 0x10]
add ecx, 0xcc
call fcn.0040dc81
mov ecx, dword [ebp - 0x10]
add ecx, 0xd0
call fcn.0040db6f
mov eax, dword [ebp - 0x10]
and dword [eax + 0xb8], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xbc], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc8], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0xb4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xa4
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x56b27b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
or dword [ebp - 0x30], 0xffffffff
xorps xmm0, xmm0
push ebx
push esi
push edi
push ecx
push 3
xor esi, esi
movlpd qword [ebp - 0x28], xmm0
inc esi
mov dword [ebp - 0x20], 0x100
push esi
xor ebx, ebx
mov edi, edx
push SysReAllocString
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.00430cc6
test eax, eax
jne 0x56b2da
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x56b32f
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x56b334
push 0x18
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004e0bc0
add esp, 0xc
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x30]
push 0x2c
push eax
call fcn.00438764
cmp eax, 0x2c
jne 0x56b32f
cmp dword [ebp - 0x5c], 0x46464952
jne 0x56b32f
cmp dword [ebp - 0x54], 0x41444443
jne 0x56b32f
cmp dword [ebp - 0x50], 0x20746d66
jne 0x56b32f
cmp dword [ebp - 0x4c], 0x18
jne 0x56b32f
cmp word [ebp - 0x48], si
jne 0x56b32f
push 6
pop ecx
lea esi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov esi, ebx
jmp 0x56b334
mov esi, 0x80004005
cmp dword [ebp - 0x10], ebx
je 0x56b38d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x56b388
cmp dword [ebp - 0x14], ebx
je 0x56b388
push ecx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.00430dab
and eax, edx
cmp eax, 0xffffffff
je 0x56b38d
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x56b38d
mov eax, dword [ebp - 4]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
adc dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
jmp 0x56b390
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x56b3ac
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x30], 0xffffffff
je 0x56b3bb
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x56b727
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa0
mov eax, dword [0x667710]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, edx
mov dword [esp + 0x1c], eax
push esi
push edi
test ecx, ecx
je 0x56b8ea
test eax, eax
je 0x56b8ea
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov esi, dword [esp + 0xc]
mov edi, eax
or dword [esp + 0x18], 0xffffffff
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.gdiplus.dll_GdipGetInterpolationMode]
test eax, eax
cmovne edi, eax
or dword [esp + 0xc], 0xffffffff
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipGetPixelOffsetMode]
test eax, eax
push 5
push esi
cmovne edi, eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
test eax, eax
push 4
push esi
cmovne edi, eax
call dword [sym.imp.gdiplus.dll_GdipSetPixelOffsetMode]
mov ecx, dword [ebp + 8]
test eax, eax
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x24]
cmovne edi, eax
mov eax, dword [ebp + 0x10]
sub esi, dword [ebp + 0x1c]
sub eax, ecx
and dword [esp + 0x10], 0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
sub eax, edx
mov dword [esp + 0x20], edi
mov edi, dword [ebp + 0x20]
sub edi, dword [ebp + 0x18]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.gdiplus.dll_GdipCreateImageAttributes]
movaps xmm0, xmmword [0x645910]
xor ecx, ecx
movups xmmword [esp + 0x38], xmm0
mov dword [esp + 0x14], eax
movaps xmm0, xmmword [0x645980]
movzx eax, byte [ebp + 0x28]
movups xmmword [esp + 0x48], xmm0
and dword [esp + 0x78], 0
xorps xmm0, xmm0
and dword [esp + 0x7c], 0
movups xmmword [esp + 0x58], xmm0
and dword [esp + 0x94], 0
movaps xmm0, xmmword [0x645910]
movups xmmword [esp + 0x68], xmm0
push ecx
movd xmm0, eax
lea eax, [esp + 0x3c]
cvtdq2ps xmm0, xmm0
push ecx
push eax
push 1
push ecx
push dword [esp + 0x24]
divss xmm0, dword [0x6458e0]
mov dword [esp + 0xb0], 0x3f800000
movss dword [esp + 0x98], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
call dword [sym.imp.gdiplus.dll_GdipSetImageAttributesColorMatrix]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x10]
push ecx
push ecx
push eax
push ecx
push esi
push edi
push dword [ebp + 0x1c]
lea eax, [esp + 0x44]
mov dword [esp + 0x30], ecx
push dword [ebp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push dword [esp + 0x48]
call fcn.0043a3b6
push dword [esp + 0xc]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetPixelOffsetMode]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipDisposeImageAttributes]
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
xor eax, eax
inc eax
jmp 0x56b8ec
xor eax, eax
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
xor ecx, esp
call fcn.004da623
mov esp, ebp
pop ebp
ret
Function at 0x56d82d
Capabilities:
Create directory
Get file attributes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x56d8d7
xor eax, eax
cmp word [esi], ax
je 0x56d8d7
push ebx
push edi
push 0x5c
pop ebx
push ebx
push esi
call fcn.004e115a
pop ecx
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x56d898
movzx eax, word [esi + 2]
cmp eax, 0x3a
jne 0x56d86e
cmp word [esi + 4], bx
je 0x56d88a
cmp word [esi], bx
jne 0x56d898
cmp ax, bx
jne 0x56d898
lea eax, [edi + 4]
push ebx
push eax
call fcn.004e115a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x56d8a1
lea eax, [edi + 2]
push ebx
push eax
call fcn.004e115a
pop ecx
pop ecx
mov edi, eax
test edi, edi
je 0x56d8a1
xor eax, eax
mov word [edi], ax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x56d8be
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
test edi, edi
je 0x56d8c9
mov word [edi], bx
test eax, eax
jne 0x56d88a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop ebx
and eax, 0x10
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x56f093
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], esi
push edi
test edx, edx
je 0x56f241
xor edi, edi
cmp word [edx], di
je 0x56f241
or dword [esp + 0x18], 0xffffffff
xorps xmm0, xmm0
push ecx
push 2
push 1
push 0xc0000000
push edx
lea ecx, [esp + 0x2c]
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 0x1000
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.00430cc6
test eax, eax
jne 0x56f0fd
mov ebx, edi
jmp 0x56f1d1
mov eax, dword [0x668294]
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi]
mov ebx, eax
push edi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call edi
and dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
mov esi, dword [esi]
push ecx
push 0
push eax
push eax
lea ecx, [esp + 0x1c]
call fcn.0040cccd
push eax
push 0xffffffffffffffff
push esi
push 0
push ebx
call edi
dec eax
lea ecx, [esp + 0xc]
push eax
call fcn.0040cc99
cmp dword [esp + 0x10], 0
je 0x56f1a4
push 3
push 0x668324
lea ecx, [esp + 0x20]
call fcn.0043bce1
cmp eax, 3
je 0x56f173
mov esi, dword [esp + 0xc]
xor edi, edi
mov ebx, edi
jmp 0x56f1c1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov edx, dword [edx]
push dword [edx - 8]
call fcn.004137fa
pop ecx
push eax
lea ecx, [esp + 0x10]
call fcn.0040cd2a
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x56f1a4
call fcn.00407965
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov edi, dword [esi - 8]
push edi
push esi
call fcn.0043bce1
mov ebx, eax
sub ebx, edi
neg ebx
sbb ebx, ebx
inc ebx
xor edi, edi
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x56f1d1
call fcn.00407965
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0x2c]
je 0x56f219
test esi, esi
je 0x56f22c
cmp dword [esp + 0x34], 0
je 0x56f219
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x20]
push dword [esp + 0x28]
call fcn.00430dab
and eax, edx
cmp eax, 0xffffffff
je 0x56f219
push edi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push dword [esp + 0x3c]
push esi
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x56f22c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x18], 0xffffffff
je 0x56f23d
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x56f243
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x57382e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
cmp dword [edi + 0xc], 0x202
jne 0x57388d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, 0xfffe
je 0x57388d
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
push ebx
inc eax
push 4
push eax
call fcn.00507365
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x57388c
push ebx
push dword [edi + 0x1c]
lea ecx, [esi + 4]
push dword [edi + 0x18]
call fcn.0043d107
mov ecx, dword [esi + 4]
sub esp, 0x10
mov edx, ebx
call fcn.005ca400
push ebx
call fcn.0050524d
add esp, 0x14
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x5761e5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [0x673ac8], edi
je 0x576214
xor eax, eax
mov dword [0x673ac8], edi
cmp dword [0x673ad0], eax
lea ecx, [esi + 0x500]
setne al
push eax
call fcn.0054ec40
push edi
mov ecx, esi
call fcn.00578d23
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
inc ebx
mov dword [0x673768], ebx
push dword [esi + 0x504]
call edi
cmp word [ebp + 8], 0
jne 0x576245
push ebx
mov ecx, esi
call fcn.00442518
jmp 0x57624c
push 5
push dword [esi + 4]
call edi
cmp dword [0x673644], 0
je 0x57625d
mov dword [0x6736e8], ebx
jmp 0x576263
mov dword [0x673654], ebx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10

Function at 0x57626c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push ebx
call fcn.00578d23
cmp word [ebp + 8], 0
mov dword [0x673768], ebx
push 0
jne 0x576294
mov ecx, esi
call fcn.00442518
jmp 0x57629d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x504]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x673644], 0
je 0x5762bc
mov dword [0x6736e8], ebx
jmp 0x5762c2
mov dword [0x673654], ebx
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x10
Function at 0x576779
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
push ecx
lea ecx, [eax + 0x328]
call fcn.0056eb25
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x576859
push ebx
push esi
push edi
call fcn.005ca213
xor ebx, ebx
inc ebx
test eax, eax
push 0xd
pop ecx
cmovne ebx, ecx
lea ecx, [ebp - 8]
je 0x5767d1
lea eax, [ebp - 4]
push eax
call fcn.0040d36e
mov esi, dword [ebp - 8]
mov eax, dword [esi - 8]
lea eax, [eax*2 + 2]
jmp 0x5767e3
mov edx, dword [ebp - 4]
push 0
call fcn.00407a7f
mov esi, dword [ebp - 8]
pop ecx
mov eax, dword [esi - 8]
inc eax
push eax
push 0x42
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x576807
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x576856
call fcn.00407965
jmp 0x576856
push dword [ebp - 8]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.004dd610
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x576832
call fcn.00407965
mov eax, dword [ebp - 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x576856
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x57686c
call fcn.00407965
xor eax, eax
leave
ret 0x10
Function at 0x57a4f5
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 4]
call edi
test eax, eax
je 0x57a5d4
push dword [esi + 0x504]
call edi
test eax, eax
je 0x57a5d4
cmp dword [0x673768], 0
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
je 0x57a534
cmp dword [0x673a70], 1
je 0x57a54e
push dword [esi + 0x504]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x57a54e
push 0
push dword [esi + 0x504]
call edi
cmp dword [0x673768], 0
je 0x57a560
cmp dword [0x673a70], 0
je 0x57a574
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x57a574
push 0
push dword [esi + 4]
call edi
xor edi, edi
push edi
push edi
push 0x7f3
push dword [0x674760]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x673768], edi
je 0x57a5d4
cmp eax, 2
jne 0x57a5d4
cmp dword [esi + 0x340], edi
je 0x57a5d4
mov eax, dword [0x673a70]
cmp eax, 1
jne 0x57a5bd
cmp dword [esi + 0x608], edi
jne 0x57a5d4
lea ecx, [esi + 0x540]
call fcn.00551803
jmp 0x57a5d4
test eax, eax
jne 0x57a5d4
cmp dword [esi + 0x2f0], edi
jne 0x57a5d4
lea ecx, [esi + 0x240]
call fcn.005732e0
pop edi
xor eax, eax
pop esi
ret

Function at 0x57ac00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x20]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 8], ecx
lea eax, [esi + edi]
mov dword [ebp - 0x14], eax
cmp esi, eax
jge 0x57ac8b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add edx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], ecx
cmp ecx, edx
jge 0x57ac80
cmp ebx, edi
mov ecx, edi
mov edi, dword [ebp + 0x10]
cmovl ecx, ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x24], edi
mov eax, edi
push 0xcc0020
push dword [ebp + 0x1c]
cmovl eax, dword [ebp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push ecx
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add ebx, dword [ebp + 0x24]
sub edi, dword [ebp + 0x24]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
cmp ebx, edx
jl 0x57ac40
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add esi, ebx
sub edi, ebx
mov dword [ebp + 0xc], edi
cmp esi, eax
jl 0x57ac29
pop edi
pop esi
pop ebx
leave
ret
Function at 0x57ad99
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x6714c8]
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetACP]
and dword [ebp - 8], 0
mov esi, eax
lea eax, [ebp - 8]
mov ebx, 0xcf
push eax
push 0x57af3a
push ebx
push 0xf0
push edi
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
mov eax, 0x804
cmp word [ebp - 8], ax
jne 0x57adee
mov esi, 0x3a8
jmp 0x57adfd
mov ecx, 0x404
cmp word [ebp - 8], cx
lea eax, [ecx - 0x4e]
cmove esi, eax
push 0xf0
push ebx
push edi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x57af26
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x57af26
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x57af1a
mov edi, 0x180
lea edx, [edi - 0x3d]
movzx eax, word [ebx]
test ax, ax
je 0x57af17
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], eax
movzx eax, word [ebx + 2]
add ebx, 8
mov dword [ebp - 0x18], ecx
cmp ax, di
je 0x57aec7
mov ecx, 0x401
cmp ax, cx
je 0x57aec7
cmp ax, dx
je 0x57ae7f
add ecx, 2
cmp ax, cx
jne 0x57af0e
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0xffffffffffffffff
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push edi
push 0
push 0x143
movzx eax, ax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edi, 0x180
jmp 0x57af09
xor eax, eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
call fcn.0053eb10
mov edi, esp
push esi
mov esi, dword [ebp - 0xc]
push edi
push 0xffffffffffffffff
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
push edi
push 0
mov edi, 0x180
movzx eax, ax
push edi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x143
add ebx, dword [ebp - 0x18]
jne 0x57ae43
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x57af28
xor eax, eax
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da623
leave
ret