joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4230d0
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
push edi
mov eax, 0x203c
push esi
push ebx
call fcn.004a8620
sub esp, eax
mov eax, dword [esp + 0x2054]
mov ebp, dword [esp + 0x2058]
test eax, eax
sete al
test ebp, ebp
sete dl
or eax, edx
mov edx, dword [esp + 0x2050]
test edx, edx
sete dl
or al, dl
mov byte [esp + 0x27], al
jne 0x42324e
mov dword [esp + 4], 0x4b91e3
mov dword [esp], ebp
call fcn.0041d120
test eax, eax
mov esi, eax
je 0x423287
lea edi, [esp + 0x30]
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x2000
mov dword [esp + 4], 1
mov dword [esp], edi
call sub.msvcrt.dll_fread
test eax, eax
je 0x42317c
add eax, edi
not ebx
cmp eax, edi
jbe 0x423178
mov edx, edi
lea esi, [esi]
mov ecx, ebx
xor cl, byte [edx]
add edx, 1
shr ebx, 8
movzx ecx, cl
xor ebx, dword [ecx*4 + 0x4b9280]
cmp eax, edx
jne 0x423160
not ebx
jmp 0x423132
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov dword [esp], ebp
call fcn.004a3080
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call sub.msvcrt.dll_strlen
lea esi, [eax + 4]
mov ebp, eax
and esi, 0xfffffffc
lea eax, [esi + 4]
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.004211e0
test eax, eax
mov edi, eax
je 0x42323e
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, esi
mov dword [esp + 4], 0
add esi, edi
sub edx, ebp
mov eax, edx
lea edx, [edi + ebp]
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x2050]
mov eax, dword [edx + 4]
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2054]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2050]
mov dword [esp], eax
call fcn.00424140
test al, al
mov byte [esp + 0x27], al
je 0x42326f
movzx eax, byte [esp + 0x27]
add esp, 0x203c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 5
call fcn.0041b470
mov byte [esp + 0x27], 0
movzx eax, byte [esp + 0x27]
add esp, 0x203c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edi
call fcn.004a9de0
movzx eax, byte [esp + 0x27]
add esp, 0x203c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 1
call fcn.0041b470
jmp 0x42323e

Function at 0x425890
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x4258d0
mov edi, str.default
mov ecx, 8
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4258e0
test ebx, ebx
je 0x425901
and byte [ebx + 0x2c], 0xbf
call fcn.00425790
test eax, eax
je 0x42590a
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.GNUTARGET
call sub.msvcrt.dll_getenv
test eax, eax
jne 0x4258a2
mov eax, dword [0x4aebc0]
mov edx, 0x4bc180
test eax, eax
cmove eax, edx
test ebx, ebx
je 0x4258c6
mov dword [ebx + 4], eax
or byte [ebx + 0x2c], 0x40
add esp, 0x10
pop ebx
pop esi
pop edi
ret
call fcn.00425790
test eax, eax
jne 0x4258c6
xor eax, eax
jmp 0x4258c6
Function at 0x4a38a0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 4], 1
jmp fcn.004a3370

Function at 0x4a38e0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x4e58c4]
test eax, eax
je 0x4a38f0
ret
push esi
push ebx
sub esp, 0x14
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esp + 4], 0
mov dword [esp], 0
call esi
sub esp, 8
test eax, eax
mov ebx, eax
jne 0x4a3924
mov eax, dword [0x4e58c4]
test eax, eax
je 0x4a3958
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp], eax
call fcn.004a70b0
mov dword [esp], ebx
mov dword [0x4e58c4], eax
mov dword [esp + 4], eax
call esi
sub esp, 8
test eax, eax
jne 0x4a3915
mov eax, dword [0x4e58c4]
mov dword [esp], eax
call fcn.004a9de0
mov dword [0x4e58c4], 0
mov dword [esp], 0x4e2fa8
call fcn.004a7180
mov dword [0x4e58c4], eax
jmp 0x4a391e
Function at 0x4a7a00
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.004a7a60

Function at 0x4a7a60
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4e5ca0]
test esi, esi
jle 0x4a7b4d
mov edi, dword [0x4e5ca4]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x4a7a94
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x4a7b46
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x4a7a80
mov dword [esp], eax
mov esi, eax
call fcn.004a83b0
test eax, eax
mov edi, eax
je 0x4a7b8a
mov esi, dword [0x4e5ca4]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.004a84c0
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4e5ca4]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x4a7b6a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x4a7b3f
sub eax, 0x40
and eax, 0xffffffbf
je 0x4a7b3f
mov eax, dword [esp + 0x20]
add ebx, dword [0x4e5ca4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x4a7b54
add dword [0x4e5ca0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x4a7a9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004a7a00
mov eax, dword [0x4e5ca4]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004a7a00
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004a7a00
lea esi, [esi]
Function at 0x4a8020
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4e5cb8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4e5cb0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4a8075
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4a806e
test esi, esi
je 0x4a806e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4a8050
mov dword [esp], 0x4e5cb8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov ebx, dword [esp + 0x150]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x4a8d3c
cmp byte [ebx], 0
je 0x4a8d00
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x4a8d20
test al, 0x10
je 0x4a8d00
lea edi, [esp + 0x2c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], edi
mov esi, edi
call sub.msvcrt.dll__fullpath
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4a8c14
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
mov ecx, eax
cmove esi, edx
add cl, al
sbb esi, 3
sub esi, edi
lea eax, [esi + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x4a8d2f
lea edx, [esi + 1]
lea ebp, [eax + 0x22c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], ebp
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
cmp byte [ebx + 0x22c], 0
je 0x4a8ca4
movzx eax, byte [ebx + esi + 0x22b]
cmp al, 0x2f
je 0x4a8ca4
cmp al, 0x5c
je 0x4a8ca4
mov edx, dword [esp + 0x1c]
mov edi, 0x5c
mov word [ebp + esi], di
mov esi, edx
mov eax, 0x2a
xor edx, edx
xor ecx, ecx
mov word [ebp + esi], ax
mov word [ebx + 0x11c], dx
lea edx, [ebx + 0x120]
mov word [ebx + 0x11e], cx
xor eax, eax
mov ecx, 0x41
mov edi, edx
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
rep stosd dword es:[edi], eax
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 0x14
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x4a8cef
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x4a8cef
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x4a8cef
Function at 0x10001050
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10001060
xor eax, eax
jmp 0x10001185
cmp dword [section..SharedD], 0
je 0x10001070
xor eax, eax
jmp 0x10001185
push 0
mov eax, dword [0x1000ffa0]
push eax
push 0x10001690
push 4
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10012020], eax
push 0
mov ecx, dword [0x1000ffa0]
push ecx
push 0x10002020
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10012024], eax
push 0
mov edx, dword [0x1000ffa0]
push edx
push 0x10002090
push 6
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10012028], eax
cmp dword [0x10012020], 0
je 0x10001110
cmp dword [0x10012024], 0
je 0x10001110
cmp dword [0x10012028], 0
je 0x10001110
mov eax, dword [ebp + 8]
mov dword [section..SharedD], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x1001200c], ecx
mov edx, dword [ebp + 0x10]
mov dword [0x10012010], edx
mov eax, dword [ebp + 0x14]
mov dword [0x10012014], eax
mov dword [0x1000ffa4], 1
mov eax, 1
jmp 0x10001185
push 0
call sym.VNCHooks.dll_SetKeyboardFilterHook
add esp, 4
push 0
call sym.VNCHooks.dll_SetMouseFilterHook
add esp, 4
cmp dword [0x10012020], 0
je 0x1000113a
mov ecx, dword [0x10012020]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [0x10012024], 0
je 0x10001150
mov edx, dword [0x10012024]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [0x10012028], 0
je 0x10001165
mov eax, dword [0x10012028]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x10012020], 0
mov dword [0x10012024], 0
mov dword [0x10012028], 0
xor eax, eax
pop ebp
ret
Function at 0x100011d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 1
push 0
push 0x10001190
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], 0
je 0x10001207
push 0
call sym.VNCHooks.dll_SetKeyboardFilterHook
add esp, 4
test eax, eax
je 0x10001207
mov dword [ebp - 8], 1
jmp 0x1000120e
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001231
push 0
call sym.VNCHooks.dll_SetMouseFilterHook
add esp, 4
test eax, eax
je 0x10001231
mov dword [ebp - 0xc], 1
jmp 0x10001238
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
jne 0x10001258
push 0
push str.Message
push str.Window_pointer_is_null
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [ebp + 8]
cmp edx, dword [section..SharedD]
je 0x1000126a
xor eax, eax
jmp 0x10001346
cmp dword [0x10012020], 0
je 0x100012a9
cmp dword [ebp - 4], 0
je 0x10001292
mov eax, dword [0x10012020]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x10001292
mov dword [ebp - 0x10], 1
jmp 0x10001299
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov dword [0x10012020], 0
cmp dword [0x10012024], 0
je 0x100012e9
cmp dword [ebp - 4], 0
je 0x100012d2
mov edx, dword [0x10012024]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x100012d2
mov dword [ebp - 0x14], 1
jmp 0x100012d9
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [0x10012024], 0
cmp dword [0x10012028], 0
je 0x10001329
cmp dword [ebp - 4], 0
je 0x10001312
mov ecx, dword [0x10012028]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x10001312
mov dword [ebp - 0x18], 1
jmp 0x10001319
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
mov dword [0x10012028], 0
cmp dword [ebp - 4], 0
je 0x10001343
mov dword [section..SharedD], 0
mov dword [0x1000ffa4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10001350
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10001392
cmp dword [0x1001202c], 0
jne 0x10001389
push 0
mov eax, dword [0x1000ffa0]
push eax
push 0x100020f0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1001202c], eax
cmp dword [0x1001202c], 0
jne 0x10001389
xor eax, eax
jmp 0x100013bf
mov eax, 1
jmp 0x100013bf
cmp dword [0x1001202c], 0
je 0x100013ba
mov ecx, dword [0x1001202c]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
jne 0x100013b0
xor eax, eax
jmp 0x100013bf
mov dword [0x1001202c], 0
mov eax, 1
pop ebp
ret
Function at 0x100013d0
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [0x1001201c], eax
cmp dword [ebp + 0xc], 0
je 0x10001424
cmp dword [0x10012034], 0
jne 0x1000141b
mov ecx, dword [ebp + 8]
mov dword [0x10012004], ecx
push 0
mov edx, dword [0x1000ffa0]
push edx
push 0x10002130
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x10012034], eax
cmp dword [0x10012034], 0
jne 0x1000141b
xor eax, eax
jmp 0x1000145a
mov eax, 1
jmp 0x1000145a
cmp dword [0x10012034], 0
je 0x10001455
mov eax, dword [0x10012034]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
jne 0x10001441
xor eax, eax
jmp 0x1000145a
mov dword [0x10012004], 0
mov dword [0x10012034], 0
mov eax, 1
pop ebp
ret

Function at 0x10001570
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov dword [0x1001201c], eax
cmp dword [ebp + 0xc], 0
je 0x100015c4
cmp dword [0x1001203c], 0
jne 0x100015bb
mov ecx, dword [ebp + 8]
mov dword [0x10012004], ecx
push 0
mov edx, dword [0x1000ffa0]
push edx
push 0x10002230
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1001203c], eax
cmp dword [0x1001203c], 0
jne 0x100015bb
xor eax, eax
jmp 0x100015fa
mov eax, 1
jmp 0x100015fa
cmp dword [0x1001203c], 0
je 0x100015f5
mov eax, dword [0x1001203c]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
jne 0x100015e1
xor eax, eax
jmp 0x100015fa
mov dword [0x10012004], 0
mov dword [0x1001203c], 0
mov eax, 1
pop ebp
ret

Function at 0x10006b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x10006b1f
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x10006b68
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x10006b12
call fcn.10005712
mov edi, esi
fiadd dword [eax - 0x72b5b]
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.10005712
ror dword [esp + edx*4 - 0x2b7a72b0], 0xf8
invalid
Function at 0x100087c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100052d2
and dword [ebp - 4], 0
cmp dword [0x10010620], 0
mov ebx, eax
jne 0x10008875
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10008926
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000cbd4
push edi
call esi
test eax, eax
je 0x10008926
push eax
call fcn.10005260
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10010620], eax
call esi
push eax
call fcn.10005260
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10010624], eax
call esi
push eax
call fcn.10005260
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10010628], eax
call esi
push eax
call fcn.10005260
pop ecx
mov dword [0x10010630], eax
test eax, eax
je 0x10008875
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005260
pop ecx
mov dword [0x1001062c], eax
mov eax, dword [0x1001062c]
cmp eax, ebx
je 0x100088cd
cmp dword [0x10010630], ebx
je 0x100088cd
push eax
call fcn.100052db
push dword [0x10010630]
mov esi, eax
call fcn.100052db
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100088cd
test edi, edi
je 0x100088cd
call esi
test eax, eax
je 0x100088c4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100088c4
test byte [ebp - 0xc], 1
jne 0x100088cd
or dword [ebp + 0x10], 0x200000
jmp 0x10008906
mov eax, dword [0x10010624]
cmp eax, ebx
je 0x10008906
push eax
call fcn.100052db
pop ecx
test eax, eax
je 0x10008906
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10008906
mov eax, dword [0x10010628]
cmp eax, ebx
je 0x10008906
push eax
call fcn.100052db
pop ecx
test eax, eax
je 0x10008906
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10010620]
call fcn.100052db
pop ecx
test eax, eax
je 0x10008926
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10008928
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x438ca7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
add ecx, 0x7945e89b
or eax, ecx
mov eax, ecx
call fcn.00438cdf
add ecx, ecx
inc eax
mov ecx, 0xee3dd327
xor dword [edx], esi
mov eax, 0x7a0d3088
sub eax, eax
and ecx, ecx
inc edx
and ecx, ecx
cmp edx, ebx
jne fcn.00438ca7
dec ecx
and ecx, eax
ret
Function at 0x1000376d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x8f7c734
call fcn.10027180
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x1184]
mov dword [ebp - 4], 0x28
call fcn.10015a54
lea ecx, [esi + 0x1114]
mov byte [ebp - 4], 0x27
call fcn.10015a54
lea ecx, [esi + 0x10a4]
mov byte [ebp - 4], 0x26
call fcn.10015a54
cmp dword [esi + 0x109c], 0xffffffff
lea ecx, [esi + 0x109c]
mov byte [ebp - 4], 0x25
je 0x100037c6
call fcn.10003a09
lea ecx, [esi + 0x105c]
mov byte [ebp - 4], 0x24
call fcn.10016196
lea ecx, [esi + 0x101c]
mov byte [ebp - 4], 0x23
call fcn.10016196
lea ecx, [esi + 0xfac]
mov byte [ebp - 4], 0x22
call fcn.10015a54
lea ecx, [esi + 0xf7c]
mov byte [ebp - 4], 0x21
call fcn.10015fbc
lea ecx, [esi + 0xf58]
mov byte [ebp - 4], 0x20
call fcn.10015fbc
lea ecx, [esi + 0xf34]
mov byte [ebp - 4], 0x1f
call fcn.10015fbc
lea ecx, [esi + 0xf10]
mov byte [ebp - 4], 0x1e
call fcn.10015fbc
lea ecx, [esi + 0xeec]
mov byte [ebp - 4], 0x1d
call fcn.10015fbc
lea ecx, [esi + 0xec8]
mov byte [ebp - 4], 0x1c
call fcn.10015fbc
lea ecx, [esi + 0xea4]
mov byte [ebp - 4], 0x1b
call fcn.10015fbc
lea ecx, [esi + 0xe80]
mov byte [ebp - 4], 0x1a
call fcn.10015fbc
lea ecx, [esi + 0xe5c]
mov byte [ebp - 4], 0x19
call fcn.10015fbc
lea ecx, [esi + 0xe34]
mov byte [ebp - 4], 0x18
call fcn.10015fbc
lea ecx, [esi + 0xe10]
mov byte [ebp - 4], 0x17
call fcn.10015fbc
lea ecx, [esi + 0xde4]
mov byte [ebp - 4], 0x16
call fcn.1001616d
lea ecx, [esi + 0xdc0]
mov byte [ebp - 4], 0x15
call fcn.10015fbc
lea ecx, [esi + 0xd9c]
mov byte [ebp - 4], 0x14
call fcn.10015fbc
lea ecx, [esi + 0xd78]
mov byte [ebp - 4], 0x13
call fcn.10015fbc
lea ecx, [esi + 0xd54]
mov byte [ebp - 4], 0x12
call fcn.10015fbc
lea ecx, [esi + 0xd30]
mov byte [ebp - 4], 0x11
call fcn.10015fbc
lea ecx, [esi + 0xd0c]
mov byte [ebp - 4], 0x10
call fcn.10015fbc
lea ecx, [esi + 0xce8]
mov byte [ebp - 4], 0xf
call fcn.10015fbc
lea ecx, [esi + 0xcc4]
mov byte [ebp - 4], 0xe
call fcn.10015fbc
lea ecx, [esi + 0xca0]
mov byte [ebp - 4], 0xd
call fcn.10015fbc
lea ecx, [esi + 0xc7c]
mov byte [ebp - 4], 0xc
call fcn.10015fbc
lea ecx, [esi + 0xc58]
mov byte [ebp - 4], 0xb
call fcn.10015fbc
lea ecx, [esi + 0xc34]
mov byte [ebp - 4], 0xa
call fcn.10015fbc
lea ecx, [esi + 0xc10]
mov byte [ebp - 4], 9
call fcn.10015fbc
lea ecx, [esi + 0xbe8]
mov byte [ebp - 4], 8
call fcn.10015fbc
lea ecx, [esi + 0xbc0]
mov byte [ebp - 4], 7
call fcn.10015fbc
lea ecx, [esi + 0xb9c]
mov byte [ebp - 4], 6
call fcn.10015fbc
lea ecx, [esi + 0xb2c]
mov byte [ebp - 4], 5
call fcn.10015a54
lea ecx, [esi + 0xabc]
mov byte [ebp - 4], 4
call fcn.10015a54
lea ecx, [esi + 0xa7c]
mov byte [ebp - 4], 3
call fcn.10016196
lea ecx, [esi + 0x9e4]
mov byte [ebp - 4], 2
call fcn.10015a54
lea ecx, [esi + 0x970]
mov byte [ebp - 4], 1
call fcn.10015a54
and byte [ebp - 4], 0
lea ecx, [esi + 0x900]
call fcn.10015a54
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10003a21
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret