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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
cmp dword [ebp - 0x104], 2
jne 0x5730d7
cmp dword [ebp - 0x110], 5
ja 0x5730db
cmp dword [ebp - 0x110], 5
jne 0x5730d7
cmp dword [ebp - 0x10c], 1
jae 0x5730db
xor eax, eax
jmp 0x5730dd
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x574bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esi + 4]
mov edx, dword [ebp - 8]
call fcn.00406cfc
cmp edi, dword [ebp - 4]
je 0x574c70
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
inc dword [ebp - 0x14]
mov eax, 5
lea edx, [esi + 8]
mov ecx, dword [ebp - 0x10]
xchg ecx, eax
call fcn.004043fc
lea eax, [ebp - 0xc]
push eax
push 0x40
push 0x10
push edi
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x574c70
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe9
mov eax, dword [ebp - 4]
sub eax, edi
sub eax, 5
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x10
push edi
call sub.kernel32.dll_VirtualProtect
mov bl, 1
test bl, bl
jne 0x574c79
xor eax, eax
mov dword [esi + 0x10], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5754c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
xor ebx, ebx
push esp
push 0x40
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x575504
mov edx, dword [esi + 0x10]
lea eax, [esi + 8]
mov ecx, 5
call fcn.004043fc
push esp
mov eax, dword [esp + 4]
push eax
push 0x10
mov eax, dword [esi + 0x10]
push eax
call sub.kernel32.dll_VirtualProtect
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x581d1c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x260], 0
je 0x581d38
cmp dword [esi + 4], 0
je 0x581d65
test byte [ebx + 0x55], 1
jne 0x581d57
mov eax, ebx
call fcn.0049feac
test eax, eax
jne 0x581d57
mov edx, esi
mov eax, ebx
call fcn.004a6f30
jmp 0x581e56
mov edx, esi
mov eax, ebx
call fcn.004a1744
jmp 0x581e56
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
call fcn.0049acb8
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x581e4f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004a43ac
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.0049c918
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00581d1c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004a43ac
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581e56
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x590dd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x590e06
mov eax, ebx
call fcn.0059188c
cmp dword [ebx + 0x40], 0
je 0x590dff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x590e77
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x590e69
cmp dword [ebx + 8], 0
je 0x590e28
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 0x590e3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x590e69
cmp dword [ebx + 8], 0
je 0x590e1b
cmp eax, 3
je 0x590e4d
dec eax
jne 0x590e1b
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 0x590e1b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x590e1b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x590e95
cmp dword [ebx + 0x14], 0xcc
je 0x590e95
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.00590ea0
pop ebx
ret
Function at 0x1d5bd6c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1d5bd76
pushal
call 0x1d5bd7c
pop ebp
sub ebp, 0x10
sub ebp, 0x195bd6c
jmp 0x1d5bd92
mov eax, 0x195bd6c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5bc
mov edx, 0x9bdf4356
xor byte [eax], dl
inc eax
dec ecx
jne 0x1d5bda9
jmp 0x1d5bdbc
fstp qword [ebx + 0x566adfdd]
push esi
push esi
xlatb
xchg edi, eax
scasb al, byte es:[edi]
push esi
push esi
push esi
push ebp
wait
out dx, al
pop esp
push esi
push esi
push esi
in al, dx
jle 0x1d5be2a
push esi
push esi
mov eax, dword [0xdd9e55b4]
xlatb
pop edx
push esi
push esi
push esi
push ebp
xchg ebx, eax
push es
push es
stosb byte es:[edi], al
leave
dec ecx
push esi
dec ebx
and byte [edi + 0x57], dl
jp 0x1d5be63
mov ch, 0xc1
neg ch
mov esi, 0x56565653
mov edi, 0x56565662
invalid
fnstsw word [edx + 0x72]
invalid
fucomp st(3)
pop esi
push esi
push esi
push esi
lahf
test ch, dl
mov esi, 0xd2591e53
sbb byte [esi + 0x56], dl
push esi
pop ecx
ficomp word [esi]
push esi
push esi
push esi
xor ch, bl
dec edx
outsd dx, dword [esi]
salc
lodsd eax, dword [esi]
mov esi, 0x564cd259
push esi
push esi
salc
lodsd eax, dword [esi]
mov edi, 0x5647d259
push esi
push esi
xor bh, dl
lodsd eax, dword [esi]
test eax, 0x43d25973
push esi
push esi
push esi
pop ss
mov edi, 0xa9a9a99a
jg 0x1d5bec0
outsd dx, dword [esi]
push edi
aad 0x97
push ebx
aad 0xbe
push edx
mov edi, 0xa9a9a9eb
jg 0x1d5beb7
outsd dx, dword [esi]
push esp
aad 0x97
push eax
aad 0xbc
push edx
aad 0xbe
push ebx
mov edi, 0xa9a9a9fd
fnstsw word [edx + 0x72]
invalid
Function at 0x5001e17
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, edi
cmp byte [edi], 0
je 0x5001e4d
cmp byte [esi], 0x5c
jne 0x5001e47
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x5001e44
push edi
push 0x50010d8
call fcn.05001ec8
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x5001e24
pop edi
pop esi
ret 4

