joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18814fd9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x18814ff0
xor al, al
jmp 0x1881509b
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push ebx
push eax
mov dword [esi + 0x61c], ebx
mov dword [esi + 0x620], ebx
call fcn.18819090
lea eax, [esi + 0x20c]
push eax
lea eax, [esi + 0x414]
push eax
push str._s_s_INI
mov eax, 0x208
lea edi, [ebp - 0x208]
call fcn.188016e6
add esp, 0x18
push str.TEXTFILE
mov eax, edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x18815083
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x18815083
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x61c], eax
cmp eax, ebx
je 0x18815083
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
shr eax, 1
mov dword [esi + 0x620], eax
pop edi
cmp dword [esi + 0x61c], ebx
je 0x18815099
cmp dword [esi + 0x620], ebx
jbe 0x18815099
xor eax, eax
inc eax
jmp 0x1881509b
xor eax, eax
pop ebx
leave
ret
Function at 0x18816c70
Capabilities:
Enumerate gui resources
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1dc
movzx eax, byte [ebp + 0xc]
push ebx
push esi
push edi
push eax
push dword [ebp + 8]
call fcn.18816123
pop ecx
pop ecx
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push 9
mov dword [esp + 0x10], eax
pop ecx
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x10]
mov dword [esp + 0x38], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x18816d9a
xor eax, eax
mov dword [esp + 0x20], ebx
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
xor eax, eax
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [ebp + 0xc], bl
je 0x18816d0c
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
jmp 0x18816d18
lea esi, [esp + 0x34]
lea edi, [esp + 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.18819bab
add esp, 0xc
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [ebp + 8]
test eax, eax
je 0x18816d90
call fcn.18816123
add esp, 0x24
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x18816d7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
call fcn.18816123
pop ecx
pop ecx
push dword [esp + 0xc]
push 0x18816ff8
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x18816dde
call fcn.18816123
add esp, 0x24
jmp 0x18816dde
cmp byte [0x1883f006], bl
je 0x18816dde
xor eax, eax
push 0x18e
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push ebx
push eax
call fcn.18819090
add esp, 0xc
push dword [esp + 0xc]
mov eax, 0x190
push str.Win8TbarExt::ReserveTbarScreenArea:_failed_to_get_monitor_info_for_hMon_0x_p_n
lea edi, [esp + 0x60]
call fcn.188016e6
pop ecx
pop ecx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x18816de5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push 0x80000001
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 8], ebx
je 0x18816e43
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push str.TaskbarSmallIcons
push dword [ebp - 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], ebx
push dword [ebp - 8]
setne byte [ebp - 1]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1883d94c], ebx
je 0x18816ea3
push edi
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], 0x60
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edi, eax
cmp edi, ebx
je 0x18816e70
lea eax, [ebp - 0xc]
push eax
push eax
push ebx
push edi
call dword [sym.imp.api_ms_win_shcore_scaling_l1_1_1.dll_GetDpiForMonitor]
push dword [ebp - 0xc]
xor eax, eax
cmp byte [ebp - 1], bl
sete al
dec eax
and eax, 0x26
add eax, 0xb
push eax
call dword [sym.imp.USER32.dll_GetSystemMetricsForDpi]
push edi
push dword [ebp - 0xc]
mov esi, eax
movzx eax, byte [ebp - 1]
push esi
push eax
push dword [ebp + 8]
call fcn.18816123
add esp, 0x14
pop edi
jmp 0x18816ec7
cmp byte [ebp - 1], bl
je 0x18816eac
push 0x31
jmp 0x18816eae
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
movzx eax, byte [ebp - 1]
push esi
push eax
push dword [ebp + 8]
call fcn.18816123
add esp, 0xc
lea eax, [esi + 0x14]
pop esi
pop ebx
leave
ret
Function at 0x18816ece
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push ebx
push esi
push edi
push 4
pop esi
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edx, eax
test edx, edx
je 0x18816f73
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
push edx
mov dword [ebp - 0x3c], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
and dword [ebp - 0x14], 0
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
lea edi, [ebp - 0x10]
cdq
sub eax, edx
mov esi, eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
sar ebx, 1
add ebx, dword [ebp - 0x38]
sar esi, 1
add esi, dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x14]
cmp ecx, eax
jle 0x18816f65
xor eax, eax
cmp dword [ebp - 8], esi
setg al
lea esi, [eax + eax + 1]
jmp 0x18816fbb
cmp dword [ebp - 0xc], ebx
jle 0x18816f6f
push 2
pop esi
jmp 0x18816fbb
xor esi, esi
jmp 0x18816fbb
cmp byte [0x1883f006], 0
je 0x18816fbb
xor eax, eax
push 0x18e
push eax
mov word [ebp - 0x1cc], ax
lea eax, [ebp - 0x1ca]
push eax
call fcn.18819090
push dword [ebp + 8]
mov eax, 0x190
push str.Win8TbarExt::GetDockEdge:_failed_to_get_hMon_for_tbar_0x_p_n
lea edi, [ebp - 0x1cc]
call fcn.188016e6
add esp, 0x14
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x188170a5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
lea eax, [ebp - 8]
call fcn.18817752
mov edi, dword [eax]
cmp edi, dword [0x1883d954]
je 0x18817168
test byte [esi + 0x18], 3
jne 0x18817168
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [ebp + 8]
call fcn.18816123
add esp, 0x14
cmp byte [edi + 0x11], 0
je 0x1881712d
mov eax, dword [esi + 8]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
add dword [esi + 0x14], eax
and dword [esi + 8], 0
and dword [esi + 0xc], 0
cmp byte [edi + 0x12], 0
jne 0x1881712d
mov eax, dword [edi + 0x18]
mov ebx, dword [eax]
cmp ebx, eax
je 0x1881712d
push 0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebx]
cmp ebx, dword [edi + 0x18]
jne 0x1881711b
cmp byte [0x1883f007], 0
je 0x18817151
cmp byte [0x1883d8f7], 0
jne 0x18817151
mov edi, dword [edi + 0x14]
test edi, edi
je 0x18817151
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x10]
jle 0x18817151
mov dword [esi + 0x10], edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [ebp + 8]
call fcn.18816123
add esp, 0x14
pop edi
pop ebx
leave
ret
Function at 0x18822c2d
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x18822c25
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x18822c43
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov dword [ecx + eax], 0x948b0000
invalid
or byte [ecx], al
add byte [eax], al
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
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x18822ca1
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
adc byte [eax], al
add byte [eax], al
invalid
adc byte [eax], al
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x18822c88
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x18822c91
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x18822c9b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x18822c7d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x18822c07
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 0x18822cee
dec eax
je 0x18822ce5
sub eax, 3
je 0x18822cdc
mov dword [ebp - 4], 0x40
jmp 0x18822d0b
mov dword [ebp - 4], 4
jmp 0x18822cf1
mov dword [ebp - 4], 0x20
jmp 0x18822cf1
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 0x18822d3d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x18822cbd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1882254e
cmc
and ah, byte [ebx + 0x1475ffc9]
push 1
push esi
call edi
mov eax, esi
jmp 0x18822d49
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18822c50
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x18822c25
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x18822c43
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov dword [ecx + eax], 0x948b0000
invalid
or byte [ecx], al
add byte [eax], al
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
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x18822ca1
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
adc byte [eax], al
add byte [eax], al
invalid
adc byte [eax], al
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x18822c88
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x18822c91
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x18822c9b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x18822c7d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x18822c07
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 0x18822cee
dec eax
je 0x18822ce5
sub eax, 3
je 0x18822cdc
mov dword [ebp - 4], 0x40
jmp 0x18822d0b
mov dword [ebp - 4], 4
jmp 0x18822cf1
mov dword [ebp - 4], 0x20
jmp 0x18822cf1
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 0x18822d3d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x18822cbd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1882254e
cmc
and ah, byte [ebx + 0x1475ffc9]
push 1
push esi
call edi
mov eax, esi
jmp 0x18822d49
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18822c78
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x18822c25
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x18822c43
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov dword [ecx + eax], 0x948b0000
invalid
or byte [ecx], al
add byte [eax], al
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
ror byte [ecx - 0x3e7443bb], cl
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x18822ca1
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
adc byte [eax], al
add byte [eax], al
invalid
adc byte [eax], al
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x18822c88
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x18822c91
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x18822c9b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x18822c7d
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x18822c07
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 0x18822cee
dec eax
je 0x18822ce5
sub eax, 3
je 0x18822cdc
mov dword [ebp - 4], 0x40
jmp 0x18822d0b
mov dword [ebp - 4], 4
jmp 0x18822cf1
mov dword [ebp - 4], 0x20
jmp 0x18822cf1
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 0x18822d3d
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x18822cbd
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1882254e
cmc
and ah, byte [ebx + 0x1475ffc9]
push 1
push esi
call edi
mov eax, esi
jmp 0x18822d49
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x18822dcb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx + 0x40fffffc], edi
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.1882255e
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.18822513
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
invalid
invalid

Function at 0x18823954
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x188239a4
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 0x1882394e
call fcn.1882254e
adc ah, ah
je 0x18823a16
and byte [ebp - 0x72c], 0
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.1882254e
xor eax, 0x8d7c5dcd
test esp, edx
clc
invalid
Function at 0x18824bb8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1883b93c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1881f295
and dword [ebp - 0x14], 0
cmp dword [0x1883d42c], 0
mov dword [ebp - 0x18], eax
jne 0x18824c6b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x18824d13
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x18824d13
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x18832dbc
push ebx
mov dword [0x1883d42c], eax
call edi
push eax
call esi
push 0x18832da8
push ebx
mov dword [0x1883d430], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1883d434], eax
call edi
push eax
call esi
mov dword [0x1883d43c], eax
test eax, eax
je 0x18824c6b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1883d438], eax
mov eax, dword [0x1883d438]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x18824cc4
cmp dword [0x1883d43c], ecx
je 0x18824cc4
push eax
call esi
push dword [0x1883d43c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x18824cc4
test ebx, ebx
je 0x18824cc4
call edi
test eax, eax
je 0x18824cbb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x18824cbb
test byte [ebp - 8], 1
jne 0x18824cc4
or dword [ebp + 0x10], 0x200000
jmp 0x18824cf7
mov eax, dword [0x1883d430]
cmp eax, dword [ebp - 0x18]
je 0x18824cf7
push eax
call esi
test eax, eax
je 0x18824cf7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x18824cf7
mov eax, dword [0x1883d434]
cmp eax, dword [ebp - 0x18]
je 0x18824cf7
push eax
call esi
test eax, eax
je 0x18824cf7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1883d42c]
call esi
test eax, eax
je 0x18824d13
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x18824d15
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18820b12
leave
ret
Function at 0x408480
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x4089a0
test edx, edx
je 0x4089a0
call fcn.00408497
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x4089e0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00408480
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x408a51
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x408a16
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x40d240
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x40d31b
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x40d2b6
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040ce80
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x40d284
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x40d3d4
call fcn.0040d2c8
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x40d373
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040ce80
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x40d32c
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x40d3d4
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0040ce80
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x40d3cf
jmp 0x40d3d4
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret