joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bc0a
Capabilities:
Check http status code

Disassembly:
cmp esi, 0x140
jle 0x10197c5
cmp esi, 0x141
jl case.0x100bc98.85
cmp esi, 0x143
jle 0x100bfdc
cmp esi, 0x191
je 0x100bfd5
cmp esi, 0x192
je case.0x100bc98.81
jmp 0x100bf09
push 0xa
jmp 0x100bca1
push 0xb
jmp 0x100bca1
push 0xf
jmp 0x100bca1
push 0xd
jmp 0x100bca1
push 0x10
mov eax, 0x104c964
call fcn.01002009
mov esi, dword [ebp + 8]
mov ecx, dword [ecx + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov dword [ebp + 8], eax
cmp eax, edi
je 0x100bcef
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
cmp ecx, edi
jne 0x100bec0
lea eax, [esi - 0x2bc]
cmp eax, 0x3f
jbe 0x100bece
lea eax, [esi - 0x42f]
cmp eax, 5
jbe 0x100bed5
lea eax, [esi - 0x82]
cmp eax, 9
jbe 0x100bcf7
mov eax, 0xa8
cmp esi, eax
jg 0x10085ea
je 0x100bfa1
lea eax, [esi - 0x50]
cmp eax, 0x49
ja case.0x100bc98.85
movzx eax, byte [eax + 0x100bf50]
jmp dword [eax*4 + 0x100bf1c]
push 0xe
pop edi
push 0x41c
call fcn.01002286
pop ecx
mov dword [ebp + 0x14], eax
and dword [ebp - 4], 0
test eax, eax
je 0x100bfe3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push edi
call fcn.010021b6
mov ecx, eax
call fcn.0100a2b2
push eax
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push dword [ebp + 0xc]
lea esi, [ebp - 0x1c]
push dword [ebp + 8]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0100a99b
mov dword [ebx], eax
call fcn.01001f6b
ret 0x18
push 9
jmp 0x100bca1
push 1
call fcn.0100ce3c
mov dword [ebx], edi
jmp 0x100bc49
push 7
jmp 0x100bca1
push 8
jmp 0x100bca1
xor edi, edi
jmp case.0x100bc98.85
push 6
jmp 0x100bca1
cmp esi, 0x138
jle case.0x100bc98.85
cmp esi, 0x13c
jg case.0x100bc98.85
push 0x19
jmp 0x100bca1
cmp esi, 0x194
jne 0x100bfc4
push 2
jmp 0x100bca1
push 0x10
jmp 0x100bca1
push 0x16
jmp 0x100bca1
push 3
jmp 0x100bca1
push 4
jmp 0x100bca1
push 0x17
jmp 0x100bca1
push 0x1a
jmp 0x100bca1
cmp esi, 0x420
je case.0x100bc98.81
jmp case.0x100bc98.85
push 5
jmp 0x100bca1
push 0x18
jmp 0x100bca1
xor eax, eax
jmp 0x100bced
cmp esi, 0x13d
jge 0x100bfbd
cmp esi, 0xab
jl case.0x100bc98.85
cmp esi, 0xb0
jle 0x100bfb6
cmp esi, 0xb5
je 0x100bfaf
cmp esi, 0xb6
je 0x100bfa8
cmp esi, 0x104
jne 0x100beea
push 0x1b
jmp 0x100bca1
push 0x13
jmp 0x100bca1
push 0x12
jmp 0x100bca1
push 0x11
jmp 0x100bca1
push 0x14
jmp 0x100bca1
Function at 0x100ed16
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.01004b29
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 0x100ed58
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 0x100ed73
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 0x1026cf1
lea ebx, [esi + 0xec]
mov eax, dword [ebx]
mov eax, dword [eax + 4]
test eax, eax
jne 0x1026d02
cmp dword [esi + 0xf4], 3
je 0x1026d15
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 0x100edd5
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 0x100ed86
push eax
call edi
mov ebx, dword [ebx]
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 4]
jmp 0x100ed99
mov ecx, dword [esi + 0xf0]
call fcn.01035a0f
push dword [esi + 0xc]
lea ecx, [esi + 0x364]
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100edc0
Function at 0x1012d6c
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
test byte [ebp - 0x3c], 1
jne 0x1017cb6
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call fcn.01001635
mov dword [0x10540e8], eax
cmp dword [0x10540dc], 0
jne 0x102de7c
push eax
call dword [sym.imp.msvcrt.dll_exit]
nop
push edi
add byte [ecx], ch
outsb dx, byte [esi]
add byte [eax + eax + 0x6f], ah
add byte [edi], dh
pop edi
add byte [eax], dl
insb byte es:[edi], dx
add byte [ecx], ah
arpl word [eax], ax
add byte gs:[ebp], ch
add byte gs:[esi], ch
je 0x10121d4
add byte [eax], al
nop
nop
nop
nop
nop
call fcn.01012abc
push 0x58
push 0x1012ee8
call fcn.0100c768
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1054a68
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x102ddf5
xor esi, esi
inc esi
mov eax, dword [0x1054194]
cmp eax, esi
je 0x102de13
mov eax, dword [0x1054194]
test eax, eax
jne 0x1017cbf
mov dword [0x1054194], esi
push 0x1012ee0
push 0x1012ed4
call fcn.01012d43
pop ecx
pop ecx
test eax, eax
jne 0x102dea0
mov eax, dword [0x1054194]
cmp eax, esi
jne 0x1012e1d
push 0x1012ed0
push 0x1012e68
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1054194], 2
test ebx, ebx
jne 0x1012e29
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1055af8], 0
jne 0x102de20
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x1012f10
cmp al, 0x22
je 0x1017cca
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
jne 0x102de44
inc esi
jmp 0x1012e3d
test al, al
je 0x1012f1e
cmp dword [ebp - 0x1c], 0
jne 0x1012e4a
mov al, byte [esi]
test al, al
je 0x101217f
cmp al, 0x20
ja 0x101217f
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1012f1e
movzx eax, word [ebp - 0x38]
jmp 0x101218c
mov dword [0x10580bc], esi
jmp 0x1012df9
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x1012e52
cmp eax, esi
jne 0x102de03
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1012dc0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1012dab
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1012df9
push 0x1055af8
call fcn.010488ef
pop ecx
test eax, eax
je 0x1012e36
push 0
push 2
push 0
call dword [0x1055af8]
jmp 0x1012e36
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1012e65
cmp dword [0x10580bc], 0
jne 0x102de8b
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10540e8]
jmp 0x102deac
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100c7ad
ret
Function at 0x1013850
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1054064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01013921
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 0x10138f2
cmp dword [ebp - 0x94], 5
jb 0x10138c5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x101390c
call fcn.010137aa
test eax, eax
jl 0x102db51
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001e8f
leave
ret
cmp dword [ebp - 0x88], 1
je 0x102db39
jmp 0x10138c5
cmp dword [ebp - 0x90], 0
jbe 0x10138c5
jmp 0x10138c1
cmp dword [ebp - 0x94], 4
ja 0x10138c1
je 0x1013901
jmp 0x10138c5
mov byte [0x1058040], 1
jmp 0x10138e3
Function at 0x1017992
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c674
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x1017a5a
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.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x1017a56
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.01017b57
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
call fcn.01017a67
cmp dword [ebp + 8], 0
jne 0x1017a4e
mov ecx, dword [esi + 0xf0]
push 0
push dword [esi + 0x128]
call fcn.0100bfef
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x1017a21
mov ecx, dword [esi + 0x128]
jmp 0x1017a2d

