joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a248
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0100a319
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100a2ea
cmp dword [ebp - 0x94], 5
jb 0x100a2bd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100a304
call fcn.0100a1a2
test eax, eax
jl 0x102d87d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret
cmp dword [ebp - 0x88], 1
je 0x102d865
jmp 0x100a2bd
cmp dword [ebp - 0x90], 0
jbe 0x100a2bd
jmp 0x100a2b9
cmp dword [ebp - 0x94], 4
ja 0x100a2b9
je 0x100a2f9
jmp 0x100a2bd
mov byte [0x1058030], 1
jmp 0x100a2db

Function at 0x100e239
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c65c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x100e301
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x180
call fcn.0100219e
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x100e2fd
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xaf
push 0xa5
lea eax, [esi + 0x140]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.0100e3fe
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.0100e30e
cmp dword [ebp + 8], 0
jne 0x100e2f5
mov ecx, dword [esi + 0xf0]
push 0
push dword [esi + 0x128]
call fcn.01023fb5
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x100e2c8
mov ecx, dword [esi + 0x128]
jmp 0x100e2d4
Function at 0x1010d0f
Capabilities:
Get graphical window text

Disassembly:
push 0x3f4
mov eax, 0x104da97
call fcn.01001ea1
mov edi, dword [ebp + 8]
push 0xffffffffffffffeb
push edi
mov esi, ecx
call fcn.01010dad
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
push 0x1f4
lea eax, [ebp - 0x3f8]
push eax
push edi
mov ecx, esi
call fcn.01010dad
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x18], 0
je 0x1028f38
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0102475b
lea eax, [ebp - 0x3fc]
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0101cf0a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101cf0a
mov ecx, dword [esi + 0x10]
push eax
call fcn.0101035e
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.01020aad
call fcn.01001f5c
ret 4
mov ecx, ebx
call fcn.0101cf0a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101cf0a
mov ecx, dword [esi + 0x10]
push eax
call fcn.0101023e
push eax
lea ecx, [ebp - 0x400]
call fcn.01034436
and dword [ebp - 4], 0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.0101d271
test eax, eax
je 0x1028fd4
add edi, 7
push edi
mov ecx, esi
call fcn.01010dad
push 1
mov ecx, ebx
mov edi, eax
call fcn.0101cf0a
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101cf0a
mov ecx, dword [esi + 0x10]
push eax
call fcn.010304d8
push 1
mov ecx, esi
call fcn.01010b82
push eax
mov ecx, ebx
call fcn.010030af
push eax
lea eax, [ebp - 0x3fc]
push eax
call fcn.0101f36e
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.01020aad
mov ecx, dword [ebp - 0x400]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.01020aad
jmp 0x1010d59

Function at 0x1012dd9
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 8]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
add eax, 0x2bc
push eax
push ebx
call esi
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
push 2
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ax, word [ebp + 0xc]
cmp word [ebp + 8], ax
jne 0x10288a1
pop edi
pop esi
pop ebx
leave
ret 8
mov word [ebp + 8], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 2
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea eax, [ebp - 0x14]
push eax
mov edi, 0x435
push edi
push ebx
call esi
push eax
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x1012e2a
Function at 0x1013843
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c65c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1013918
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x1d8
call fcn.0100219e
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x1013914
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xb4
push 0xaa
lea eax, [esi + 0x294]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.0101395b
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0101267b
cmp dword [ebp + 8], 0
jne 0x1013905
mov ecx, dword [esi + 0xf0]
push 2
push dword [esi + 0x128]
call fcn.01023fb5
mov ecx, edi
call fcn.01013925
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x10138d6
mov edi, dword [esi + 0x128]
jmp 0x10138e2
Function at 0x1013b66
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ecx + 0xf8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
cmp eax, 0x2fb
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
jg 0x1013bbd
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x2fb
jle 0x1013b9c
mov eax, 0x2bc
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
jl 0x1013bea
push dword [ebp - 4]
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 0xc], eax
call edi
push dword [ebp - 0xc]
call ebx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jle 0x1013bca
push 0x431
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x434
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 0
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
mov eax, dword [ebp + 8]
sub eax, 0x2c3
je 0x1013d08
sub eax, 8
je 0x1013cf1
sub eax, 0x10
je 0x1013cda
sub eax, 0x20
jne 0x1013d1c
push 0x434
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x433
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x432
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x431
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x430
push dword [ebp - 8]
call esi
push 5
push eax
mov dword [ebp - 4], eax
call edi
push dword [ebp - 4]
call ebx
push 0x42f
push dword [ebp - 8]
call esi
mov esi, eax
push 5
push esi
call edi
push esi
call ebx
mov ecx, dword [ebp - 0x10]
call fcn.01013d30
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10163b7
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x51
push 0x111
mov esi, ecx
call fcn.01004954
push ebx
push dword [esi + 0x120]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x35c]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
cmp eax, ebx
je 0x10163f9
push eax
call edi
lea ecx, [esi + 0x358]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
lea ebx, [esi + 0xe4]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
test eax, eax
je 0x1016414
push eax
call edi
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0
call dword [eax + 4]
lea ebx, [esi + 0xe8]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1026a89
lea ebx, [esi + 0xec]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1026a9a
cmp dword [esi + 0xf4], 3
je 0x1026aad
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x368]
call edi
push 0
push dword [esi + 0x130]
call edi
add esi, 0x128
mov ecx, dword [esi]
test ecx, ecx
je 0x1016476
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi], 0
pop edi
pop esi
pop ebx
ret
push eax
call edi
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0
call dword [eax + 4]
jmp 0x1016427
push eax
call edi
mov ebx, dword [ebx]
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 4]
jmp 0x101643a
mov ecx, dword [esi + 0xf0]
call fcn.0103573f
push dword [esi + 0xc]
lea ecx, [esi + 0x364]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1016461
Function at 0x101a5fe
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push 0x188
push dword [esi + 0x88]
mov dword [ebp - 4], edi
call ebx
cmp eax, edi
jl 0x101a769
cmp dword [esi + 0x80], edi
jne 0x101a769
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x198
push dword [esi + 0x88]
mov dword [esi + 0x90], eax
call ebx
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
mov ecx, esi
call dword [eax]
cmp dword [ebp - 4], edi
je 0x101a769
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x18]
cmp edi, dword [ebp - 8]
jl 0x101a67f
mov edi, dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
sub edi, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [esi + 0x88]
dec eax
push edi
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 0x50000046
push dword [ebp - 4]
push 0x10244dc
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebp - 4]
mov dword [esi + 0x80], eax
call fcn.01001ff8
pop ecx
push dword [esi + 0x94]
push dword [esi + 0x80]
call fcn.01024f7e
push dword [esi + 0x84]
push 1
push 0x101af9e
push dword [esi + 0x80]
call sub.COMCTL32.dll_SetWindowSubclass
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xffffffffffffffeb
push dword [esi + 0x80]
call edi
push 0
push dword [esi + 0x54]
push 0x30
push dword [esi + 0x80]
call ebx
push 0x19a
push 0xfffffffffffffff4
push dword [esi + 0x80]
call edi
push 5
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x41b
push dword [esi + 0x84]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0
push 0x41c
push dword [esi + 0x84]
call edi
push eax
call ebx
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x101bb6a
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c65c
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x101bc32
mov eax, dword [esi + 0x368]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov eax, dword [esi + 0x130]
push 5
push eax
call edi
push 0x1f0
call fcn.0100219e
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x101bc2e
push dword [esi + 0x120]
lea eax, [esi + 0x364]
push eax
push dword [esi + 0xec]
lea eax, [esi + 0x358]
push dword [esi + 0xe8]
push dword [esi + 0xe4]
push eax
push 0xb4
push 0xaa
lea eax, [esi + 0x1b8]
push eax
lea eax, [esi + 0x12c]
push eax
call fcn.0101bd63
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.0101bc3f
cmp dword [ebp + 8], 0
jne 0x101bc26
mov ecx, dword [esi + 0xf0]
push 1
push dword [esi + 0x128]
call fcn.01023fb5
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x101bbf9
mov ecx, dword [esi + 0x128]
jmp 0x101bc05
Function at 0x101c822
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov ebx, 0x80010000
cmp dword [0x1055204], eax
jne 0x1025a64
mov ecx, 0x1054550
call fcn.01003154
mov ecx, eax
call fcn.01020b78
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010030b8
pop ecx
mov edi, eax
push esi
push edi
push dword [ebp - 0xc]
xor eax, eax
mov word [edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x10542e8]
mov ecx, dword [eax + 0x10]
push esi
push edi
call fcn.01003672
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
shr eax, 0x10
push edi
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xf0]
call fcn.0101c90e
mov esi, eax
test esi, esi
je 0x1025ad1
push edi
call fcn.01001ff8
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.msvcrt.dll_free]
pop ecx
je 0x101c8e0
push dword [ebp - 4]
call edi
pop ecx
cmp dword [ebp - 8], 0
jne 0x1025ae6
cmp dword [0x1055204], 0
jne 0x1025af1
mov eax, dword [0x10540a4]
or dword [eax + 0x24], 2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
mov al, byte [0x1055208]
cmp al, 4
jae 0x1025a75
test al, al
jne 0x101c849
mov eax, dword [0x10551f0]
mov ecx, dword [0x10551f4]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x101c849
mov eax, dword [0x10551f8]
mov esi, dword [0x10551fc]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, ebx
cmp ecx, eax
jne 0x101c849
cmp edx, esi
jne 0x101c849
push 0x18
push 0x1025b60
push dword [0x1054a5c]
push dword [0x1054a58]
call fcn.01031f2a
jmp 0x101c849
mov eax, dword [0x10540a4]
or dword [eax + 0x24], 4
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x101c8c7
push dword [ebp - 8]
call edi
pop ecx
jmp 0x101c8ea
mov al, byte [0x1055208]
cmp al, 4
jae 0x1025b02
test al, al
jne 0x101c8f7
mov eax, dword [0x10551f0]
mov ecx, dword [0x10551f4]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x101c8f7
mov eax, dword [0x10551f8]
mov edi, dword [0x10551fc]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x101c8f7
cmp edx, edi
jne 0x101c8f7
push 0x19
push 0x1025b70
push dword [0x1054a5c]
push dword [0x1054a58]
call fcn.01031f2a
jmp 0x101c8f7
Function at 0x101cc46
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 6
push dword [esi + 0x80]
call fcn.01024f7e
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x88]
call edi
mov ecx, esi
call fcn.010156e5
and dword [esi + 0x80], 0
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x41b
add esi, 0x84
push dword [esi]
call ebx
push eax
call edi
push 1
push 0x41c
push dword [esi]
call ebx
push eax
call edi
pop edi
pop esi
pop ebx
ret

