joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b84f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48d84c]
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.00422b00
and dword [ebp - 0x14], 0
cmp dword [0x48fdf8], 0
mov dword [ebp - 0x18], eax
jne 0x42b902
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x42b9aa
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47ecd4
push ebx
call edi
test eax, eax
je 0x42b9aa
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x47ecc4
push ebx
mov dword [0x48fdf8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48fdfc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48fe00], eax
call edi
push eax
call esi
mov dword [0x48fe08], eax
test eax, eax
je 0x42b902
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48fe04], eax
mov eax, dword [0x48fe04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x42b95b
cmp dword [0x48fe08], ecx
je 0x42b95b
push eax
call esi
push dword [0x48fe08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x42b95b
test ebx, ebx
je 0x42b95b
call edi
test eax, eax
je 0x42b952
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42b952
test byte [ebp - 8], 1
jne 0x42b95b
or dword [ebp + 0x10], 0x200000
jmp 0x42b98e
mov eax, dword [0x48fdfc]
cmp eax, dword [ebp - 0x18]
je 0x42b98e
push eax
call esi
test eax, eax
je 0x42b98e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42b98e
mov eax, dword [0x48fe00]
cmp eax, dword [ebp - 0x18]
je 0x42b98e
push eax
call esi
test eax, eax
je 0x42b98e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48fdf8]
call esi
test eax, eax
je 0x42b9aa
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x42b9ac
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ef3e
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x2617414
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x46ae6e5d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4041a7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x4041eb
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x4041ba
jmp 0x4041eb
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4041db
pop esi
pop ebp
ret

Function at 0x40424b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.TestSaturate.exe_gMozillaPoisonSize]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x404283
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x1c]
jb 0x4042ad
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x1c]
jb 0x4042ad
test edi, edi
je 0x40427a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40427a
test edi, edi
je 0x4042b5
mov eax, edi
jmp 0x40427c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40427c
int3

