joyce8/EMBER2024-capa huggingface dataset:
Function at 0x554240
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a5738
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x554279
inc eax
mov dword [esi + 0x10], eax
jmp 0x55438c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x55428d
mov eax, 0xffffffc7
jmp 0x55438e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x55429e
cmp dword [esi + 8], eax
jne 0x55428d
cmp dword [esi + 8], eax
jne 0x5542b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x5542b7
mov eax, 0xffffffc7
jmp 0x55438e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x5542cb
push eax
mov ecx, ebx
call fcn.00553a70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0051c5c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x5542fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0051c5e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.005531e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x55432f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb315a0
call fcn.0051c7c0
mov eax, dword [esp + 0x38]
jmp 0x55438e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.005540a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x554373
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.005540c0
mov esi, eax
test esi, esi
jne 0x5543a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.005540a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x554345
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb315a0
call fcn.0051c7c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb315a0
call fcn.0051c7c0
mov eax, esi
jmp 0x55438e

Function at 0x5574c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x557520
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x557520
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x557520
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x557520
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x557560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x563d30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a5d68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0059dfa1
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.005636d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0059decf
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0059a790
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0059a790
push 1
push 0
push 0
mov ecx, esi
call fcn.0059a738
push 1
push 0
push 1
mov ecx, esi
call fcn.0059a738
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0059e013
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x563eb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a5d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0059dfa1
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.005636d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0059decf
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x563f74
cmp dword [esp + 0x40], 1
jne 0x563f72
cmp ecx, eax
jge 0x563f74
mov eax, ecx
cmp eax, 0xc8
jge 0x563f80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00563d30
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0059e013
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x564700
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5a5df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00598bb0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0059e249
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0059f7a8
test eax, eax
je 0x56481c
mov ecx, dword [esp + 0x3c]
call fcn.0059e276
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x5647e0
push edi
mov ecx, esi
call fcn.0059b8db
mov ecx, esi
call fcn.00564980
cmp dword [esp + 0x38], 1
jne 0x564815
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0059ba16
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x567230
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x567263
push esi
call fcn.00575570
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x56725c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x5672e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5672d2
mov eax, dword [esi + 8]
test eax, eax
je 0x567287
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5672ce
cmp eax, 2
je 0x5672d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x56727a
cmp eax, 3
je 0x5672ad
cmp eax, 1
jne 0x56727a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x56727a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x56727a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00567310
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5672f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00567310
add esp, 4
pop esi
ret

