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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x407a5d
pop dword [ebp - 0x40]
mov eax, 0x407a5d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x3a594fff
add dword [ebp - 0x50], 0x13f8f54c
mov dword [ebp - 0x4c], 0xfc4fed0e
sub dword [ebp - 0x4c], 0xca1ca0c9
mov dword [ebp - 0x48], 0x46dad441
add dword [ebp - 0x48], 0x5716fed
mov dword [ebp - 0x44], 0xc4b32633
add dword [ebp - 0x44], 0x3b4cd9cd
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x135e2d84
add dword [ebp - 0x50], 0x61143bd2
mov dword [ebp - 0x4c], 0xb2736a65
add dword [ebp - 0x4c], 0x8ef8f710
mov dword [ebp - 0x48], 0x120fcd35
add dword [ebp - 0x48], 0x515f9f37
mov dword [ebp - 0x44], 0x88805151
sub dword [ebp - 0x44], 0x88805151
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x287c78d7
sub eax, 0x2838d89f
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3c1a5
push 0
call eax
mov ecx, 0x58dfef44
add ecx, 0xa7205046
mov ebx, eax
mov edi, 0x457a00
add edi, dword [ebp - 0x40]
mov edx, 0x91617a3a
sub edx, 0xb7c87ef9
add dword [ebp - 0x38], esi
mov esi, dword [edi]
sub esi, edx
sub dword [ebp - 0x1c], 0x62282049
mov dword [ebx], esi
xor dword [ebp - 8], eax
add ebx, 4
add edi, 0x9affceb8
add edi, 0x6500314c
loop 0x407b6f
add eax, 0xde6483e2
add eax, 0x219c6d19
mov ebx, eax
add eax, 5
mov ecx, 0x578552d9
add ecx, 0xa8baad27
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x41a87e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x41a88d
pop dword [ebp - 0x38]
mov eax, 0x5d6a980f
sub eax, 0x5d28ef82
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4d2f32ac
sub dword [ebp - 0x48], 0xfedced61
mov dword [ebp - 0x44], 0x77926352
add dword [ebp - 0x44], 0xbaa0e8f3
mov dword [ebp - 0x40], 0xa267be5d
add dword [ebp - 0x40], 0xa9e485d1
mov dword [ebp - 0x3c], 0x461bd474
sub dword [ebp - 0x3c], 0x461bd474
lea eax, [ebp - 0x48]
push eax
mov eax, 0xc05fedf4
add eax, 0x3fe24280
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x62d5460c
sub dword [ebp - 0x48], 0xee62dcb6
mov dword [ebp - 0x44], 0x8da8fec5
add dword [ebp - 0x44], 0xb3c362b0
mov dword [ebp - 0x40], 0x8e364f83
sub dword [ebp - 0x40], 0x2ac6e317
mov dword [ebp - 0x3c], 0x64daeadc
sub dword [ebp - 0x3c], 0x64daeadc
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3f999
push 0
call eax
mov ecx, 0x4ad6
mov ebx, eax
mov esi, 0x434400
add esi, dword [ebp - 0x38]
mov edx, 0xd5d000f6
xor dword [ebp - 0x30], esi
mov edi, dword [esi]
xor dword [ebp - 0x1c], ebx
xor edi, edx
sub dword [ebp - 0x14], esi
mov dword [ebx], edi
sub dword [ebp - 4], 0xd3875c02
add ebx, 0xfc59979b
add ebx, 0x3a66869
add esi, 0xcb8820a7
sub esi, 0xcb8820a3
loop 0x41a998
add eax, 0xa3635d52
add eax, 0x5c9dc0d9
mov ebx, eax
add eax, 0x48090074
add eax, 0xb7f6ff91
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x9aa108
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9aa258
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9aa12e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9aa11a
add dl, dl
jne 0x9aa139
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9aa18c
xor eax, eax
add dl, dl
jne 0x9aa146
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9aa22d
add dl, dl
jne 0x9aa155
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9aa160
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9aa16b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9aa176
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9aa182
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9aa125
mov eax, 1
add dl, dl
jne 0x9aa19a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9aa1a5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9aa191
sub eax, ebx
mov ebx, 1
jne 0x9aa1d8
mov ecx, 1
add dl, dl
jne 0x9aa1be
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9aa1c9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9aa1b5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9aa125
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9aa1ef
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9aa1fa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9aa1e6
cmp eax, 0x7d00
jae 0x9aa21d
cmp eax, 0x500
jb 0x9aa218
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9aa125
cmp eax, 0x7f
ja 0x9aa220
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9aa125
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9aa24e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9aa125
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10008aa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
push edi
mov edi, ecx
lea ecx, [esi + 8]
call dword [eax + 0x20]
cmp eax, 0x2710
jne 0x10008b17
mov eax, dword [esi + 0x14]
cmp eax, 1
jne 0x10008b0b
mov byte [esi + 0xc], 0
push dword [edi + 0x3ac]
push 0
push 0x42b
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10008ae6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x98]
xor eax, eax
cmp byte [esi + 0xc], al
pop edi
sete al
pop esi
pop ebp
ret 4
cmp eax, 4
jne 0x10008b17
mov byte [esi + 0xc], 0
push eax
jmp 0x10008af3
push esi
mov ecx, edi
call fcn.1000a950
pop edi
pop esi
pop ebp
ret 4

Function at 0x1000b200
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10152a78
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101b87d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x1000b244
xor esi, esi
jmp 0x1000b312
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000b30d
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x1000b30d
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100e5140
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x218]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000b2d6
test dx, dx
je 0x1000b2d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000b2d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000b2b0
xor eax, eax
jmp 0x1000b2db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000b2e3
xor esi, esi
jmp 0x1000b312
push ecx
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.100085f0
call fcn.1000b200
add esp, 4
test eax, eax
je 0x1000b2df
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
jmp 0x1000b312
mov esi, 1
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
add edi, 0xfffffff4
cmp edi, dword [section..data]
je 0x1000b33b
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1000b33b
push edi
call fcn.1003c235
add esp, 4
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.100bcd31
mov esp, ebp
pop ebp
ret
Function at 0x1000e490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153043
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x101b87d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x448], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x444], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0
push 0x1018cab4
test eax, eax
je 0x1000e55d
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
mov word [esi], ax
call fcn.10012090
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x1000e6da
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e6d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e6f7
jmp 0x1000e6d0
xor eax, eax
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
call fcn.10012090
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.100e5140
add esp, 0xc
mov dword [ebp - 0x44c], 0x400
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x448], 1
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push 0x1018c9c8
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x440]
push 0x1018c9d4
push eax
call fcn.1000dbf0
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x428]
cmp eax, edi
je 0x1000e633
mov ecx, eax
call fcn.10011df0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x418], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x42c]
cmp edx, 8
jb 0x1000e673
mov ecx, dword [ebp - 0x440]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000e669
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e6fc
push edx
push ecx
call fcn.100bcd6c
add esp, 8
push dword [ebp - 0x444]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x428]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov dword [ebp - 0x444], 0
movq xmm0, qword [ebp - 0x418]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
jmp 0x1000e520
push edx
push ecx
call fcn.100bcd6c
add esp, 8
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.100bcd31
mov esp, ebp
pop ebp
ret
call fcn.100fb4d6
call fcn.100fb4d6
int3
Function at 0x10016df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10153672
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x101b87d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x118]
push ecx
push 1
lea eax, [ebp + 8]
mov dword [ebp - 0x120], 1
cmovae eax, dword [ebp + 8]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10016f07
cmp dword [ebp + 0x34], 8
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], 1
push ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x124], 0x104
push ecx
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10016ef0
lea ecx, [ebp - 0x114]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016ed2
sub ecx, edx
lea eax, [ebp - 0x114]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10012090
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x10016f3d
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016f33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fa3
push edx
push ecx
call fcn.100bcd6c
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x10016f87
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10016f7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fa8
push edx
push ecx
call fcn.100bcd6c
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bcd31
mov esp, ebp
pop ebp
ret
call fcn.100fb4d6
call fcn.100fb4d6
int3
Function at 0x100181c0
Capabilities:
Create thread
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [ebp - 4], 0
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x100180a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 4]
xor edi, edi
test esi, esi
jne 0x1001822a
cmp edi, 0xf
jg 0x10018226
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x100180a0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 0xc]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
test esi, esi
je 0x100181f3
jmp 0x1001822a
test esi, esi
je 0x10018249
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10018249
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10018249
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov dword [0x101d2b00], eax
mov eax, dword [ebp + 8]
mov dword [0x101d2afc], eax
lea eax, [ebp + 0xc]
push eax
push 0
lea eax, [ebp + 8]
mov dword [ebp + 0xc], 1
push eax
push 0x10001f30
push 0
push 0
mov dword [ebp + 8], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10018910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101b87d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
push eax
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x100189a9
push esi
call fcn.1010e66d
add esp, 4
mov ebx, eax
mov dword [ebp - 0x18], ebx
push ebx
push esi
push dword [ebp - 0x24]
push str.ntdll.dll
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x1018c5dc
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10018993
cmp dword [ebp - 0x28], 0x34
jb 0x10018993
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x18]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 8]
movzx esi, word [eax + 0xa]
call fcn.1010e678
add esp, 4
jmp 0x100189b2
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
call fcn.1010e678
add esp, 4
jmp 0x100189b2
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movzx eax, di
cmp si, 6
jb 0x10018afd
ja 0x100189db
cmp bx, 1
jb 0x10018afd
ja 0x100189db
mov ecx, 0x1db0
cmp ax, cx
jb 0x10018afd
mov edi, 0x64
cmp si, 0xa
jb 0x10018a2e
ja 0x100189f7
test bx, bx
jne 0x100189f7
mov ecx, 0x3a6b
cmp ax, cx
jb 0x10018a2e
push 0x101892d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10018aea
push str.GetDpiForWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018ae3
mov ebx, dword [ebp - 0x1c]
push ebx
call eax
imul ecx, eax, 0x64
jmp 0x10018ad7
cmp si, 6
ja 0x10018a7e
cmp bx, 3
jae 0x10018a7e
mov ebx, dword [ebp - 0x1c]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
imul ecx, eax, 0x64
mov eax, 0x2aaaaaab
push esi
push ebx
imul ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bcd31
mov esp, ebp
pop ebp
ret
push str.Shcore.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10018aea
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
xorps xmm0, xmm0
push ebx
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
push str.GetDpiForMonitor
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10018ae3
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push ebx
call eax
test eax, eax
js 0x10018ae3
imul ecx, dword [ebp - 0x18], 0x64
mov eax, 0xaaaaaaab
mul ecx
mov edi, edx
shr edi, 6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bcd31
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x64
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bcd31
mov esp, ebp
pop ebp
ret
Function at 0x1001a020
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebx, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [ebp - 4]
push 1
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0x248]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
mov eax, dword [ebp - 4]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [eax + 0x248]
call esi
mov eax, dword [ebp - 4]
push dword [eax + 0x248]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10036ca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea ebx, [edx + 4]
mov esi, ecx
or eax, 0xffffffff
mov dword [ebp - 4], esi
xor edi, edi
test ebx, ebx
jle 0x10036cdc
mov esi, dword [esi]
sub esi, edx
nop dword [eax]
movzx edx, byte [esi + edi - 4]
inc edi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1018f840]
cmp edi, ebx
jl 0x10036cc0
mov esi, dword [ebp - 4]
mov edx, dword [esi]
not eax
mov ecx, eax
shr ecx, 0x18
pop edi
mov byte [edx], cl
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 1], cl
mov ecx, eax
shr ecx, 8
mov byte [edx + 2], cl
mov byte [edx + 3], al
lea eax, [edx + 4]
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003d323
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x1003d33c
mov edx, dword [esi]
and edx, 7
inc edx
jmp 0x1003d33e
xor edx, edx
lea eax, [edx - 1]
cmp eax, 4
ja 0x1003d46e
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 1
jbe 0x1003d3ff
push edi
lea ecx, [ebp + 0xc]
call fcn.1003f83c
push eax
push ebx
call fcn.1003d517
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.10042968
push eax
push ebx
call fcn.1003d517
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.1003db7b
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1003c7b2
test al, al
je 0x1003d3f0
and dword [ebp - 8], 0
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.1003f829
push eax
push ebx
call fcn.1003d517
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.10042955
push eax
push ebx
call fcn.1003d517
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.1003c7b2
test al, al
jne 0x1003d3ae
push edi
push 0
push ebx
call fcn.1003d517
mov esi, dword [ebp + 0xc]
add esp, 0xc
test esi, esi
je 0x1003d408
mov esi, dword [esi + 0x10]
jmp 0x1003d40a
xor esi, esi
mov dword [ebp - 4], esi
test esi, esi
je 0x1003d457
mov eax, esi
test eax, eax
je 0x1003d41f
mov al, byte [esi]
and al, 7
inc al
jmp 0x1003d421
xor al, al
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.101108ca
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.1003d323
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.1003f8e1
mov esi, dword [eax]
mov eax, esi
mov dword [ebp - 4], esi
test esi, esi
jne 0x1003d413
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.101108ca
add esp, 0x10
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003d475
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x10154610
call fcn.100bd9eb
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.1003c3e8
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.1003d052
lea eax, [ebp - 0x50]
push eax
call fcn.1003d1b3
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.101108ca
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.1003d586
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.1003d323
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.1003cee5
call fcn.100bd995
ret 4

Function at 0x1003d517
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 4], 0xff
jge 0x1003d52e
xor esi, esi
inc esi
jmp 0x1003d53e
cmp dword [edi + 4], 0xffff
push 4
pop esi
push 2
pop eax
cmovl esi, eax
push dword [ebp + 0xc]
and dword [ebp + 8], 0
lea ecx, [ebp - 4]
call fcn.100085f0
mov eax, dword [ebp - 4]
cmp dword [eax - 8], 0
je 0x1003d566
push dword [ebp + 0xc]
mov ecx, edi
call fcn.1003cd15
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push esi
push 1
push eax
call fcn.101108ca
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.10008910
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003d586
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.1003cc4b
mov edi, eax
test edi, edi
je 0x1003d5c3
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.1003cb09
push dword [esi]
mov edi, eax
call fcn.10110ad7
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.101108ca
add esp, 0x14
test edi, edi
jne 0x1003d599
pop esi
pop edi
pop ebp
ret