Function at 0x4042e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov dword [sym.TestSaturate.exe_gMozillaPoisonSize], eax
call fcn.0040424b
mov ecx, dword [sym.TestSaturate.exe_gMozillaPoisonSize]
mov dword [sym.TestSaturate.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40431a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestSaturate.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x4133b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
push edi
mov edi, ecx
mov esi, ebx
mov al, byte [ebx]
test al, al
je 0x4133e0
movsx eax, al
lea esi, [esi + 1]
add eax, edx
imul edx, eax, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
mov al, byte [esi]
test al, al
jne 0x4133c5
lea eax, [edx + edx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
and ecx, 0x3f
mov esi, dword [edi + ecx*4]
test esi, esi
je 0x413450
mov eax, dword [esi]
dec eax
cmp eax, 3
ja case.default.0x4133fc
jmp dword [eax*4 + 0x413464]
lea eax, [esi + 0x1c]
jmp 0x413419
lea eax, [esi + 0x10]
jmp 0x413419
lea eax, [esi + 0xc]
jmp 0x413419
lea eax, [esi + 9]
jmp 0x413419
xor eax, eax
mov ecx, ebx
jmp 0x413420
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x413440
test dl, dl
je 0x41343c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x413440
add eax, 2
add ecx, 2
test dl, dl
jne 0x413420
xor eax, eax
jmp 0x413445
sbb eax, eax
or eax, 1
test eax, eax
je 0x413459
mov esi, dword [esi + 4]
test esi, esi
jne 0x4133f4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x41a8c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x41a90a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41a90a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 8], eax
test eax, eax
je 0x41a90a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x41a913
mov dword [esi + 8], eax
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x41b870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b8c9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b8c9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x41b8b8
cmp esi, edx
jae 0x41b8c9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x41b8a6
cmp esi, edx
jae 0x41b8c9
cmp word [esi], 0
je 0x41b8c9
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x41c850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x41c915
movzx ecx, ax
mov edx, 5
call fcn.0040adc0
movzx ecx, word [edi + 0x10]
mov ebx, eax
push 5
push ecx
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41c915
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.0042e724
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41c915
push esi
push dword [ebp - 4]
push ebx
call fcn.0042bb60
add esp, 0xc
cmp dword [edi + 0x18], 0
jne 0x41c8d5
mov eax, dword [0x4657a0]
test eax, eax
je 0x41c8cf
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], eax
mov ecx, dword [edi]
lea eax, [ebx + 8]
push eax
lea eax, [ebx + 0xc]
push eax
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x44e360]
mov ecx, edi
call esi
push edi
push 0x41c920
push dword [edi + 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push ebx
mov esi, eax
call fcn.0042e72f
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e340
Capabilities:
Link function at runtime on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1264
call fcn.0042ac90
mov eax, dword [0x463188]
xor eax, esp
mov dword [esp + 0x1260], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x208
mov dword [esp + 0x14], eax
mov edi, ecx
lea eax, [esp + 0x64]
push 0
push eax
call fcn.0042c0e0
add esp, 0xc
lea eax, [esp + 0x268]
push 0x1000
push 0
push eax
call fcn.0042c0e0
lea eax, [edi + 0x64]
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x34], 0
cmp dword [eax + 0x14], 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
jb 0x41e3e0
mov eax, dword [eax]
cmp dword [edi + 0x2c], 8
lea esi, [edi + 0x18]
mov ecx, esi
jb 0x41e3ed
mov ecx, dword [esi]
push eax
push ecx
lea eax, [esp + 0x68]
push str.__s_s_
push eax
call fcn.0041ed90
lea ebx, [edi + 0x34]
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x41e40c
mov ebx, dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esp + 0x10]
push ebx
push eax
push str.__bts_container
lea eax, [esp + 0x278]
push str._s__d___s___s
push eax
call fcn.0041ed70
add esp, 0x18
lea eax, [esp + 0x50]
mov ecx, edi
push 0xd
push str.bts_container
push eax
call fcn.00426150
cmp dword [esp + 0x54], 0
jne 0x41e457
lea eax, [esp + 0x268]
mov dword [esp + 0x10], eax
movzx eax, byte [edi + 0x14]
neg eax
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x440
sbb eax, eax
and eax, str.runas
cmp dword [esi + 0x14], 8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
jb 0x41e490
mov esi, dword [esi]
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], esi
push eax
mov ecx, edi
mov dword [esp + 0x34], 1
call fcn.0041eb20
mov ecx, dword [esp + 0x126c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004299ea
mov esp, ebp
pop ebp
ret 4
Function at 0x41f020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8c2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x463188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x24], 0x10
lea esi, [edi + 0x10]
mov eax, esi
jb 0x41f05d
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Mem.Id._s
push eax
call fcn.00423410
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0xfa000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [0x463024]
mov dword [edi], eax
test eax, eax
je 0x41f1ac
cmp eax, 0xffffffff
je 0x41f1ac
push 0xfa000
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 4], eax
test eax, eax
je 0x41f1ac
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41f0c9
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x90]
push str.zCSMComm.Ready.Id._s
push eax
call fcn.00423410
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46301c]
mov dword [edi + 8], eax
test eax, eax
je 0x41f1ac
cmp dword [esi + 0x14], 0x10
jb 0x41f104
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x90]
push str.zCSMComm.Done.Id._s
push eax
call fcn.00423410
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push 0
call dword [0x46301c]
mov dword [edi + 0xc], eax
test eax, eax
je 0x41f1ac
push 8
mov bl, 1
call fcn.00429a94
mov esi, eax
mov dword [ebp - 0x98], esi
push 8
mov dword [ebp - 4], 0
call fcn.00429a94
mov dword [ebp - 0x9c], eax
mov dword [eax], edi
mov dword [eax + 4], 0x41f1e0
lea ecx, [esi + 4]
mov byte [ebp - 4], bl
push ecx
push 0
push eax
push 0x423890
push 0
push 0
mov dword [ebp - 0x94], ecx
call fcn.00438ccc
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x41f1cc
lea eax, [edi + 0x28]
mov dword [edi + 0x70], esi
cmp dword [eax + 0x14], 0x10
jb 0x41f196
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x74], eax
test eax, eax
jne 0x41f1ae
xor al, al
jmp 0x41f1b0
xor bl, bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299ea
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x94]
push 6
mov dword [eax], 0
call fcn.004282ea
int3
Function at 0x423aa0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cf2c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x463188]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
sub esp, 8
push 0x190
call fcn.0041c660
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi], vtable.CMessageDlg.0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
push fcn.00402e90
push 0x402530
push 4
push 0x18
lea eax, [esi + 0x34]
mov byte [ebp - 4], 1
push eax
call fcn.0042a222
lea ecx, [esi + 0xb0]
mov byte [esi + 0x9c], 0
call fcn.0041f5a0
mov byte [ebp - 4], 3
push 0x10
mov dword [esi + 0x94], 0
call fcn.00429a94
mov edi, eax
lea ecx, [esi + 8]
add esp, 4
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x111
mov dword [edi + 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [edi], vtable.eset::MessageProc_class_CMessageDlg_.0
push eax
mov dword [edi + 0xc], esi
mov dword [edi + 8], 0x4242d0
call fcn.0041d480
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0xd], 0
jne 0x423ba5
cmp dword [eax + 0x10], 0x111
ja 0x423ba5
cmp eax, dword [esi + 8]
je 0x423ba5
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x423ba0
call fcn.0041c590
mov dword [eax + 4], edi
jmp 0x423bb3
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 8]
call fcn.0041cad0
mov dword [eax], edi
push esi
push 0x4242e0
push 0x136
mov ecx, esi
call fcn.00424830
push esi
push 0x4242e0
push 0x138
mov ecx, esi
call fcn.00424830
push esi
push 0x4242e0
push 0x135
mov ecx, esi
call fcn.00424830
push esi
push 0x424310
push 0x201
mov ecx, esi
call fcn.00424830
push esi
push 0x424350
push 0x14
mov ecx, esi
call fcn.00424830
push esi
push 0x424560
push 0x83
mov ecx, esi
call fcn.00424830
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423d20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44cf60
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x463188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 8]
mov ecx, edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x21c], eax
lea eax, [ecx + 2]
mov dword [ebp - 0x220], eax
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423d70
sub ecx, dword [ebp - 0x220]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x34]
call fcn.00402d80
mov edx, dword [ebp - 0x21c]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x21c], eax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423da0
sub ecx, dword [ebp - 0x21c]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x4c]
call fcn.00402d80
test esi, esi
jne 0x423dc6
mov esi, 0x45b228
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x423dd0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423dd0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x64]
call fcn.00402d80
test ebx, ebx
jne 0x423df2
mov ebx, 0x45b228
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423df7
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x7c]
call fcn.00402d80
mov eax, dword [ebp + 0x18]
push 0x208
mov dword [edi + 0x94], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0042c0e0
push 0x34
lea eax, [ebp - 0x260]
mov dword [ebp - method.eset::CFileVersionInfo.virtual_0], vtable.eset::CFileVersionInfo.0
push 0
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
call fcn.0042c0e0
push dword [ebp - 0x22c]
call fcn.0042e72f
add esp, 0x1c
mov dword [ebp - 0x22c], 0
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x423f31
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x264]
call fcn.0041d730
test eax, eax
je 0x423ef5
push 0x104
lea eax, [ebp - 0x218]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.0041d870
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423ed6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0x1c]
call fcn.00402d80
push 0x34
lea eax, [ebp - 0x260]
mov dword [ebp - 0x224], 0
push 0
push eax
mov dword [ebp - 0x228], 0
call fcn.0042c0e0
push dword [ebp - 0x22c]
call fcn.0042e72f
add esp, 0x10
mov dword [ebp - 0x22c], 0
mov eax, dword [edi]
mov esi, dword [eax + 0x30]
mov ecx, esi
call dword [0x44e360]
mov ecx, edi
call esi
cmp eax, 1
lea eax, [ebp - 0x260]
push 0x34
push 0
push eax
sete bl
call fcn.0042c0e0
push dword [ebp - 0x22c]
call fcn.0042e72f
add esp, 0x10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299ea
mov esp, ebp
pop ebp
ret 0x14
Function at 0x427880
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x463188]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [0x463098]
test eax, eax
je 0x4279c4
lea eax, [ebp - 0x14]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4279de
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 0xd], 0
push eax
push 0x12
push esi
mov dword [ebp - 0xc], 0
mov word [ebp - 8], 0x500
mov dword [ebp - 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4279d5
cmp dword [ebp - 0x20], 4
jb 0x4279d5
cmp dword [ebp - 0x24], 3
jne 0x4279d5
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x4279d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4279b5
push ebx
push dword [ebp - 0x18]
call fcn.0042e724
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4279b4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push ebx
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x4279ab
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4279ab
xor esi, esi
cmp dword [ebx], esi
jbe 0x4279a2
push edi
lea edi, [ebx + 4]
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42799d
inc esi
add edi, 8
cmp esi, dword [ebx]
jb 0x427984
jmp 0x4279a1
mov byte [ebp - 0xd], 1
pop edi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.0042e72f
add esp, 4
pop ebx
push dword [ebp - 0x14]
call dword [0x463018]
cmp byte [ebp - 0xd], 0
je 0x4279de
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004299ea
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
call dword [0x463018]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004299ea
mov esp, ebp
pop ebp
ret
Function at 0x1292000
Capabilities:
Encode data using xor

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x64], ch
push 0x14acf89c
pop ebx
push 0x14acf89c
pop ebx
nop
nop
mov edx, 0x129201c
nop
nop
mov esi, 0x598
nop
xor dword [edx + esi], ebx
nop
sub esi, 3
dec esi
nop
jne 0x1292015
je 0x1291fa7
lodsd eax, dword [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
in al, dx
adc al, 0x6c
pop esp
scasb al, byte es:[edi]
adc al, 0x44
jmp 0x1292078
pushfd
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0x9c
clc
lodsb al, byte [esi]
adc al, 0
add byte [eax], al
add bh, dl
popfd
fidivr word [edx - 7]
xchg esp, eax
lahf
mov dl, 0x9c
sar byte [eax - 0x64], 0xbf
leave
pushal
enter 0xffffffffffffc19d, 0x64
int3

Function at 0x438c9d
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop edi
mov ecx, eax
and ecx, eax
mov ecx, ecx
call fcn.00438cdd
mov ecx, eax
mov ecx, eax
dec ecx
xor dword [edx], edi
add eax, 0x38af21f5
or ecx, eax
or eax, ecx
add edx, 1
and eax, ecx
cmp edx, ebx
jne fcn.00438c9d
inc eax
mov eax, eax
ret
Function at 0x41d323
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41d362
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d362
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d362
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41d362
cmp dword [ecx + 0x74], 0xe
jbe 0x41d362
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42f490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f4bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f4bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx