joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4afed0
Capabilities:
Access peb ldr_data
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x504ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x5748d0]
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x40], 4
mov dword [esp + 0x20], 0x518de4
call fcn.004b3890
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.004b0020
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
mov byte [esp + 0x50], 6
call esi
test eax, eax
jne 0x4affd4
push 0x5730b8
lea ecx, [esp + 0x48]
call fcn.004d3883
mov cx, word [0x518e28]
push ecx
lea ecx, [esp + 0x48]
call fcn.004dbfe3
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
call esi
test eax, eax
jne 0x4affd4
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.004dbbcb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004b3810
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov esi, dword [esp + 4]
lea ecx, [esp + 0x44]
imul esi, dword [esp + 8]
imul esi, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov byte [esp + 0x3c], 5
call fcn.004dbbcb
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004b3810
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x4b0040
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x4b0059
pop esi
xor al, al
pop ebp
ret
push ebx
lea eax, [esi + esi]
push edi
push eax
call fcn.004db904
add esp, 4
mov edi, eax
mov bl, 1
push edi
push esi
call ebp
test eax, eax
jne 0x4b0085
push edi
xor bl, bl
call fcn.004db92d
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.004dbd62
push edi
call fcn.004db92d
add esp, 4
mov al, bl
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x4b00a0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x4b0150
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x504bf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5748d0]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
mov dword [esp + 8], 0x518de4
call fcn.004b3890
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.004b0020
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
lea ecx, [esp + 0x2c]
sete bl
call fcn.004dbbcb
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b3810
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4b0200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x504c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5748d0]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
mov dword [esp + 8], 0x518de4
call fcn.004b3890
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.004b0020
push 0x5730b8
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.004d3883
mov dx, word [0x518e28]
lea ecx, [esp + 0x2c]
push edx
call fcn.004dbfe3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
test eax, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 5
setne bl
call fcn.004dbbcb
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.004b3810
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4b3c20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x504e88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.004dbc3f
mov cx, word [0x518e28]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x38]
call fcn.004d38d3
mov eax, dword [0x5748d0]
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 edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x518de4
call fcn.004b3890
mov esi, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call fcn.004ac350
mov ecx, dword [eax]
push esi
push ecx
mov byte [esp + 0x34], 7
call fcn.004bf701
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x4b3cde
mov edx, dword [esp + 0x34]
push edx
call fcn.004b0120
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x4b3cde
xor bl, bl
jmp 0x4b3ce0
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.004dbbcb
test bl, bl
jne 0x4b3d66
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.004ac350
mov eax, dword [eax]
mov byte [esp + 0x2c], 8
push eax
call fcn.004b3c20
add esp, 4
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x2c], 6
call fcn.004dbbcb
test bl, bl
jne 0x4b3d38
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004b0320
add esp, 4
test al, al
jne 0x4b3d66
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.004b3810
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.004dbbcb
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.004b3810
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.004dbbcb
mov ecx, dword [esp + 0x24]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4b73b0
Capabilities:
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp word [edi], 0x2a
je 0x4b73e7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4b73e1
mov dword [esi + 0x208], 2
xor al, al
jmp 0x4b753f
cmp word [edi], 0x2a
jne 0x4b73ec
mov dword [ebp + 8], esi
mov edi, esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x4b73fb
mov byte [ebp + 0x10], 1
xor ebx, ebx
cmp byte [ebp + 0x10], bl
je 0x4b7410
mov eax, SysReAllocStringLen
mov dword [ebp - 8], 2
jmp 0x4b741c
mov eax, 0xc0000000
mov dword [ebp - 8], 4
push ebx
push 0x80
push 3
push ebx
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b744e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ax, 0x20
jne 0x4b74b1
mov dword [esi + 0x208], 3
jmp 0x4b73da
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
je 0x4b7477
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x208], 6
jmp 0x4b73da
cmp byte [ebp + 0xc], bl
je 0x4b74d7
cmp eax, ebx
jne 0x4b7495
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
movzx eax, byte [ebp + 0x10]
push 1
push eax
push ebx
push ebx
jmp 0x4b74d4
push ebx
push ebx
push ebx
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x4b74c0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x208], 0x17
jmp 0x4b73da
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 0x10]
push dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push edi
jmp 0x4b7538
push eax
call fcn.004b977c
cmp eax, ebx
pop ecx
je 0x4b74f6
push dword [ebp - 4]
push ebx
push eax
call fcn.004b9790
add esp, 0xc
cmp eax, ebx
mov dword [ebp + 0xc], eax
jne 0x4b750c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x208], 1
jmp 0x4b73da
lea ecx, [ebp - 8]
push ebx
push ecx
push dword [ebp - 4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 0xc]
push ebx
push ebx
mov ecx, esi
call fcn.004b721c
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4bb78f
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x58cc9c]
push ebx
push esi
push edi
xor esi, esi
push 1
cmp eax, esi
pop edi
je 0x4bb8f9
push eax
call dword [sym.imp.ole32.dll_OleIsCurrentClipboard]
test eax, eax
jne 0x4bb8f9
mov ax, word [0x58ccbe]
or dword [ebp - 0x14], 0xffffffff
mov word [ebp - 0x20], ax
mov eax, dword [0x58cc9c]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x4bb818
mov eax, dword [0x58cc9c]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 8]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x4bb81b
mov esi, dword [ebp - 0x24]
mov ebx, dword [sym.imp.USER32.dll_GetActiveWindow]
cmp esi, 0xffff
jbe 0x4bb85b
shr esi, 0xa
push esi
lea eax, [ebp - 0x224]
push str.There_is__u_Kb_of_data_currently_in_the_Clipboard._nWould_you_like_to_leave_this_data_for_other_applications_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x24
push str.HexView32
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4bb85e
push 6
pop eax
cmp eax, 6
jne 0x4bb8ec
mov eax, dword [0x58cc9c]
or dword [ebp - 0x14], 0xffffffff
lea edx, [ebp - 0xc]
xor esi, esi
push edx
lea edx, [ebp - 0x20]
mov word [ebp - 0x20], di
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
push esi
call dword [sym.imp.ole32.dll_OleSetClipboard]
cmp dword [ebp - 8], esi
jne 0x4bb8d1
lea eax, [ebp - 0x224]
push str.Failed_to_allocate_sufficient_memory_to_complete_this_operation._nClipboard_contents_has_been_cleared.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
lea eax, [ebp - 0x224]
pop ecx
push 0x30
push str.HexView32
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4bb8fb
call ebx
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
push dword [ebp - 8]
push edi
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4bb8f9
cmp eax, 7
jne 0x4bb8f9
push 0
call dword [sym.imp.ole32.dll_OleSetClipboard]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4c1e13
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4c1e33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004c1e59
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c1e56
test byte [esp + 8], 2
je 0x4c1e56
call fcn.004c1ecc
mov dword [eax], 0xd
call fcn.004c1ed5
mov dword [eax], 5
jmp 0x4c1e2f
xor eax, eax
ret

