joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1000910f
pop dword [ebp - 0x38]
mov eax, 0x1000910f
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3e4a8
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x236daa5b
sub ecx, 0x236d5a92
xor edx, edx
add edx, eax
mov ebx, 0x1007e200
add ebx, dword [ebp - 0x38]
mov edi, 0x39d88d54
add edi, 0xb8d1ade3
xor dword [ebp - 0x24], edi
mov esi, dword [ebx]
xor dword [ebp - 0x2c], 0x2a35da45
xor esi, edi
xor dword [ebp - 0x18], ecx
mov dword [edx], esi
sub dword [ebp - 0x10], edi
add edx, 0x10619c22
add edx, 0xef9e63e2
add ebx, 0x2cf7a7f7
sub ebx, 0x2cf7a7f3
loop 0x10009160
add eax, 0x9a192b77
sub eax, 0x9a17f980
mov ebx, eax
add eax, 0xdcf33322
sub eax, 0xdcf3331d
mov ecx, 0x3ebeeed2
sub ecx, 0x2ebeeed2
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x4081c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5da100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x44]
xor esi, esi
push eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x3c]
cmp edi, dword [ebp - 0x38]
jae 0x40829f
push ebx
nop
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x1c
jne 0x408282
cmp dword [ebp - 0xc], 4
jne 0x40827d
cmp dword [ebp - 0x10], 0x1000
jne 0x40827d
cmp dword [ebp - 8], 0x20000
jne 0x40827d
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
lea ebx, [eax + edi]
test edi, edi
je 0x408280
mov esi, edi
nop dword [eax]
push ebx
push esi
mov edx, 3
mov ecx, 0x5bb670
call fcn.00408650
mov esi, eax
add esp, 8
test esi, esi
je 0x40827d
mov eax, dword [esi + 4]
test eax, eax
jle 0x408278
add eax, esi
cmp eax, ebx
jae 0x408278
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.00408650
add esp, 8
test eax, eax
je 0x408278
mov dword [esi], 0
mov dword [ebp - 0x48], 1
add esi, 1
jne 0x408230
mov eax, dword [ebp - 0x14]
add edi, eax
cmp edi, dword [ebp - 0x38]
jb 0x4081f0
mov eax, dword [ebp - 0x48]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055245e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0055245e
mov esp, ebp
pop ebp
ret
Function at 0x4082c0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573e58
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5da100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
xor esi, esi
mov edi, dword [ebp + 0xc]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x80], ecx
mov dword [ecx], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], esi
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push ecx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004089c0
test eax, eax
je 0x40848f
push edi
lea ecx, [ebp - 0x54]
call fcn.00409200
mov edi, eax
test edi, edi
js 0x40845f
mov ecx, dword [ebp - 0x24]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x28]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x40845f
mov eax, dword [ebp - 0x28]
lea ecx, [edi + edi*4]
push 0
movups xmm0, xmmword [eax + ecx*8]
movups xmm1, xmmword [eax + ecx*8 + 0x10]
movups xmmword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + ecx*8 + 0x20]
mov eax, dword [ebp - 0x34]
movq qword [ebp - 0x5c], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd ecx, xmm0
movups xmmword [ebp - 0x98], xmm1
add eax, ecx
push eax
push dword [ebp - 0x2c]
movups xmmword [ebp - 0x6c], xmm1
call fcn.0055c8af
mov edi, dword [ebp - 0x98]
push edi
call fcn.0041a675
push dword [ebp - 0x2c]
mov esi, eax
push 1
push edi
push esi
mov dword [ebp - 0x84], esi
call fcn.0055c4ca
movups xmm0, xmmword [ebp - 0xa8]
add esp, 0x20
psrldq xmm0, 8
movd edx, xmm0
test dl, 2
je 0x408421
xor eax, eax
test edi, edi
je 0x408421
nop word [eax + eax]
mov ecx, eax
and ecx, 0xf
mov cl, byte [ebp + ecx - 0x64]
xor byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x408410
test dl, 1
je 0x40845a
mov esi, dword [ebp - 0x70]
push esi
call fcn.0041a675
mov ecx, dword [ebp - 0x80]
push edi
mov dword [ebp - 0x88], eax
mov dword [ecx], esi
mov esi, dword [ebp - 0x84]
push esi
push ecx
push eax
call fcn.004010e0
push esi
call fcn.0041a670
mov esi, dword [ebp - 0x88]
add esp, 0x18
jmp 0x40845f
mov ecx, dword [ebp - 0x80]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x408489
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
je 0x408479
lea ecx, [ebp - 0x54]
call fcn.00408bc0
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0055c278
add esp, 4
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x54]
call fcn.00408830
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055245e
mov esp, ebp
pop ebp
ret
Function at 0x4084c0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x5e39dc]
test eax, eax
jne 0x4084ed
push 0x5bb6d0
push 0x5bb6ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5e39dc], eax
test eax, eax
je 0x408632
mov ecx, dword [0x5e39e8]
sub ecx, dword [0x5e39e4]
test ecx, 0xfffffffc
jne 0x4085cb
mov edx, 0x100
mov ecx, eax
call fcn.00409810
mov ecx, dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0x100
call fcn.00409810
mov ecx, dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, 0x100
call fcn.00409810
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, 0x100
call fcn.00409810
mov ecx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0x100
call fcn.00409810
mov ecx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edx, 0x100
call fcn.00409810
mov ecx, dword [sym.imp.USER32.dll_SetTimer]
mov edx, 0x100
call fcn.00409810
mov edx, 0x100
mov ecx, 0x409790
call fcn.00409810
mov edx, 0x100
mov ecx, 0x4096b0
call fcn.00409810
mov edx, 0x100
mov ecx, fcn.004098d0
call fcn.00409810
mov edx, 0x100
mov ecx, fcn.00409bb0
call fcn.00409810
mov edx, 0x100
mov ecx, 0x409b60
call fcn.00409810
mov edx, 0x100
mov ecx, fcn.00409c70
call fcn.00409810
cmp dword [0x5e39d8], 0
jne 0x4085ea
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x42
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [0x5e39d8], eax
cmp dword [0x5e39d0], 0
jne 0x40860c
push 0x409790
push 0xc8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5e39d0], eax
cmp dword [0x5e39d4], 0
jne 0x408632
push 0x5e39cc
push 0
push 0
push 0x4096b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x5e39d4], eax
ret
Function at 0x4089c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5da100]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, ecx
push 0x5bb688
push eax
lea edi, [esi + 0x28]
push edi
call fcn.0055c1bb
add esp, 0xc
test eax, eax
jne 0x408ba4
push dword [edi]
push 1
push 8
push esi
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
cmp dword [esi], 0x41454956
jne 0x408ba4
cmp dword [esi + 4], 0x4f5455
jne 0x408ba4
push dword [edi]
lea eax, [esi + 8]
push 4
push 1
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push dword [edi]
lea eax, [esi + 0xc]
push 4
push 1
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push dword [edi]
lea eax, [esi + 0x10]
push 1
push 4
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push 0
push dword [esi + 0x10]
push dword [edi]
call fcn.0055c8af
add esp, 0xc
test eax, eax
jne 0x408ba4
push dword [edi]
lea eax, [esi + 0x14]
push 1
push 4
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push dword [edi]
lea eax, [esi + 0x18]
push 1
push 4
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push dword [edi]
lea eax, [esi + 0x1c]
push 1
push 4
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push dword [edi]
lea eax, [esi + 0x20]
push 1
push 4
push eax
call fcn.0055c4ca
add esp, 0x10
test eax, eax
je 0x408ba4
push 0
push dword [esi + 0x1c]
push dword [edi]
call fcn.0055c8af
add esp, 0xc
test eax, eax
jne 0x408ba4
mov dword [esp + 0xc], eax
cmp dword [esi + 0x14], eax
jbe 0x408b8a
push dword [esi + 0x18]
call fcn.0041a675
push dword [edi]
mov dword [esp + 0x10], eax
push dword [esi + 0x18]
push 1
push eax
call fcn.0055c4ca
add esp, 0x14
test eax, eax
je 0x408ba4
mov ecx, 0x28
lea eax, [esp + 0x10]
cmp dword [esi + 0x18], ecx
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
cmovb ecx, dword [esi + 0x18]
push ecx
push dword [esp + 0xc]
movaps xmmword [esp + 0x28], xmm0
push eax
movq qword [esp + 0x3c], xmm0
call fcn.005546b0
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0x2c]
push eax
call fcn.00409270
push dword [esp + 8]
call fcn.0041a670
mov eax, dword [esp + 0x10]
add esp, 4
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [esi + 0x14]
jb 0x408b12
mov dword [esi + 0x24], 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0055245e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0055245e
mov esp, ebp
pop ebp
ret 8
Function at 0x409960
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x4099e1
mov eax, dword [ecx + 0xc]
push ebx
push edi
movzx edi, word [ecx + 8]
mov dword [ebp - 8], eax
nop word [eax + eax]
mov eax, dword [ebp + 8]
mov edx, dword [ecx]
movzx ebx, di
mov al, byte [esi + eax]
mov byte [ebp - 1], al
xor eax, eax
test edx, edx
sete al
mov dword [ecx], eax
mov eax, ebx
shr eax, 4
shr ebx, 8
test edx, edx
movzx eax, al
movzx ebx, bl
cmovne ebx, eax
movzx eax, word [ecx + 4]
xor bl, byte [ebp - 1]
inc esi
movzx edx, bl
add dx, di
movzx edx, dx
imul edx, eax
movzx eax, word [ecx + 6]
add dx, ax
movzx eax, bl
movzx edi, dx
mov edx, dword [ebp - 8]
add edx, eax
mov word [ecx + 8], di
mov dword [ebp - 8], edx
mov dword [ecx + 0xc], edx
cmp esi, dword [ebp + 0xc]
jb 0x409980
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x409c70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5da100]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x218], 0
jle 0x409db7
add edi, 0x20
mov eax, dword [edi + 0x20]
xor esi, esi
mov dword [ebp - 0x214], esi
cmp dword [edi + 0x24], esi
jbe 0x409dcd
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x409dcd
cmp byte [edi - 0x20], 0
lea ebx, [edi - 0x20]
je 0x409d20
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00554550
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x409d73
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.005569e0
add esp, 8
neg eax
sbb eax, eax
neg eax
je 0x409d73
cmp byte [edi], 0
je 0x409d98
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00554550
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x409d6f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.005569e0
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
neg esi
test esi, esi
jne 0x409d98
mov ebx, dword [ebp - 0x214]
mov eax, 2
mov ecx, dword [ebp - 0x210]
inc ebx
mov dword [ebp - 0x214], ebx
cmp ebx, dword [edi + 0x24]
jb 0x409cb7
test esi, esi
je 0x409dcd
mov edx, dword [ebp - 0x218]
add edi, 0x48
mov ecx, dword [ebp - 0x210]
inc edx
mov dword [ebp - 0x218], edx
cmp edx, dword [ebp + 0x10]
jl 0x409ca3
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055245e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055245e
mov esp, ebp
pop ebp
ret
Function at 0x409df0
Capabilities:
Read file via mapping

Disassembly:
push esi
push edi
push 0x583db8
push 0x73a4
push 0
push 4
push 0
push 0xffffffffffffffff
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x73a4
push 0
push 0
push 0xf001f
push dword [edi]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
cmp esi, 0xb7
je 0x409e47
push 0x73a4
push 0
push eax
call fcn.00554550
add esp, 0xc
xor eax, eax
cmp dword [edi], eax
pop edi
setne al
pop esi
ret

Function at 0x40a500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a559
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40a559
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40a54a
cmp esi, edx
jae 0x40a559
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x40a538
cmp esi, edx
jae 0x40a559
cmp word [esi], 0
je 0x40a559
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x40b1d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
mov eax, ecx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
mov dword [ebp - 4], eax
call fcn.0040ab00
mov eax, dword [ebp - 0xc]
mov ebx, 0xf
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [ebp + 8], eax
nop dword [eax]
push esi
push ecx
mov edi, ecx
call fcn.0040b860
mov ecx, eax
add esp, 8
xor ecx, dword [ebp + 8]
add esi, 6
mov dword [ebp + 8], edi
sub ebx, 1
jne 0x40b200
mov eax, dword [ebp + 0x10]
add eax, 0x5a
mov dword [ebp - 8], ecx
push eax
push ecx
call fcn.0040b860
mov ecx, dword [ebp - 4]
add esp, 8
xor eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0xc]
push eax
call fcn.0040ae20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40c580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573f9b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5da100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], 0
mov dword [esi], 0x585530
mov dword [esi + 0x58], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0xe0], 0
mov dword [esi + 0xe4], 0
mov dword [esi + 0xf0], 0
mov eax, dword [esi + 0xd0]
and dword [esi + 0xa0], 0xffffff40
and eax, 0xfffffffb
or eax, 3
mov dword [esi + 0xd4], 0
push 8
mov dword [esi + 0xd0], eax
call dword [sym.imp.USER32.dll_GetSysColor]
and dword [esi + 0xa0], 0xffffffbf
xorps xmm0, xmm0
mov dword [esi + 0xd8], eax
mov ecx, esi
mov eax, dword [esi + 0xd0]
and eax, 0xffffffaf
movlpd qword [ebp - 0x18], xmm0
or eax, 0x28
mov dword [esi + 0xdc], 0x400
mov dword [esi + 0xd0], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xac], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xb0], eax
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp + 8]
test eax, eax
movups xmmword [esi + 0x88], xmm0
cmovne ecx, eax
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0xcdcdcdcd
mov dword [esi + 0xe8], 4
mov dword [esi + 0xec], 0
mov dword [esi + 0x60], 0
mov byte [esi + 0x64], 1
mov dword [esi + 0xcc], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
movups xmmword [esi + 0xbc], xmm0
mov dword [esi + 8], 0x5852c8
mov dword [esi + 0x2c], 0x5852e0
mov dword [esi + 0x30], 0x585310
mov dword [esi + 0x34], 0x585338
mov dword [esi + 0x38], 0x5853b4
mov dword [esi + 0x3c], 0x5853e0
mov dword [esi + 0x40], 0x5853fc
mov dword [esi + 0x48], 0x585418
mov dword [esi + 0x4c], 0x58542c
mov dword [esi + 0x50], 0x585450
mov dword [esi + 0x54], 0x58549c
mov dword [esi + 0x58], ecx
mov ecx, dword [0x5df38c]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574886
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x5da100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4152ec
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4152ec
call fcn.0040e9a0
mov esi, eax
jmp 0x4153e7
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41530f
call fcn.0040e9a0
jmp 0x4153da
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x41532d
call fcn.0040e9a0
jmp 0x4153da
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41534e
mov esi, 0x8007000e
jmp 0x4153dc
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040e240
jmp 0x415383
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x41539a
mov esi, 0x8007000e
jmp 0x4153dc
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4153ba
call fcn.0040e9a0
jmp 0x4153da
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004150a0
mov esi, eax
test edi, edi
je 0x4153e7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x415400
lea ecx, [ebp - 0x418]
call fcn.00411750
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 - 0x14]
xor ecx, ebp
call fcn.0055245e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422354
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0042283f
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.0042256d
cmp esi, 3
je 0x422392
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x4223db
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4223b5
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0041b66f
jmp 0x4223c6
push 0xff
mov ecx, esi
call fcn.0041afa5
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041b692
jmp 0x4223ff
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4223ff
push dword [esi]
push dword [ebp - 4]
call fcn.00421cec
pop edi
pop esi
leave
ret 0xc

Function at 0x4224c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042256d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42250c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0041b66f
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0041b692
jmp 0x422517
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00421cec
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4228f9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x574e44
call fcn.005528ab
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x42291f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42297f
call fcn.0041ba6a
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a8f2
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [fcn.005839f0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055b9c4
push eax
call fcn.00409fe0
add esp, 0x14
test esi, esi
je 0x422972
push esi
call fcn.0055d1e9
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0041b035
mov eax, ebx
call fcn.00552874
ret 8