joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aed24
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, dword [0x409768]
call fcn.00406604
xor eax, eax
push ebp
push 0x4aeee5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5949a0], 0
jne 0x4aed78
mov ecx, dword [0x595ed8]
mov dl, 1
mov eax, dword [0x40a14c]
call fcn.00411390
call fcn.00404918
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.004036c0
mov eax, ebx
call fcn.00405910
mov dword [ebp - 0x28], eax
push esi
mov esi, 0x4aeef4
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
call fcn.00407c5c
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
test eax, eax
je 0x4aedbf
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4aee8b
mov dword [ebp - 0x1c], 0x20
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4aee77
lea eax, [ebp - 4]
lea edx, [ebp - 0x5c]
mov ecx, 0x10
call fcn.00405e4c
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405eb4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4aee1a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4aee1a
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.004052a0
mov ebx, eax
test ebx, ebx
je 0x4aee25
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4aee42
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4aee42
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004052a0
mov edi, eax
test edi, edi
je 0x4aee4d
sub edi, 4
mov edi, dword [edi]
push edi
mov eax, dword [ebp - 8]
call fcn.00405d08
push eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00405d08
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringW_1
sub eax, 2
test eax, eax
sete al
jmp 0x4aee79
xor eax, eax
test al, al
je 0x4aee84
mov ebx, 0x15
jmp 0x4aee90
mov ebx, 0x10
jmp 0x4aee90
mov ebx, 0x15
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 0x2c]
push eax
push ebx
push 0
push esi
call dword [0x5949a0]
call fcn.004aeb34
mov eax, dword [ebp - 0xc]
call fcn.004aeb34
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00407c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeeec
lea eax, [ebp - 0x14]
mov edx, dword [0x409768]
call fcn.004066dc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405c74
ret
Function at 0x4cd950
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4cd971
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x4cd971
xor eax, eax
ret
mov al, 1
ret

Function at 0x4d930c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
xor edx, edx
mov eax, dword [ebx + 0x284]
call fcn.00464f9c
xor eax, eax
mov dword [ebx + 0x28c], eax
mov eax, ebx
call fcn.00493008
test al, al
je 0x4d933e
push 0
mov eax, ebx
call fcn.00492c5c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4ed124
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ed2fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004ed310
test eax, eax
je 0x4ed2d8
mov dl, 1
mov eax, dword [0x4356f4]
call fcn.00438000
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4ed2d1
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_GetDC
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00438ac0
mov eax, ebx
call fcn.004ed310
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
call fcn.0043892c
mov eax, dword [ebx + 0x224]
push eax
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00424420
mov esi, 0xc10
mov eax, dword [ebp - 8]
call fcn.00438a38
mov edi, eax
mov eax, ebx
call fcn.004ed310
mov eax, dword [eax + 0x30]
lea edx, [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040be1c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00405d08
push eax
push edi
call sub.user32.dll_DrawTextW
lea edx, [ebp - 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
add eax, edx
add eax, 0x22
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004ed310
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 8]
call fcn.0043892c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
movzx edx, byte [0x4ed30c]
call fcn.004376f0
mov eax, dword [ebx + 0x21c]
push eax
lea eax, [ebp - 0x20]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00424420
mov esi, 0x400
mov eax, dword [ebp - 8]
call fcn.00438a38
mov edi, eax
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x1ac]
call fcn.004c25b4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
call fcn.00405d08
push eax
push edi
call sub.user32.dll_DrawTextW
lea edx, [ebp - 0x30]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
add eax, edx
add eax, 0x22
cmp eax, dword [ebp - 4]
jge 0x4ed2ae
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed2d8
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00438ac0
mov eax, dword [ebp - 8]
call fcn.00403dcc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed302
lea eax, [ebp - 0x34]
call fcn.00405c6c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00405c74
ret
Function at 0x50d70c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x50d73a
mov eax, ebx
call fcn.0050e1c0
cmp dword [ebx + 0x40], 0
je 0x50d733
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x50d7ab
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x50d79d
cmp dword [ebx + 8], 0
je 0x50d75c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x50d76e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x50d79d
cmp dword [ebx + 8], 0
je 0x50d74f
cmp eax, 3
je 0x50d781
dec eax
jne 0x50d74f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50d74f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x50d74f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x50d7c9
cmp dword [ebx + 0x14], 0xcc
je 0x50d7c9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0050d7d4
pop ebx
ret
Function at 0x55813c
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 2
jne 0x558161
cmp dword [esp + 4], 5
jb 0x558161
mov al, 1
jmp 0x558163
xor eax, eax
add esp, 0x114
ret
Function at 0x5717f0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x59c2f0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x571812
shr eax, 1
xor eax, 0xedb88320
jmp 0x571814
shr eax, 1
dec edx
jne 0x571800
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5717f9
mov byte [0x59c6f0], 1
pop esi
pop ebx
ret

