joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405c8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422aa4], 0
push esi
jne 0x405cc3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c9d
mov dword [ecx*4 + 0x422aa0], eax
inc ecx
cmp ecx, 0x100
jl 0x405c98
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cf4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422aa0]
xor eax, esi
inc ecx
dec edx
jne 0x405cd6
pop edi
not eax
pop esi
ret 0xc

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
mov ecx, 0x1da17ed6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x75640c7d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x44457d
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4445e4
push 1
mov esi, 0x94
pop ebx
push esi
call fcn.004688e6
mov edi, eax
pop ecx
test edi, edi
je 0x44463c
push esi
push 0
push edi
call fcn.00468980
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x4445c7
push 5
jmp 0x444634
cmp eax, 5
jne 0x444635
cmp dword [edi + 8], 0
jne 0x4445d6
push 6
jmp 0x444634
cmp eax, 5
jne 0x444635
cmp dword [edi + 8], ebx
jne 0x444635
push 7
jmp 0x444634
cmp al, 4
jae 0x4445ec
xor ebx, ebx
jmp 0x44463c
push 2
mov esi, 0x94
pop ebx
push esi
call fcn.004688e6
mov edi, eax
pop ecx
test edi, edi
je 0x44463c
push esi
push 0
push edi
call fcn.00468980
add esp, 0xc
mov dword [edi], esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [edi + 4]
cmp eax, 4
jne 0x444635
cmp dword [edi + 8], 0xa
jne 0x444628
push 3
jmp 0x444634
cmp eax, 4
jne 0x444635
cmp dword [edi + 8], 0x5a
jne 0x444635
push eax
pop ebx
push edi
call fcn.0046889e
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x446629
Capabilities:
Check os version

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x446641
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
ret
push 8
pop eax
ret
Function at 0x44ef2b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
lea eax, [ebp - 0xe8]
mov esi, ecx
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 4]
add eax, 0x90
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call edi
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetTextColor]
push dword [eax + 0xcc]
push dword [ebp + 8]
call ebx
push 1
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffff0
mov dword [ebp - 8], eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
xor esi, esi
and ecx, 2
cmp cl, 2
jne 0x44efc8
push 2
pop esi
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x44efd5
push 1
pop esi
mov edx, eax
mov ecx, 0x200
and edx, ecx
cmp edx, ecx
jne 0x44efe5
or esi, 0x24
mov ecx, eax
and ecx, 0xc
cmp cl, 0xc
jne 0x44eff2
or esi, 0x20
mov ecx, eax
and cx, 0x80
cmp cl, 0x80
jne 0x44f004
or esi, 0x800
and eax, 0xb
cmp al, 0xb
jne 0x44f00e
or esi, 0x20
lea eax, [ebp - 0x20]
push esi
push eax
lea eax, [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x10]
push esi
call ebx
push dword [ebp - 0xc]
push esi
call edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 8]
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x451b1f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
mov eax, dword [esi + 0xd8]
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call fcn.0045aad3
push 0
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov edi, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call fcn.004435f9
add esp, 0x14
lea eax, [ebp - 0xd4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
and byte [ebp - 0xd], 0
add eax, 0x398
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov dword [ebp - 8], eax
call ebx
mov esi, dword [esi + 4]
mov dword [ebp + 8], eax
push dword [esi + 0x3d4]
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
push edi
call esi
push 1
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
mov dword [ebp - 0xc], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd4]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0xc]
push edi
call esi
push dword [ebp + 8]
push edi
call ebx
push dword [ebp - 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp dword [ebp - 4], 0
je 0x451c16
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x457a39
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e1020]
push ebx
xor ebx, ebx
push edi
cmp eax, ebx
jne 0x457a5f
cmp dword [0x4e1018], ebx
jne 0x457a5f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jmp 0x457c1e
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xfffffff2
jne 0x457b8a
mov edi, dword [ebp + 8]
cmp dword [edi + 0x6a0], ebx
je 0x457a7d
xor eax, eax
jmp 0x457c32
lea eax, [ebp - 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 4]
mov esi, 0x4e0ff8
push dword [ebp - 8]
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x457adc
push dword [0x4e1018]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
or dword [0x4ce418], 0xffffffff
or dword [0x4ce420], 0xffffffff
or dword [0x4ce41c], 0xffffffff
push ebx
push 1
mov dword [0x4e1018], ebx
push dword [ebp + 0xc]
push edi
call fcn.00454e0b
add esp, 0x10
jmp 0x457b82
cmp dword [0x4ce418], ebx
jne 0x457af9
push dword [ebp - 4]
lea ebx, [edi + 8]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00456a9c
jmp 0x457b0f
push dword [ebp - 4]
lea ebx, [edi + 0x354]
push dword [ebp - 8]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00456b26
add esp, 0x14
cmp dword [0x4ce420], eax
mov dword [0x4ce41c], eax
je 0x457b7d
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00456b58
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x24]
neg eax
push eax
mov eax, dword [ebp - 0x28]
neg eax
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
push edi
push esi
push ebx
call fcn.00456a6f
add esp, 0x14
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x4ce41c]
mov dword [0x4ce420], eax
xor eax, eax
pop esi
jmp 0x457c32
cmp ecx, 0xfffd
jne 0x457bb7
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0x37
push 0xfffe
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4e1020], eax
jmp 0x457a76
cmp ecx, 0xfffe
jne 0x457c1a
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00457065
mov eax, dword [0x4ce424]
add esp, 0x10
cmp eax, 0xffffffff
je 0x457a76
push ebx
push eax
push dword [0x4e101c]
push dword [ebp + 0xc]
call fcn.004568f1
add esp, 0x10
jmp 0x457a76
push dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 8]
push 0x113
push dword [ebp + 0xc]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop ebx
leave
ret
Function at 0x45b161
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0x1c]
mov edi, ecx
push eax
push esi
mov ebx, dword [edi + 0xd8]
mov dword [ebp - 4], edi
call fcn.0045aad3
push 0
push eax
push dword [edi + 0x9c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
test ebx, ebx
je 0x45b19f
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp + 0x1c]
push esi
push eax
push ebx
call fcn.004435f9
mov eax, dword [esi + 0x44]
add esp, 0x14
add dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x48]
add dword [ebp + 0x20], eax
mov eax, dword [esi + 0x4c]
sub dword [ebp + 0x24], eax
mov eax, dword [esi + 0x50]
push dword [ebp + 0x18]
sub dword [ebp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push ebx
mov dword [ebp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
push 3
push 0x4ce4a0
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
lea eax, [ebp - 0x2c]
lea esi, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 4]
mov ecx, esi
call fcn.0045b02e
push 0
push 0xf
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [ebp - 0x1c]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.00443c5b
add esp, 0x14
lea eax, [ebp - 0xf4]
push 0xc8
push eax
push dword [esi + 0x9c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp + 0x14]
and byte [ebp - 0x2d], 0
add eax, 4
push eax
call fcn.00444230
mov esi, dword [sym.imp.GDI32.dll_SetTextColor]
pop ecx
push eax
push ebx
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBkMode]
push 1
push ebx
mov dword [ebp + 0x10], eax
call edi
push dword [ebp + 0xc]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xf4]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp + 0x10]
push ebx
call esi
push dword [ebp + 8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x14]
push ebx
call edi
pop edi
pop esi
pop ebx
leave
ret 0x24
Function at 0x45dc80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov esi, ecx
je 0x45dcb4
cmp dword [esi + 4], 0
je 0x45dcb4
push 8
pop ebx
cmp word [esi + 0x16], bx
jae 0x45dcbd
add esi, 0x40
push str.Bit_depth_must_be_8_or_24
push esi
call fcn.00468a90
pop ecx
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
and byte [ebp - 0x1c], 0
mov ecx, esi
call fcn.0045a14d
test eax, eax
setne al
mov byte [ebp - 0x1b], al
mov ax, word [esi + 0x16]
cmp ax, bx
setne cl
inc ecx
mov byte [ebp - 0x1a], cl
xor ecx, ecx
cmp ax, bx
mov word [ebp - 0x19], cx
setne dl
dec edx
mov word [ebp - 0x14], cx
and edx, 0xff
cmp ax, bx
movzx dx, dl
mov word [ebp - 0x17], dx
mov word [ebp - 0x12], cx
setne dl
dec edx
and byte [ebp - 0xb], cl
and edx, 0x18
cmp dword [esi + 0x188], ecx
mov byte [ebp - 0x15], dl
mov dx, word [esi + 0xc]
mov word [ebp - 0x10], dx
mov dx, word [esi + 0x10]
mov word [ebp - 0xe], dx
mov dl, al
mov byte [ebp - 0xc], dl
je 0x45dd38
cmp ax, 0x18
jne 0x45dd38
mov byte [ebp - 0xc], 0x20
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x1c]
push 0x12
push ecx
mov ecx, edi
call dword [eax + 0xc]
cmp word [esi + 0x16], bx
jne 0x45dd94
mov ecx, esi
call fcn.0045a14d
lea ecx, [ebp - 0x33b]
add eax, 2
mov dword [ebp - 4], pe_nt_image_headers32
mov dl, byte [eax - 2]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
add eax, 4
add ecx, 3
dec dword [ebp - 4]
jne 0x45dd64
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x33c]
push 0x300
push ecx
mov ecx, edi
call dword [eax + 0xc]
push esi
lea ecx, [ebp - 0x3c]
call fcn.0045e169
cmp dword [esi + 0x188], 0
je 0x45de5a
cmp word [esi + 0x16], bx
je 0x45de5a
movzx eax, word [ebp - 0x10]
shl eax, 2
push eax
call fcn.004688e6
and dword [ebp - 8], 0
cmp word [ebp - 0xe], 0
pop ecx
mov dword [ebp - 4], eax
jbe 0x45de4f
xor ebx, ebx
cmp word [ebp - 0x10], bx
jbe 0x45de2f
mov eax, dword [ebp - 4]
lea edi, [eax + 1]
push dword [ebp - 8]
lea eax, [ebp - 0x24]
mov ecx, esi
push ebx
push eax
call fcn.0045a272
mov eax, dword [eax]
push dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov byte [edi - 1], al
mov al, byte [ebp - 0x1e]
mov byte [edi], ah
push ebx
mov ecx, esi
mov byte [edi + 1], al
call fcn.0045a631
movzx ecx, byte [esi + 0x178]
movzx eax, al
imul eax, ecx
cdq
mov ecx, 0xff
add edi, 4
idiv ecx
inc ebx
mov byte [edi - 2], al
movzx eax, word [ebp - 0x10]
cmp ebx, eax
jl 0x45ddde
mov edi, dword [ebp + 8]
movzx ecx, word [ebp - 0x10]
mov eax, dword [edi]
push 1
shl ecx, 2
push ecx
mov ecx, edi
push dword [ebp - 4]
call dword [eax + 0xc]
movzx eax, word [ebp - 0xe]
inc dword [ebp - 8]
cmp dword [ebp - 8], eax
jl 0x45ddd0
push dword [ebp - 4]
call fcn.0046889e
pop ecx
jmp 0x45de8f
xor ebx, ebx
cmp word [ebp - 0xe], bx
jbe 0x45de8f
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0045e194
movzx ecx, word [esi + 0x16]
movzx edx, word [ebp - 0x10]
shr ecx, 3
imul ecx, edx
mov eax, dword [edi]
push 1
push ecx
mov ecx, edi
push dword [ebp - 0x2c]
call dword [eax + 0xc]
movzx eax, word [ebp - 0xe]
inc ebx
cmp ebx, eax
jl 0x45de62
mov al, 1
jmp 0x45dcb6
Function at 0x46e74b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d0210
cmp edx, dword [eax]
je 0x46e76d
add eax, 8
inc ecx
cmp eax, 0x4d02a0
jl 0x46e75e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d0210]
jne 0x46e89b
mov eax, dword [0x4e3128]
cmp eax, 1
je 0x46e875
test eax, eax
jne 0x46e79e
cmp dword [0x4cf844], 1
je 0x46e875
cmp edx, 0xfc
je 0x46e89b
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46e7d5
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00468a90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00467ff0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x46e818
lea eax, [ebp - 0x1a4]
push eax
call fcn.00467ff0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4afc38
push edi
call fcn.004687a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00468a90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00468aa0
lea eax, [ebp - 0xa0]
push 0x4afc18
push eax
call fcn.00468aa0
push dword [esi + 0x4d0214]
lea eax, [ebp - 0xa0]
push eax
call fcn.00468aa0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00472b89
add esp, 0x2c
pop edi
jmp 0x46e89b
lea eax, [ebp + 8]
lea esi, [esi + 0x4d0214]
push 0
push eax
push dword [esi]
call fcn.00467ff0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x478690
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004676c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x47875b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x47875b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x47870e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x478719
or bh, 8
and edi, 0x8000000
je 0x478734
mov eax, dword [0x4e491c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x47875b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478b30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x478b5b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x478b7f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x478b9a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x47c5cd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x47c5ef
cmp dword [edi + 0x3c], 0
jne 0x47c5ef
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004930c6
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0047c61c
pop edi
pop esi
pop ebx
ret 8

Function at 0x47c66a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.004930c6
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47c69b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0047c6ae
pop edi
pop esi
pop ebx
ret 8