Function at 0x101a691
Capabilities:
Get graphical window text

Disassembly:
push 0x3f4
mov eax, 0x104daaf
call fcn.01001ea1
mov edi, dword [ebp + 8]
push 0xffffffffffffffeb
push edi
mov esi, ecx
call fcn.0101a72f
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.0101a72f
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esi + 0x18], 0
je 0x10291a0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x3fc]
call fcn.0100c4ba
lea eax, [ebp - 0x3fc]
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0101ed62
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed62
mov ecx, dword [esi + 0x10]
push eax
call fcn.01019c4b
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.0100882d
call fcn.01001f5c
ret 4
mov ecx, ebx
call fcn.0101ed62
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed62
mov ecx, dword [esi + 0x10]
push eax
call fcn.01019b2b
push eax
lea ecx, [ebp - 0x400]
call fcn.01034706
and dword [ebp - 4], 0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x400]
call fcn.0101f0c9
test eax, eax
je 0x102923c
add edi, 7
push edi
mov ecx, esi
call fcn.0101a72f
push 1
mov ecx, ebx
mov edi, eax
call fcn.0101ed62
mov ecx, dword [esi + 0x34]
push eax
call fcn.0101ed62
mov ecx, dword [esi + 0x10]
push eax
call fcn.010307a8
push 1
mov ecx, esi
call fcn.0101a504
push eax
mov ecx, ebx
call fcn.010032bf
push eax
lea eax, [ebp - 0x3fc]
push eax
call fcn.010211c6
push dword [eax]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 0x3fc]
add ecx, 0xfffffff0
call fcn.0100882d
mov ecx, dword [ebp - 0x400]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0100882d
jmp 0x101a6db
Function at 0x101bee9
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x104c674
call fcn.01002009
mov esi, ecx
cmp dword [ebp + 8], 0
jne 0x101bfbe
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.01002286
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
test ecx, ecx
je 0x101bfba
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.0101c0bb
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov dword [esi + 0x128], eax
push dword [ebp + 8]
mov ecx, edi
call fcn.0101bfcb
cmp dword [ebp + 8], 0
jne 0x101bfab
mov ecx, dword [esi + 0xf0]
push 2
push dword [esi + 0x128]
call fcn.0100bfef
mov ecx, edi
call fcn.0101c399
call fcn.01001f6b
ret 4
xor eax, eax
jmp 0x101bf7c
mov edi, dword [esi + 0x128]
jmp 0x101bf88

Function at 0x101caf1
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 0x1028b09
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 0x101cb42
Function at 0x101d6fa
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 0x101d751
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 0x101d730
mov eax, 0x2bc
cmp dword [ebp + 8], eax
mov dword [ebp - 4], eax
jl 0x101d77e
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 0x101d75e
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 0x101d89c
sub eax, 8
je 0x101d885
sub eax, 0x10
je 0x101d86e
sub eax, 0x20
jne 0x101d8b0
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.0101d8c4
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x101ec67
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 0x101ed03
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
shr esi, 1
je 0x101ecfa
push dword [ebp + 0xc]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x101ed03
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x101ecfa
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.0100329a
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.0100c38d
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 0x1027f0d
test eax, eax
jle 0x1027f1b
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x101ecfa

Function at 0x1020990
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 0x10209e5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10209e9
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 0x10209d7
cmp esi, eax
jae 0x10209e9
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10209c9
cmp esi, eax
jae 0x10209e9
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x10209e4
Function at 0x1022b65
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 0x1022cd0
cmp dword [esi + 0x80], edi
jne 0x1022cd0
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 0x1022cd0
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 0x1022be6
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 0x100c300
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.0100d5cb
push dword [esi + 0x84]
push 1
push 0x1022626
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 0x10238b2
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 [0x105521c], eax
jne 0x1025ccb
mov ecx, 0x1054568
call fcn.01003340
mov ecx, eax
call fcn.01002757
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.0100329a
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 [0x1054300]
mov ecx, dword [eax + 0x10]
push esi
push edi
call fcn.010039b1
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.0102399e
mov esi, eax
test esi, esi
je 0x1025d38
push edi
call fcn.01001ff8
cmp dword [ebp - 4], 0
mov edi, dword [sym.imp.msvcrt.dll_free]
pop ecx
je 0x1023970
push dword [ebp - 4]
call edi
pop ecx
cmp dword [ebp - 8], 0
jne 0x1025d4d
cmp dword [0x105521c], 0
jne 0x1025d58
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025cdc
test al, al
jne 0x10238d9
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x10238d9
mov eax, dword [0x1055210]
mov esi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, ebx
cmp ecx, eax
jne 0x10238d9
cmp edx, esi
jne 0x10238d9
push 0x18
push 0x1025dc8
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.010321fa
jmp 0x10238d9
mov eax, dword [0x10540ac]
or dword [eax + 0x24], 4
push esi
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x1023957
push dword [ebp - 8]
call edi
pop ecx
jmp 0x102397a
mov al, byte [0x1055220]
cmp al, 4
jae 0x1025d69
test al, al
jne 0x1023987
mov eax, dword [0x1055208]
mov ecx, dword [0x105520c]
mov edx, 0x10000
and eax, edx
and ecx, ebx
or eax, ecx
je 0x1023987
mov eax, dword [0x1055210]
mov edi, dword [0x1055214]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, ebx
cmp ecx, eax
jne 0x1023987
cmp edx, edi
jne 0x1023987
push 0x19
push 0x1025dd8
push dword [0x1054a74]
push dword [0x1054a70]
call fcn.010321fa
jmp 0x1023987