joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ece10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4ece3c
push 0x592ec0
push eax
call fcn.00513333
add esp, 8
test eax, eax
je 0x4ece3c
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
je 0x4ece6b
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x4eceeb
push 0x592ec8
push eax
call fcn.00513333
add esp, 8
test eax, eax
je 0x4eceeb
sub eax, dword [esi]
sar eax, 1
cmp eax, 1
jne 0x4eceeb
push edi
xorps xmm0, xmm0
lea eax, [ebp - 4]
push 3
push eax
mov ecx, esi
movq qword [ebp - 0xc], xmm0
movq qword [ebp - 0x14], xmm0
call fcn.00424f30
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 4]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4ececa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ecef2
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
pop edi
je 0x4eceeb
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4ecee1
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], eax
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call esi
jmp 0x4ececa
Function at 0x4ef280
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576d3b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
mov dword [ebp - 0x224], 0
call fcn.005173a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4ef304
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4ef319
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4ef31b
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4ef3ee
movzx edi, ax
mov ecx, edi
call fcn.00408f5a
mov ebx, eax
test ebx, ebx
je 0x4ef415
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ef415
push edi
mov edx, eax
mov ecx, ebx
call fcn.00408f9e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4ef415
mov eax, dword [esi]
mov ecx, 1
movzx edi, word [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4ef39c
push edi
mov ecx, esi
call fcn.00409225
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edi
push dword [esi]
call fcn.0051e916
add esp, 0x10
cmp eax, 0x50
ja case.0x4ef3bf.1
movzx eax, byte [eax + 0x4ef444]
jmp dword [eax*4 + 0x4ef434]
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg case.0x4ef3bf.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x4ef415
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ef3f7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409323
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 - 0x10]
xor ecx, ebp
call fcn.00510219
mov esp, ebp
pop ebp
ret
Function at 0x4efeb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576eab
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
mov dword [ebp - 0x224], 0
call fcn.005173a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MasterPDFData_OFD
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4eff46
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4eff5b
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4eff5d
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4f0030
movzx edi, ax
mov ecx, edi
call fcn.00408f5a
mov ebx, eax
test ebx, ebx
je 0x4f005e
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4f005e
push edi
mov edx, eax
mov ecx, ebx
call fcn.00408f9e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f005e
mov eax, dword [esi]
mov ecx, 1
movzx edi, word [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4effde
push edi
mov ecx, esi
call fcn.00409225
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edi
push dword [esi]
call fcn.0051e916
add esp, 0x10
cmp eax, 0x50
ja case.0x4f0001.1
movzx eax, byte [eax + 0x4f008c]
jmp dword [eax*4 + 0x4f007c]
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg case.0x4f0001.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x4f005e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f0040
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409323
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 - 0x10]
xor ecx, ebp
call fcn.00510219
mov esp, ebp
pop ebp
ret
Function at 0x4f0770
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576fab
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5b3074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x21c], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], esi
push 0
push eax
mov dword [ebp - 0x224], 0
call fcn.005173a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x2e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test edi, edi
je 0x4f07f3
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00409c54
mov ecx, eax
test ecx, ecx
jne 0x4f0808
push 0x80004005
call fcn.0040b4a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4f081d
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x4f081f
call edx
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4f08f2
movzx edi, ax
mov ecx, edi
call fcn.00408f5a
mov ebx, eax
test ebx, ebx
je 0x4f091e
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4f091e
push edi
mov edx, eax
mov ecx, ebx
call fcn.00408f9e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4f091e
mov eax, dword [esi]
mov ecx, 1
movzx edi, word [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4f08a0
push edi
mov ecx, esi
call fcn.00409225
movzx ecx, word [ebx]
lea eax, [ebx + 2]
push ecx
push eax
push edi
push dword [esi]
call fcn.0051e916
add esp, 0x10
cmp eax, 0x50
ja case.0x4f08c3.1
movzx eax, byte [eax + 0x4f094c]
jmp dword [eax*4 + 0x4f093c]
push 0x8007000e
call fcn.0040b4a2
push 0x80070057
call fcn.0040b4a2
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg case.0x4f08c3.20
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [esi]
mov word [eax + edi*2], cx
jmp 0x4f091e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f0900
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00409323
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 - 0x10]
xor ecx, ebp
call fcn.00510219
mov esp, ebp
pop ebp
ret

Function at 0x551843
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00551448

Function at 0x55184e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005515c9

Function at 0x55b105
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055a8ea

Function at 0x55b110
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055ab25

Function at 0x55b663
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055b3ea
Function at 0x1003c060
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x1003c091
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1003c091
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x1003c091
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40f0b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x5b29d8
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x6216ec]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6216ec]
xor eax, esp
push eax
lea eax, [esp + 0x6a4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x6b4]
mov edi, dword [esp + 0x6b8]
mov ebp, dword [esp + 0x6bc]
xor esi, esi
push 0x206
lea ecx, [esp + 0x49a]
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
push ecx
mov dword [esp + 0x28], ebx
mov word [esp + 0x4a0], ax
call fcn.0054e420
add esp, 0xc
push 0x206
lea eax, [esp + 0x292]
xor edx, edx
push esi
push eax
mov word [esp + 0x298], dx
call fcn.0054e420
add esp, 0xc
push 0x5d8ec4
push ebx
lea ecx, [esp + 0x49c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x24c
lea edx, [esp + 0x44]
push esi
push edx
mov dword [esp + 0x48], esi
call fcn.0054e420
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x18], esi
cmp eax, 0xffffffff
je 0x40f195
mov dword [esp + 0x18], eax
mov dword [esp + 0x6ac], esi
cmp dword [esp + 0x18], esi
jne 0x40f1b4
xor al, al
jmp 0x40f386
Function at 0x414e60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5be2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6216ec]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
fldz
xor eax, eax
fstp qword [esp + 0x1c]
mov dword [esp + 4], vtable.ipc::proto::Variable.0
mov dword [esp + 8], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0x625620
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 4]
push eax
call fcn.004149c0
test al, al
jne 0x414efa
lea ecx, [esp + 4]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00420640
xor al, al
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
add esp, 0x4c
ret 4
cmp dword [esp + 0xc], 1
jne 0x414ed5
mov cl, byte [esp + 0x10]
mov edx, dword [esp + 0x54]
mov byte [edx], cl
lea ecx, [esp + 4]
mov dword [esp + 0x4c], 0xffffffff
call fcn.00420640
mov al, 1
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
add esp, 0x4c
ret 4

Function at 0x418530
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.004170a0
jo 0x418589
cld
in eax, 0x8d
test esp, edx
clc
invalid

Function at 0x427390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5bff69
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x6216ec]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], vtable.ipc::proto::CandidateList.0
mov dword [esi + 4], eax
lea ecx, [esi + 0x1c]
mov dword [esi + 0x10], ecx
mov ecx, 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
lea edx, [esi + 0x3c]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov byte [esp + 0x10], 3
mov ecx, 1
mov dword [esi + 0x74], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x5c], 0xa
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00428a30
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8
Function at 0x4010c0
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ca30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x1c]
call fcn.004250fe
mov eax, dword [0x44d274]
mov dword [esp + 0x3c], 0
xor ebp, ebp
mov dword [esp + 0x10], eax
push 0x44d0ec
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.0042546c
push str.skto
lea ecx, [esp + 0x14]
call fcn.0042546c
push 0x44d0e0
lea ecx, [esp + 0x14]
call fcn.0042546c
push 0x44d0dc
lea ecx, [esp + 0x14]
call fcn.0042546c
mov ecx, dword [0x44d274]
mov dword [esp + 0xc], ecx
push 0x44d0ec
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0042546c
push str.skto
lea ecx, [esp + 0x10]
call fcn.0042546c
push 0x44d0d8
lea ecx, [esp + 0x10]
call fcn.0042546c
push 0x44d0d4
lea ecx, [esp + 0x10]
call fcn.0042546c
push str._DesktopSCDTBrowser
lea ecx, [esp + 0x18]
call fcn.004250fe
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x3c], 3
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0x8052
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x80a0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 0x80a8
xor esi, esi
lea edi, [esp + 0x1c]
mov eax, dword [edi]
test eax, eax
je 0x4011e0
push eax
lea ecx, [esp + 0x1c]
call fcn.00421c89
cmp eax, 0xffffffff
jne 0x4011eb
inc esi
add edi, 8
cmp esi, 3
jb 0x4011cb
jmp 0x4011ef
mov ebp, dword [esp + esi*8 + 0x20]
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call fcn.00425090
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 1
call fcn.00425090
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call fcn.00425090
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00425090
mov ecx, dword [esp + 0x34]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x420e70
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.0040e8c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x420f3b
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 0x420f3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x420eee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x420ef9
or bh, 8
and edi, 0x8000000
je 0x420f14
mov eax, dword [0x45537c]
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 0x420f3b
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 0x421310
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 0x42133b
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 0x42135f
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 0x42137a
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 0x425da5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43cde0
call fcn.0040d2c8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00434ef8
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x425de4
call fcn.00434ef8
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x425df2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x425e00
or eax, 0xffffffff
jmp 0x425ee8
mov ecx, esi
call fcn.00425d1b
mov dword [ebp - 0x14], eax
call fcn.00426bdb
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x425e37
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425e37
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00426b8f
push dword [ebp - 0x14]
call fcn.004266c0
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00425a36
cmp eax, edi
je 0x425eaa
test byte [esi + 0x24], 0x10
je 0x425e78
push 4
mov ecx, esi
pop ebx
call fcn.00429a42
test ah, 1
je 0x425e70
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042912c
cmp dword [esi + 0x1c], edi
je 0x425eaa
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00429bce
jmp 0x425eaa
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x425ebe
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x425ed7
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x425ed7
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00425d55
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4270d3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42710b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00425537
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0042550f
jmp 0x427117
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x428ed5
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 0x428f17
call fcn.00434ef8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x428f17
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x428f0e
xor eax, eax
jmp 0x428f1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00428f25
pop edi
pop esi
pop ebx
ret 4