Function at 0x5001e52
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x104]
mov eax, ecx
lea ecx, [eax + 1]
lea eax, [ebp + eax - 0x104]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp byte [eax - 1], 0x5c
pop edi
pop esi
je 0x5001e9b
mov byte [eax], 0x5c
and byte [eax + 1], 0
lea eax, [ebp - 0x104]
push eax
call fcn.05001e17
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5001ec2
test al, 0x10
je 0x5001ec2
push 1
pop eax
jmp 0x5001ec4
xor eax, eax
leave
ret 4

Function at 0x5002431
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x5002458
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
invalid

Function at 0x5002460
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec ebp
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
Function at 0x500283f
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x5002841
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x500285f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x50028bd
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x50028a4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x50028ad
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x50028b7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x5002899
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
cmp ecx, dword [eax + 6]
jbe 0x5002823
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x500290a
dec eax
je 0x5002901
sub eax, 3
je 0x50028f8
mov dword [ebp - 4], 0x40
jmp 0x5002927
mov dword [ebp - 4], 4
jmp 0x500290d
mov dword [ebp - 4], 0x20
jmp 0x500290d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x5002959
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x50028d9
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0500216a
lodsd eax, dword [esi]
add al, 0xd3
pop ebx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x5002965
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000e146
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067811
call fcn.10067390
sub esp, 0x18
push ebx
push esi
mov dword [ebp - 0x1c], 0x3e4d
mov eax, ecx
cmp dword [ebp - 0x1c], 0x402b
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], eax
jle 0x1000e1d0
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
and dword [ebp - 0x20], 0
mov eax, esi
cdq
idiv edi
mov esi, dword [ebp - 0x20]
mov edi, edx
mov ecx, esi
mov eax, edi
shl eax, cl
mov ecx, 0x10611478
xor eax, ebx
cdq
push edx
push eax
call fcn.10013138
inc esi
cmp esi, 0x41ae
jl 0x1000e188
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x6cd1
jl 0x1000e17a
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x6406
jl 0x1000e175
inc ebx
cmp ebx, 0x119
jl 0x1000e170
mov eax, dword [ebp - 0x24]
dec dword [eax]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x3ca7
jge 0x1000e1ee
mov edx, 0x10007678
mov ecx, 0x10611478
call fcn.10015a5f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e219
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], 0xcb3f
xor ebx, ebx
mov dword [ebp - 0xc], 0xee91b76
push 7
mov dword [ebp - 0xc], 0xe4d8d955
mov dword [ebp - 0xc], ebx
pop edx
jmp 0x1000e24b
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x34], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x1000e241
push 3
mov dword [ebp - 0xc], ebx
pop esi
jmp 0x1000e267
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x24], 0xc9ba5b0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1000e259
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, 0x59c3
je 0x1000e27c
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov eax, dword [ebp - 0x28]
imul ecx, ecx, 0x1932
push 1
pop edi
sub ecx, eax
jne 0x1000e2a4
mov ecx, ebx
cmp dword [ebp - 8], ebx
je 0x1000e2a6
mov ecx, edi
mov eax, 0x9900
sub eax, ecx
cmp eax, dword [ebp - 8]
jg 0x1000e2b5
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
cmp eax, 0x7b38
setle cl
xor eax, eax
cmp ecx, 0xffffffff
setl al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1000e33c
mov dword [ebp - 0xc], ebx
jmp 0x1000e334
mov dword [ebp - 8], ebx
jmp 0x1000e31c
cmp byte [ebp - 1], bl
je 0x1000e2ff
push 0x1f5b
push 0x20a5
call dword [sym.imp.GDI32.dll_SetROP2]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000e319
push ebx
push ebx
push 0x58a
push 0x23bb
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 8]
cmp dword [ebp - 8], esi
mov byte [ebp - 1], bl
jle 0x1000e2ea
cmp byte [ebp - 1], bl
je 0x1000e331
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffffb
je 0x1000e2e5
jmp 0x1000e36e
mov dword [ebp - 0xc], 0xe5f58cdc
mov dword [ebp - 0xc], ebx
jmp 0x1000e352
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x18], edx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], esi
jl 0x1000e348
dec dword [ebp - 0x10]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1000e36e
push edi
push 0x687
call dword [sym.imp.USER32.dll_FlashWindow]
push edi
push ebx
push 0xfaf
push 0xc9f
call dword [sym.imp.USER32.dll_GetDlgItemInt]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100186fe
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067bfd
call fcn.10067390
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x5723
cmp dword [ebp - 0x18], 0x59b3
push edi
mov dword [ebp - 0x10], esp
jle 0x10018778
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, ebx
sar eax, cl
lea ecx, [edi + esi]
xor eax, ecx
mov ecx, 0x10611478
cdq
push edx
push eax
call fcn.10013138
mov ecx, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, 0x4f0d
jl 0x1001872c
inc ebx
cmp ebx, 0x3b87
jl 0x10018727
inc edi
cmp edi, 0x2b10
jl 0x10018725
inc esi
cmp esi, 0x3bc5
jl 0x10018723
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x5427
jge 0x10018794
mov edx, 0x100081c4
mov ecx, 0x10611478
call fcn.10015a5f
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100187c1
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10067c07
call fcn.10067390
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x536d
cmp dword [ebp - 0x14], 0x53e0
push edi
mov dword [ebp - 0x10], esp
jle 0x10018812
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x10611478
xor eax, esi
cdq
push edx
push eax
call fcn.10013138
inc edi
cmp edi, 0x72be
jl 0x100187e7
inc esi
cmp esi, 0x64a5
jl 0x100187e5
push 0
call dword [sym.imp.USER32.dll_SetKeyboardState]
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x50d5
jge 0x1001882e
mov edx, 0x10008218
mov ecx, 0x10611478
call fcn.10015a5f
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
xor edx, edx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018bc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov dword [esp + 4], 0x5ed
cmp dword [esp + 4], 0x819
push esi
push edi
jle 0x10018c2c
xor esi, esi
xor edi, edi
mov ebx, 0x3fba
mov eax, edi
lea ecx, [esp + 0x10]
cdq
push edx
push eax
call fcn.1000de7e
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10018c03
mov eax, dword [eax]
push eax
call fcn.100520df
pop ecx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.100138e3
add edi, esi
dec ebx
jne 0x10018beb
inc esi
cmp esi, 0x7c81
jl 0x10018be4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esp + 0xc], 0x4b9
jge 0x10018c41
push 0x100084f0
call fcn.100520df
pop ecx
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100190e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001928a
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0x47de
mov dword [ebp - 0x28], 0x10008620
cmp dword [ebp - 0x20], 0x4a8c
jle 0x100191a6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and dword [ebp - 0x18], 0
jmp 0x1001914c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1350
jge 0x100191a6
and dword [ebp - 0x1c], 0
jmp 0x10019162
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x14b3
jge 0x100191a4
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.1001310e
jmp 0x1001915b
jmp 0x10019145
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x4537
jge 0x100191c2
push dword [ebp - 0x28]
call fcn.100520df
pop ecx
jmp 0x100191de
or dword [ebp - 4], 0xffffffff
jmp 0x100191e8
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1001923f
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10019220
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1001923d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.10013401
mov dword [eax], 0x3245e346
jmp 0x10019215
jmp 0x10019288
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10019288
push 0x1e62
push 0x1d5d
push 0x226d
push 0xc6
push 0x26f3
push 0x2385
push 0x17c0
push 0xb98
push 0x1ab1
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x1001929e
push 0x677d
push 0x5325
push 0
call fcn.10018c9a
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019538
Capabilities:
Delete registry value
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100196a3
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10019588
push 0
push 0x2de
call dword [sym.imp.USER32.dll_ValidateRgn]
jmp 0x100196a1
mov dword [ebp - 0x24], 0x4c0c
mov dword [ebp - 0x30], 0x10008710
cmp dword [ebp - 0x24], 0x4fde
jle 0x1001965b
and dword [ebp - 0x1c], 0
jmp 0x100195b0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x7e30
jge 0x10019651
and dword [ebp - 0x14], 0
jmp 0x100195ca
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3eb7
jge 0x1001964c
and dword [ebp - 0x18], 0
jmp 0x100195e0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2c64
jge 0x10019647
and dword [ebp - 0x20], 0
jmp 0x100195f6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4384
jge 0x10019645
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, edx
sar eax, cl
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.1000de7e
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10013118
push eax
call fcn.100520df
pop ecx
lea ecx, [ebp - 0x58]
call fcn.1001310e
jmp 0x100195ef
jmp 0x100195d9
jmp 0x100195c3
jmp 0x100195a9
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x49ea
jge 0x1001967b
push dword [ebp - 0x30]
call fcn.100520df
pop ecx
jmp 0x10019697
or dword [ebp - 4], 0xffffffff
jmp 0x100196a1
jmp 0x100196c9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x34]
push 0x5947
push dword [ebp - 0x38]
push 0x7c62
push 0
call fcn.10019fde
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100196da
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001971f
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100196ff
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1001971d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001971d
push 0x975
push 1
push 0x19a1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x10019738
push 0x561a
push 0x4ae7
push 0x7bf
push 0
call fcn.1001ad13
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10027313
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027387
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1002736a
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10027368
push 0x877
push 0
push 0x1e15
push 0x8fe
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10027385
push 0x877
push 0
push 0x1e15
push 0x8fe
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1002739b
push 0x438
push 0
push 0x1cfc
call fcn.10022917
add esp, 0xc
mov esp, ebp
pop ebp
ret