Function at 0x567b80
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x567ba1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x567ba1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x567ba1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x583430
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x5834d3
test eax, eax
jbe 0x5834d3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x5834d3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x58347e
xor esi, esi
jmp 0x583484
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x5834af
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0051cff0
add esi, eax
push esi
mov ebx, esi
call fcn.0051cff0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x583490
pop ebp
test edi, edi
pop edi
jne 0x5834d3
test ebx, ebx
je 0x5834d3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00588320
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x5835f5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x58370d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x58370d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00599002
mov esi, eax
test esi, esi
je 0x58370d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x58370d
mov ecx, esi
call fcn.00583580
cmp edi, eax
jge 0x58370d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x583693
mov dword [esp + 0x34], 1
jmp 0x5836ee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x58370d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00582b60
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x5999a6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5999de
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.00597a33
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00597a0b
jmp 0x5999ea
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x59b098
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 0x59b0da
call fcn.005a0b98
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x59b0da
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x59b0d1
xor eax, eax
jmp 0x59b0e2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0059b0e8
pop edi
pop esi
pop ebx
ret 4
Function at 0x5a10c8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5a10f6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5a1114
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005a102e
jmp 0x5a1114
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5a1114
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005a102e
test edi, edi
mov eax, edi
jne 0x5a10fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1103c9c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1103cb8d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
or ebp, 0xffffffff
jmp 0x1103c9ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1103c9f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1103c9e0
mov eax, 1
add ebx, ebx
jne 0x1103ca03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1103c9f8
jne 0x1103ca14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1103c9f8
xor ecx, ecx
sub eax, 3
jb 0x1103ca28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1103ca9a
mov ebp, eax
add ebx, ebx
jne 0x1103ca33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1103ca40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1103ca64
inc ecx
add ebx, ebx
jne 0x1103ca50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1103ca45
jne 0x1103ca61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1103ca45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1103ca84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1103ca75
jmp 0x1103c9e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1103ca84
add edi, ecx
jmp 0x1103c9e6
pop esi
mov edi, esi
mov ecx, 0x225
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1103caa2
cmp byte [edi], 2
jne 0x1103caa2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1103caa7
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x1103cb1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d3b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d3ec]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1103cad4
mov ecx, edi
jns 0x1103cb03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d3f0]
or eax, eax
je 0x1103cb19
mov dword [ebx], eax
add ebx, 4
jmp 0x1103caf1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1103cb50
cmp al, 0xef
ja 0x1103cb43
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1103cb25
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1103cb32
mov ebp, dword [esi + 0x3d3f4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1103cb84
sub esp, 0xffffff80
jmp 0x1100216c
Function at 0x401120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x418040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea edx, [ecx + 2]
push edi
mov edi, ecx
mov dword [ebp - 0x234], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401147
sub ecx, edx
sar ecx, 1
cmp ecx, 0x40
ja 0x401384
mov ecx, 0x24
lea eax, [ebp - 0x230]
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x401170
cmp dword [0x418d24], 2
movups xmm0, xmmword [str.VJJV__x]
mov ax, word [0x4161b8]
mov dword [ebp - 0x230], 0x24
movups xmmword [ebp - 0x270], xmm0
mov dword [ebp - 0x21c], 4
movups xmm0, xmmword [0x416190]
mov word [ebp - 0x238], ax
movups xmmword [ebp - 0x260], xmm0
movups xmm0, xmmword [0x4161a0]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [0x4161b0]
movq qword [ebp - 0x240], xmm0
jl 0x4012f2
movaps xmm4, xmmword [0x416350]
movaps xmm3, xmmword [0x4163b0]
movaps xmm5, xmmword [0x416370]
movaps xmm6, xmmword [0x416380]
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x270]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x270], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x268]
xorps xmm1, xmm0
movq qword [ebp + ecx*2 - 0x268], xmm1
add ecx, 8
cmp ecx, 0x18
jl 0x401200
cmp ecx, 0x1d
jge 0x40131b
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x36
sub edx, eax
add edx, 0x39
xor word [ebp + ecx*2 - 0x270], dx
inc ecx
cmp ecx, 0x1d
jl 0x4012f2
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0040688f
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004068f3
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
push 0x416320
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov ecx, eax
mov eax, dword [ebp - 0x234]
mov dword [esi], eax
mov eax, ecx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403695
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
mov dword [esi], 0
xor ecx, ebp
pop esi
call fcn.00403695
mov esp, ebp
pop ebp
ret
Function at 0x401ee0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 2
push 0
mov dword [ebp - 8], edx
mov ebx, 0xc0000022
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x13
mov dword [ebp - 0x10], eax
mov esi, 0x415ff8
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x418d24], 2
movsw word es:[edi], word [esi]
jl 0x402030
movaps xmm4, xmmword [0x416350]
movaps xmm3, xmmword [0x4163b0]
movaps xmm5, xmmword [0x416370]
movaps xmm6, xmmword [0x416380]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x60], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x58]
xorps xmm1, xmm0
movq qword [ebp + ecx*2 - 0x58], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x401f44
cmp ecx, 0x27
jge 0x402056
nop word [eax + eax]
mov eax, 0x4bda12f7
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x36
sub edx, eax
add edx, 0x39
xor word [ebp + ecx*2 - 0x60], dx
inc ecx
cmp ecx, 0x27
jl 0x402030
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00401120
mov esi, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x402090
test esi, esi
je 0x40209c
mov eax, dword [esi]
push 0
push 0
push 0
push dword [ebp - 8]
mov eax, dword [eax + 0x24]
push dword [ebp - 0xc]
push esi
call eax
mov ebx, eax
sar ebx, 0x1f
and ebx, 0xc0000022
test esi, esi
je 0x40209c
mov ecx, dword [esi]
push esi
mov ecx, dword [ecx + 8]
call ecx
cmp dword [ebp - 0x10], 0
jne 0x4020a8
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40407e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4040bd
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4040bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4040bd
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4040bd
cmp dword [ecx + 0x74], 0xe
jbe 0x4040bd
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret