joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af880
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4af8ba
push str.GetHDAudioFrontPanelRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af90e
push 0
lea ecx, [ebp - 0x14]
push ecx
push 8
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x1d608c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
jne 0x4af8fb
push str.GetHDAudioFrontPanelRetasking:_DeviceIoControl:_IOCTL_HDAUD_GET_FRONT_PANEL_RETASKING_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af90e
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4af912
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af94c
push str.SetHDAudioFrontPanelRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af99c
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 8
lea edx, [ebp + 0xc]
push edx
push 0x1d6090
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4af98d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioFrontPanelRetasking:_DeviceIoControl:_IOCTL_HDAUD_SET_FRONT_PANEL_RETASKING_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4af99c
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4af9a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4af9da
push str.CPLStartUp:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afa2a
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x1d60bc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4afa1b
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CPLStartUp:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_CPL_ACTIVE_CTRL_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afa2a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4afa2e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4afa68
push str.GetSupportedSoundEffects:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afab6
push 0
lea ecx, [ebp - 0xc]
push ecx
push 4
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0x1d6070
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x4afaa9
push str.GetSupportedSoundEffects:_DeviceIoControl:_IOCTL_HDAUD_GET_VIA_DRVSUPPORT3RDPRTEFTS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afab6
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4afaba
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4afaf4
push str.GetHDAudioVT1718SFrontPanelRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afb48
push 0
lea ecx, [ebp - 0x14]
push ecx
push 8
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0x1d60c8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x4afb35
push str.GetHDAudioVT1718SFrontPanelRetasking:_DeviceIoControl:_IOCTL_HDAUD_GET_FP_RETASKING_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afb48
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 4], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4afb4c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4afb86
push str.SetHDAudioVT1718SFrontPanelRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afbd6
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 8
lea edx, [ebp + 0xc]
push edx
push 0x1d60cc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4afbc7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioVT1718SFrontPanelRetasking:_DeviceIoControl:_IOCTL_HDAUD_SET_FP_RETASKING_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afbd6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4afbda
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4afc14
push str.GetHDAudioVT1718SInputeRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afc68
push 0
lea ecx, [ebp - 0x14]
push ecx
push 8
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0x1d60d8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
jne 0x4afc55
push str.GetHDAudioVT1718SInputeRetasking:_DeviceIoControl:_IOCTL_HDAUD_GET_INPUTS_MUX_DIR_VT1718S_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afc68
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [edx + 4], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4afc6c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4afca6
push str.SetHDAudioVT1718SInputeRetasking:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afcf6
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 8
lea edx, [ebp + 0xc]
push edx
push 0x1d60dc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4afce7
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioVT1718SInputeRetasking:_DeviceIoControl:_IOCTL_HDAUD_SET_INPUTS_MUX_DIR_VT1718S_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4afcf6
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4afeb5
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4afeef
push 0x52834c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aff3f
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0xc
lea edx, [ebp + 0xc]
push edx
push 0x1da0fc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4aff30
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5283cc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4aff3f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4aff43
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4aff7f
push str.GetHDAudioForteMediaSamSoft:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4affe1
mov esi, dword [ebp + 0xc]
mov ecx, 6
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x18
lea edx, [ebp - 0x18]
push edx
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0x1d60b4
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
jne 0x4affcf
push str.GetHDAudioForteMediaSamSoft:_DeviceIoControl:_IOCTL_HDAUD_GET_FORTEMEDIA_SAMSOFT_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4affe1
mov ecx, 6
lea esi, [ebp - 0x18]
mov edi, dword [ebp + 0xc]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4affe7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4b0021
push str.SetHDAudioForteMediaSamSoft:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4b0071
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x18
lea edx, [ebp + 0xc]
push edx
push 0x1d60b8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b0062
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioForteMediaSamSoft:_DeviceIoControl:_IOCTL_HDAUD_SET_FORTEMEDIA_SAMSOFT_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4b0071
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4b010a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4b0144
push str.SetHDAudioEOS:_CreateFile:_INVALID_HANDLE_VALUE_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4b0194
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x50
lea edx, [ebp + 0xc]
push edx
push 0x1da11c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4b0185
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.SetHDAudioEOS:_DeviceIoControl:_IOCTL_HDAUD_SET_VIA_DRC_PARAMS_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x4b0194
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4bd745
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x52c820
cmp edx, dword [eax]
je 0x4bd767
add eax, 8
inc ecx
cmp eax, 0x52c8b0
jl 0x4bd758
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x52c820]
jne 0x4bd895
mov eax, dword [0x536b64]
cmp eax, 1
je 0x4bd86f
test eax, eax
jne 0x4bd798
cmp dword [0x52c594], 1
je 0x4bd86f
cmp edx, 0xfc
je 0x4bd895
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bd7cf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c3030
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c2b70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bd812
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c2b70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4df054
push edi
call fcn.004c3120
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c3030
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c3040
lea eax, [ebp - 0xa0]
push 0x4df034
push eax
call fcn.004c3040
push dword [esi + 0x52c824]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c3040
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c2f98
add esp, 0x2c
pop edi
jmp 0x4bd895
lea eax, [ebp + 8]
lea esi, [esi + 0x52c824]
push 0
push eax
push dword [esi]
call fcn.004c2b70
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 0x4c9b70
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.004bad00
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4c9c3b
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 0x4c9c3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4c9bee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4c9bf9
or bh, 8
and edi, 0x8000000
je 0x4c9c14
mov eax, dword [0x53841c]
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 0x4c9c3b
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 0x4ca010
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 0x4ca03b
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 0x4ca05f
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 0x4ca07a
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 0x4cc352
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 0x4cc374
cmp dword [edi + 0x3c], 0
jne 0x4cc374
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004d503d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004cc3a1
pop edi
pop esi
pop ebx
ret 8

Function at 0x4cd94b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cd983
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d04fa
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d04d1
jmp 0x4cd98f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cf052
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cf094
call fcn.004d503d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4cf094
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cf08b
xor eax, eax
jmp 0x4cf09c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cf0a2
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d5623
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d5651
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d566f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d5589
jmp 0x4d566f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d566f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d5589
test edi, edi
mov eax, edi
jne 0x4d5659
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8