Function at 0x571830
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x59c6f0], 0
jne 0x571847
call fcn.005717f0
mov eax, edi
dec eax
test eax, eax
jl 0x57186f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x59c2f0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x571851
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5742e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x57437a.0
jmp dword [ecx*4 + 0x574313]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x574345
sub dl, 8
je 0x574354
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x573f88
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x573fe0
jmp case.0x57437a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x57437a.0
movzx ecx, byte [ecx + 0x574381]
jmp dword [ecx*4 + 0x574392]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x57408c
jmp case.0x57437a.0
cmp dl, 3
jne 0x5743bf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5740e4
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5740a0
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x574128
jmp case.0x57437a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5743ea
sub dl, 8
je 0x5743f6
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x574154
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5741c0
jmp case.0x57437a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x574415
sub dl, 8
je 0x574421
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x57427c
jmp case.0x57437a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5742a4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5744c3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0057348c
test eax, eax
je 0x5744c3
mov eax, ebx
call fcn.005744cc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x57445c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5744cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5744fd
dec al
je 0x574538
dec al
je 0x57457d
dec al
je 0x5745e6
jmp 0x574670
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x574670
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x57450d
jmp 0x574670
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x574670
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x574548
jmp 0x574670
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x574670
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5745ac
xor ebp, ebp
jmp 0x5745bc
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5745c5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x57458d
jmp 0x574670
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x574670
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x57463f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00571878
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5745fa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4022de
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4040ac]
push ebx
xor ebx, ebx
cmp dword [0x4040fc], ebx
mov dword [ebp - 4], eax
jne 0x40235e
lea eax, [ebp - 0x114]
push eax
push 0x40119c
push 0x80000001
call dword [fcn.00401010]
test eax, eax
jne 0x40235e
push esi
push ebx
mov esi, 0x401190
push esi
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x110], bl
mov dword [ebp - 8], ebx
call fcn.00402039
test eax, eax
je 0x40235d
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push eax
push 1
push ebx
push esi
push dword [ebp - 0x114]
call dword [fcn.0040100c]
push dword [ebp - 0x114]
call dword [fcn.00401008]
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.00402d1d
leave
ret
Function at 0xf01930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x11
mov edi, ecx
call fcn.00f01ba2
mov esi, eax
add esp, 4
test esi, esi
je 0xf01954
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov byte [esi + 0x10], 0
jmp 0xf01956
xor esi, esi
movsx eax, byte [edi + 0x11]
lea ecx, [esi + 0x10]
push ebx
lea ebx, [edi + 0x11]
xor edx, edx
mov dword [ebp - 4], edx
movd xmm0, eax
lea eax, [edi + 0x10]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
cmp esi, eax
ja 0xf01982
cmp ecx, edi
jae 0xf0199b
cmp esi, ebx
ja 0xf0198a
cmp ecx, ebx
jae 0xf0199b
movups xmm0, xmmword [edi]
mov edx, 0x10
mov dword [ebp - 4], edx
xorps xmm1, xmm0
movups xmmword [esi], xmm1
mov eax, 0x11
add edx, esi
sub edi, esi
sub eax, dword [ebp - 4]
mov cl, byte [edi + edx]
lea edx, [edx + 1]
xor cl, byte [ebx]
mov byte [edx - 1], cl
sub eax, 1
jne 0xf019a7
pop ebx
mov byte [esi + 0x10], al
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xf019d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x13
mov edi, ecx
call fcn.00f01ba2
mov esi, eax
add esp, 4
test esi, esi
je 0xf019fa
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov word [esi + 0x10], 0
mov byte [esi + 0x12], 0
jmp 0xf019fc
xor esi, esi
movsx eax, byte [edi + 0x13]
lea ecx, [esi + 0x12]
push ebx
lea ebx, [edi + 0x13]
xor edx, edx
mov dword [ebp - 4], edx
movd xmm0, eax
lea eax, [edi + 0x12]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
cmp esi, eax
ja 0xf01a28
cmp ecx, edi
jae 0xf01a41
cmp esi, ebx
ja 0xf01a30
cmp ecx, ebx
jae 0xf01a41
movups xmm0, xmmword [edi]
mov edx, 0x10
mov dword [ebp - 4], edx
xorps xmm1, xmm0
movups xmmword [esi], xmm1
mov eax, 0x13
add edx, esi
sub edi, esi
sub eax, dword [ebp - 4]
nop dword [eax]
mov cl, byte [edi + edx]
lea edx, [edx + 1]
xor cl, byte [ebx]
mov byte [edx - 1], cl
sub eax, 1
jne 0xf01a50
pop ebx
mov byte [esi + 0x12], al
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0xf01a70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0xd
mov edi, ecx
call fcn.00f01ba2
add esp, 4
test eax, eax
je 0xf01a97
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov byte [eax + 0xc], 0
jmp 0xf01a99
xor eax, eax
lea ebx, [edi + 0xd]
mov edx, eax
sub edi, eax
mov esi, 0xd
mov cl, byte [edx + edi]
lea edx, [edx + 1]
xor cl, byte [ebx]
mov byte [edx - 1], cl
sub esi, 1
jne 0xf01aa5
pop edi
pop esi
pop ebx
mov byte [eax + 0xc], 0
ret