Function at 0x101ce0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
mov ebx, 0x80004005
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101ceab
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x101cea2
push dword [ebp + 0xc]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101ceab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101cea2
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
xor ebx, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010030b8
add esi, esi
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp + 0x10]
add esp, 0x10
xor eax, eax
push edi
mov word [esi + edi], ax
call fcn.0102462e
push edi
call fcn.01001ff8
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1027ca5
test eax, eax
jle 0x1027cb3
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x101cea2

Function at 0x101eb38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101eb8d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x101eb91
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x101eb7f
cmp esi, eax
jae 0x101eb91
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x101eb71
cmp esi, eax
jae 0x101eb91
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x101eb8c
Function at 0x1020722
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x105405c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x408], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push 1
push dword [esi + 0x10]
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test edi, edi
je 0x1020777
push edi
push dword [esi + 0x10]
call ebx
mov dword [ebp - 0x408], eax
push 0x5b391e
push dword [esi + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x1020818
lea eax, [ebp - 0x404]
push 0x200
push eax
call sub.msvcrt.dll_wcscpy_s
add esp, 0xc
push 0x1fb
lea eax, [ebp - 0x3fa]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x24
lea eax, [esi + 0x14]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp dword [ebp - 0x408], 0
je 0x10207de
push dword [ebp - 0x408]
push dword [esi + 0x10]
call ebx
push 4
push 0
push dword [ebp - 0x40c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebp + 0x14], 0xffffffff
je 0x1020804
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x410]
push dword [esi]
call fcn.01022868
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.01001e8f
leave
ret 0x10
Function at 0x1022c9d
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [ebp + 0x1c]
push 0xfffffffffffffff0
push ebx
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xd
push eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffffdff
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x77
push edi
push edi
push edi
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1022dbc
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi], eax
mov eax, dword [ebp + 0x28]
push edi
mov dword [esi + 0x418], eax
lea eax, [ebp - 0x10]
xor edi, edi
push eax
push ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x414], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xffbfdfff
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x200
lea eax, [esi + 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
call dword [sym.imp.UxTheme.dll_IsThemeActive]
test eax, eax
je 0x1027afd
cmp dword [ebp + 0x2c], edi
jne 0x1020893
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
push 1
push 6
push 0x20
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 4], eax
lea eax, [ebp + 0x2c]
push eax
movzx eax, word [ebp + 0x1c]
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0101f633
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x2c]
call fcn.01022dd8
push edi
push eax
push dword [esi + 4]
mov dword [ebp + 0x2c], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push edi
push 0x1602
push ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 4
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push edi
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1002b54
push ebx
mov dword [esi + 0x414], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push dword [ebp + 0x24]
push 0x30
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x28
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x31
push ebx
call edi
push 1
push dword [ebp + 0x24]
mov dword [esi + 0x414], eax
push 0x30
push ebx
call edi
jmp 0x1022dca