Function at 0x4c41d5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5756d8
cmp edx, dword [eax]
je 0x4c41f7
add eax, 8
inc ecx
cmp eax, 0x575768
jl 0x4c41e8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5756d8]
jne 0x4c4325
mov eax, dword [0x58ef5c]
cmp eax, 1
je 0x4c42ff
test eax, eax
jne 0x4c4228
cmp dword [0x575450], 1
je 0x4c42ff
cmp edx, 0xfc
je 0x4c4325
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c425f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004ca7f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c2280
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c42a2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c2280
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x521d0c
push edi
call fcn.004c2300
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004ca7f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004ca800
lea eax, [ebp - 0xa0]
push 0x53e8b0
push eax
call fcn.004ca800
push dword [esi + 0x5756dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004ca800
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004ca758
add esp, 0x2c
pop edi
jmp 0x4c4325
lea eax, [ebp + 8]
lea esi, [esi + 0x5756dc]
push 0
push eax
push dword [esi]
call fcn.004c2280
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 0x4ce870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5067c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov eax, edx
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x2c]
push esi
push edi
mov ecx, eax
call fcn.0041b620
mov ebx, eax
mov dword [esp + 0x18], ebx
push ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x30], 0
call fcn.004cefd0
mov esi, eax
push esi
call fcn.004db904
mov ebp, eax
add esp, 4
mov dword [esp + 0x1c], ebp
push ebx
mov edx, esi
mov ecx, ebp
mov byte [esp + 0x30], 1
call fcn.004cefd0
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x34], 0
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.004db904
mov edx, eax
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], edx
mov edx, ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004ce700
test al, al
mov byte [esp + 0x34], al
je 0x4ce99d
mov ecx, dword [esp + 0x10]
xor edx, edx
push ecx
xor ecx, ecx
call fcn.004cf010
mov edi, eax
lea edx, [edi + edi]
push edx
call fcn.004db904
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x10]
mov edx, edi
push eax
mov ecx, esi
mov byte [esp + 0x30], 3
call fcn.004cf010
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
push eax
call fcn.004db92d
push esi
call fcn.004bf79a
lea edx, [eax + eax + 2]
push edx
call fcn.004db904
mov edi, eax
push esi
push edi
call fcn.004bf69f
mov eax, dword [esp + 0x28]
push esi
mov byte [esp + 0x44], 2
mov dword [eax], edi
call fcn.004db92d
add esp, 0x18
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x2c], 1
push ecx
call fcn.004db92d
push ebp
mov byte [esp + 0x34], 0
call fcn.004db92d
push ebx
mov dword [esp + 0x38], 0xffffffff
call fcn.004db92d
mov ecx, dword [esp + 0x30]
mov al, byte [esp + 0x40]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4d2950
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.004c07d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x4d2a1b
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 0x4d2a1b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4d29ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4d29d9
or bh, 8
and edi, 0x8000000
je 0x4d29f4
mov eax, dword [0x590cfc]
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 0x4d2a1b
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 0x4d2df0
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 0x4d2e1b
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 0x4d2e3f
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 0x4d2e5a
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 0x4d50b9
Capabilities:
Enumerate pe sections

Disassembly:
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4d50ee
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4d50d5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4d50e6
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4d50f0
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4d50cb
xor eax, eax
pop edi
pop esi
ret
Function at 0x4d52bb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4d52c7
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4d52b8
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
faddp st(6)
inc ebp
mov cl, 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004d5073
sub eax, 0x8d0a93b3
inc ebp
test al, 0x50
invalid
Function at 0x4d5375
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004d5073
pop eax
inc esp
test edx, ecx
lea eax, [ebp - 0x40]
push eax
call fcn.004d5083
push eax
push esi
push dword [ebp + 8]
call fcn.004d5038
add esp, 0x10
adc byte [ecx - 0x877b], cl
invalid
call fcn.004d5073
xlatb
or dword [eax], 0xffffff96
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004d5083
push eax
push esi
push dword [ebp + 8]
call fcn.004d5038
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004d5083
push eax
push esi
push dword [ebp + 8]
call fcn.004d5038
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004d5083
push eax
push esi
push dword [ebp + 8]
call fcn.004d5038
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004d5073
mov eax, 0x887b61c8
popfd
jl 0x4d54f8
invalid
invalid