Function at 0xf01ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 0xf
mov edi, ecx
call fcn.00f01ba2
add esp, 4
test eax, eax
je 0xf01aed
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov word [eax + 0xc], 0
mov byte [eax + 0xe], 0
jmp 0xf01aef
xor eax, eax
lea ebx, [edi + 0xf]
mov edx, eax
sub edi, eax
mov esi, 0xf
nop dword [eax + eax]
mov cl, byte [edx + edi]
lea edx, [edx + 1]
xor cl, byte [ebx]
mov byte [edx - 1], cl
sub esi, 1
jne 0xf01b00
pop edi
pop esi
pop ebx
mov byte [eax + 0xe], 0
ret
Function at 0xf02325
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0xf02364
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xf02364
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xf02364
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0xf02364
cmp dword [ecx + 0x74], 0xe
jbe 0xf02364
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40df28
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41e648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::constructor_void_
fild dword [esi + 0xc]
sub esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
fstp qword [esp]
fild dword [esi + 0x10]
sub esp, 8
fstp qword [esp]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::GeneratePSF_double__double_
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::MapRestoreByteVar_unsigned_char___int__int__int__int_
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::destructor_void_
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x4190c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea esi, [ebp + 4]
push eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.0040f2c0
mov edi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040f2c0
mov ebx, dword [eax + 4]
xor esi, esi
push 0xffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x50]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp + 0x24]
cmp ebx, esi
mov dword [esp + 0x10], edx
jle 0x419192
mov ebp, ebx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x41915c
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push ecx
mov ecx, dword [edx]
push ecx
push 1
push edi
push ebp
push 0
push 1
push edi
push esi
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
dec ebp
cmp esi, ebx
jl 0x419151
xor esi, esi
mov dword [esp + 0x1c], 0x4211d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x419300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e9a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x28]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.0040f2c0
mov ebx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0040f2c0
mov ebp, dword [eax + 4]
xor edi, edi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
call sub.MFC42.DLL_CBrush::CBrush
lea eax, [esp + 0x30]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x5c]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
imul eax, dword [esi + 0xc]
mov dword [esp + 0x28], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
shl esi, 2
mov edi, esi
imul edi, ebp
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
test ebp, ebp
jle 0x419430
xor ebx, ebx
mov dword [esp + 0x14], ebp
xor ecx, ecx
test esi, esi
jle 0x41941f
mov edx, dword [esp + 0x1c]
lea ebp, [ebx + ecx]
xor eax, eax
mov edx, dword [edx]
mov al, byte [edx + ebp]
imul eax, edi
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x10]
sar eax, 8
lea ebp, [ebx + edx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebp - 1], al
jl 0x4193ee
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add ebx, esi
dec eax
mov dword [esp + 0x14], eax
jne 0x4193e8
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41943b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0
push ecx
push edx
push ebp
push ebx
push 0
push 0
push ebp
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x100
jl 0x4193de
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x30], 0x4211d0
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4