joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401130
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
jmp loc.004e3a07

Function at 0x401208
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0x1000
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 4
mov eax, dword [0x4010e4]
mov dword [ebp - 0x10], eax
jmp loc.004e3523

Function at 0x40153c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0x4012a8
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
push 0
push 0
jmp loc.004e3548

Function at 0x4015d1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x1000
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0xa
jne 0x401601
jmp loc.004e37f1
jmp loc.004e48b1

Function at 0x401b99
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4db144], 1
jne fcn.00401ba7
jmp loc.004e3928

Function at 0x401d0a
Capabilities:
Packed with generic packer

Disassembly:
push 0
push 0
push dword [esp + 0xc]
jmp loc.004e256f

Function at 0x401d2c
Capabilities:
Terminate process

Disassembly:
push edi
push 1
pop edi
cmp dword [0x4db190], edi
jne fcn.00401d49
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
jmp loc.004e273c

Function at 0x401e46
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, dword [0x417920]
ja 0x401e5e
push esi
call fcn.00402d83
test eax, eax
pop ecx
jne 0x401e7a
test esi, esi
jne 0x401e65
push 1
pop esi
jmp 0x4e2e40
pop esi
ret

Function at 0x402000
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x4db648], 0
jne fcn.0040200e
jmp loc.004e38ea

Function at 0x402881
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
jmp loc.004e4554

Function at 0x402a2d
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [0x4db518]
lea ecx, [eax + eax*4]
mov eax, dword [0x4db51c]
lea ecx, [eax + ecx*4]
cmp eax, ecx
jae 0x402a55
jmp loc.004e48cb
xor eax, eax
ret

Function at 0x40356e
Capabilities:
Packed with generic packer

Disassembly:
movzx eax, byte [esp + 4]
mov cl, byte [esp + 0xc]
test byte [eax + 0x4db401], cl
jne 0x40359b
cmp dword [esp + 8], 0
je 0x403594
jmp loc.004e2a36
xor eax, eax
test eax, eax
jne 0x40359b
ret
push 1
pop eax
ret

Function at 0x403782
Capabilities:
Packed with generic packer

Disassembly:
mov eax, dword [esp + 4]
sub eax, 0x3a4
je 0x4037af
sub eax, 4
je 0x4037a9
sub eax, 0xd
je 0x4037a3
dec eax
je 0x40379d
xor eax, eax
ret
mov eax, 0x404
ret
jmp loc.004e2972
mov eax, 0x804
ret
mov eax, 0x411
ret
Function at 0x404350
Capabilities:
Packed with generic packer

Disassembly:
push ecx
cmp eax, 0x1000
lea ecx, [esp + 8]
jb 0x404370
jmp loc.004e4149
sub ecx, eax
mov eax, esp
test dword [ecx], eax
mov esp, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
ret
Function at 0x4010e1
Capabilities:
Encode data using xor

Disassembly:
pop ebx
mov ecx, 0x49e
xor byte [ecx + ebx], 0x4f
loop 0x4010e7
jmp 0x4010f5

Function at 0x402f10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520d1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x57bf5c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.NIndicatorRow.0
call fcn.0040af5c
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x402f5d
push 0x80004005
call fcn.004010f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
push 2
mov dword [esi + 0x3c], eax
push 0x5304f0
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
mov dword [esi + 0x40], eax
call fcn.00401940
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x58], bl
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 0x40756b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x57bf5c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4075b0
push 0x531718
push 4
push eax
call fcn.00508c4b
push eax
call fcn.00401060
add esp, 0x10
jmp 0x4075c6
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x407646
push edi
call fcn.0050a0a7
mov edi, dword [eax]
call fcn.0050a0a7
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0050a044
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0050a0a7
cmp dword [eax], 0
je 0x40761a
call fcn.0050a0a7
push dword [eax]
call fcn.00406f81
pop ecx
jmp 0x407621
call fcn.0050a0a7
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x407646
cmp dword [ebp - 0x234], esi
jae 0x407646
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x407648
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00507fc5
leave
ret
Function at 0x407bc6
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x57bf5c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00407b2d
pop ecx
cmp eax, esi
je 0x407cb0
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x407cb0
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00508d80
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x407cb0
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x407cb0
cmp esi, 0x14
jge 0x407cb0
push 0x10
push 0
push edi
call fcn.0050a7ab
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x407c9f
call fcn.0050a0a7
cmp dword [eax], 0x22
je 0x407c9f
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0050a00b
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x407c75
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x57d5cc], 0
jne 0x407d3b
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x407d64
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0040756b
pop ecx
pop ecx
test eax, eax
jne 0x407d66
inc edi
cmp edi, esi
jl 0x407d41
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00507fc5
leave
ret 8

Function at 0x409117
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040d82b
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x409150
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00408d54
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4091ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4091d2
cmp dword [edi + 0x74], 0
jne 0x4091d2
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040d82b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040916f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40a0f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40a138
call fcn.0040d82b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a138
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a17b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40a164
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40a164
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x40a178
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x415396
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4153dd
call fcn.0040d82b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4153dd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4153f9
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00414e96
mov esi, eax
test edi, edi
je 0x4153f7
test ebx, ebx
je 0x4153f7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x419490
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x521de0
call fcn.00509f01
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00401fc0
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
cmp esi, 0x80000000
jne 0x4194f2
call fcn.0040d0ee
cmp eax, 1
jne 0x4194f2
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040c8ab
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00403950
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004012a0
inc esi
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
test ecx, ecx
je 0x419504
call fcn.0040c83e
jmp 0x41950a
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012a0
mov eax, esi
call fcn.00509fd9
ret 0xc

Function at 0x419a8d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x57bf5c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x419ac2
xor eax, eax
jmp 0x419b15
lea eax, [ebp - 0x210]
push eax
call fcn.0050a00b
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x419af3
push 0x5324e4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050a7c5
add esp, 0xc
test eax, eax
jne 0x419abe
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0050a7c5
add esp, 0xc
test eax, eax
jne 0x419abe
lea eax, [ebp - 0x210]
push eax
call fcn.00407b2d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00507fc5
leave
ret
Function at 0x458162
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004dfb65
call fcn.0040d25c
cmp dword [eax + 0x14], 0
jne 0x45817f
mov ecx, esi
pop esi
jmp fcn.00457c67
pop esi
ret

Function at 0x45b720
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00501b2a
call fcn.0040d25c
cmp dword [eax + 0x14], 0
jne 0x45b73d
mov ecx, esi
pop esi
jmp fcn.0045b0f3
pop esi
ret

Function at 0x4696ba
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0041593e
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4696f7
call fcn.00469303
mov dword [esi + 0xc], 1
jmp 0x4696fc
call fcn.00469303
cmp dword [esi], 0
je 0x469745
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x46971d
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040ae5d
jmp 0x46972f
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004016e0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ae2e
jmp 0x469769
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x469769
push dword [esi]
push dword [ebp + 8]
call fcn.0041b78d
pop esi
pop ebp
ret 0xc

Function at 0x495ae1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x495afb
call fcn.0040d82b
mov esi, dword [eax + 0xc]
push dword [0x581438]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x495b19
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x495b11
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x495b46
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x495b13
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00495a0f
mov esi, eax
jmp 0x495b38
Function at 0x4e916a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e9182
mov edi, dword [esi + 0xc]
jmp 0x4e91c2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e919b
call fcn.0041675b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e91b0
call fcn.0041675b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e91c2
call fcn.0041675b
call fcn.0040d82b
cmp dword [eax + 0x3c], 0
je 0x4e91d7
push edi
mov ecx, ebx
call fcn.004e7f9c
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e9084
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e91f5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e9201
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x507fc5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x57bf5c]
jne 0x507fcf
repz ret
jmp fcn.0051059c
Function at 0x51a188
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x57bf5c]
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.0050ef6b
and dword [ebp - 0x14], 0
cmp dword [0x583a6c], 0
mov dword [ebp - 0x18], eax
jne 0x51a23b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x51a2e3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5593a8
push ebx
call edi
test eax, eax
je 0x51a2e3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x559398
push ebx
mov dword [0x583a6c], eax
call edi
push eax
call esi
push 0x559384
push ebx
mov dword [0x583a70], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x583a74], eax
call edi
push eax
call esi
mov dword [0x583a7c], eax
test eax, eax
je 0x51a23b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x583a78], eax
mov eax, dword [0x583a78]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x51a294
cmp dword [0x583a7c], ecx
je 0x51a294
push eax
call esi
push dword [0x583a7c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x51a294
test ebx, ebx
je 0x51a294
call edi
test eax, eax
je 0x51a28b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x51a28b
test byte [ebp - 8], 1
jne 0x51a294
or dword [ebp + 0x10], 0x200000
jmp 0x51a2c7
mov eax, dword [0x583a70]
cmp eax, dword [ebp - 0x18]
je 0x51a2c7
push eax
call esi
test eax, eax
je 0x51a2c7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x51a2c7
mov eax, dword [0x583a74]
cmp eax, dword [ebp - 0x18]
je 0x51a2c7
push eax
call esi
test eax, eax
je 0x51a2c7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x583a6c]
call esi
test eax, eax
je 0x51a2e3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x51a2e5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00507fc5
leave
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x51f8c1
call fcn.0050a0ba
mov dword [eax], esi
call fcn.0050a0a7
push 0x16
pop esi
mov dword [eax], esi
call fcn.0050f7d2
mov eax, esi
jmp 0x51f916
test dword [ebp + 0xc], 0xfffffff9
jne 0x51f8a7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x51f8ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050a0cd
pop ecx
call fcn.0050a0a7
mov eax, dword [eax]
jmp 0x51f916
test al, 0x10
jne 0x51f914
test al, 1
je 0x51f914
test byte [ebp + 0xc], 2
je 0x51f914
call fcn.0050a0ba
mov dword [eax], 5
call fcn.0050a0a7
mov dword [eax], 0xd
jmp 0x51f8e5
xor eax, eax
pop esi
pop ebp
ret
Function at 0x42e006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x6dc918ba
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6e698018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x6e698018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6dc9193c
jmp 0x6dc9199e
jmp 0x6dc91a00
jmp 0x6dc91a62
jmp 0x6dc91ac4
jmp 0x6dc91b26
jmp 0x6dc91b88
jmp 0x6dc91bea
jmp 0x6dc91c4c
jmp 0x6dc91cae
mov dword [ebp - 0x14], 0
jmp 0x6dc91d17
jmp 0x6dc91d79
jmp 0x6dc91ddb
jmp 0x6dc91e3d
jmp 0x6dc91e9f
jmp 0x6dc91f01
jmp 0x6dc91f63
jmp 0x6dc91fc5
jmp 0x6dc92027
jmp 0x6dc92089
mov dword [ebp - 0x18], 0
jmp 0x6dc920f2
jmp 0x6dc92154
jmp 0x6dc921b6
jmp 0x6dc92218
jmp 0x6dc9227a
jmp 0x6dc922dc
jmp 0x6dc9233e
jmp 0x6dc923a0
jmp 0x6dc92402
jmp 0x6dc92464
mov dword [ebp - 0x10], 0
jmp 0x6dc924cd
jmp 0x6dc9252f
jmp 0x6dc92591
jmp 0x6dc925f3
jmp 0x6dc92655
jmp 0x6dc926b7
jmp 0x6dc92719
jmp 0x6dc9277b
jmp 0x6dc927dd
jmp 0x6dc9283f
mov dword [ebp - 0x10], 0
jmp 0x6dc93bb7
jmp 0x6dc928ad
jmp 0x6dc9290f
jmp 0x6dc92971
jmp 0x6dc929d3
jmp 0x6dc92a35
jmp 0x6dc92a97
jmp 0x6dc92af9
jmp 0x6dc92b5b
jmp 0x6dc92bbd
jmp 0x6dc92c1f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x6e698014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x6dc92c92
jmp 0x6dc92cf4
jmp 0x6dc92d56
jmp 0x6dc92db8
jmp 0x6dc92e1a
jmp 0x6dc92e7c
jmp 0x6dc92ede
jmp 0x6dc92f40
jmp 0x6dc92fa2
jmp 0x6dc93004
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov edx, dword [0x6e69801c]
add eax, edx
mov dword [ebp - 0x18], eax
jmp 0x6dc93077
jmp 0x6dc930d9
jmp 0x6dc9313b
jmp 0x6dc9319d
jmp 0x6dc931ff
jmp 0x6dc93261
jmp 0x6dc932c3
jmp 0x6dc93325
jmp 0x6dc93387
jmp 0x6dc933e9
mov eax, dword [0x6e698008]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call eax
jmp 0x6dc93469
jmp 0x6dc934cb
jmp 0x6dc9352d
jmp 0x6dc9358f
jmp 0x6dc935f1
jmp 0x6dc93653
jmp 0x6dc936b5
jmp 0x6dc93717
jmp 0x6dc93779
jmp 0x6dc937db
add dword [ebp - 0xc], 0x28
jmp 0x6dc93841
jmp 0x6dc938a3
jmp 0x6dc93905
jmp 0x6dc93967
jmp 0x6dc939c9
jmp 0x6dc93a2b
jmp 0x6dc93a8d
jmp 0x6dc93aef
jmp 0x6dc93b51
jmp 0x6dc93bb3
add dword [ebp - 0x10], 1
mov eax, dword [0x6e698018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x6dc9284b
nop
leave
ret