joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ffe8354
Capabilities:
Encode data using xor

Disassembly:
stc
cld
pop eax
cld
push edx
cdq
pop edx
cld
add eax, 0x19
and bh, 0xff
stc
mov byte [eax], 5
pushal
inc eax
popal
stc
clc
clc
nop
call 0x7ffe8354
stc
add cl, bh
lea esp, [esp]
stc
cld
add eax, 5
cld
mov ecx, eax
call 0x7ffe831b
add eax, 0
pop eax
nop
nop
add eax, 0x15
nop
lea esp, [esp]
cld
mov byte [eax], 5
pushal
inc eax
popal
stc
call int.7ffe84d6
lea esp, [esp]
cld
clc
cld
nop
add eax, 5
cld
lea esp, [esp]
stc
cld
xchg ecx, eax
nop
sub ecx, eax
xor byte [eax + ecx], 0x61
stc
or byte [ecx - 7], ah
nop
nop
loop 0x7ffe8349
cld
cld
pop ecx
mov dword [ecx + 0x61], esp
popal
popal
cmp edx, esp
mov eax, dword [0x6461a766]
mov esp, edx
popal
popal
popal
loop 0x7ffe8309
call 0xe1881892
popal
popal
popal
cmp edx, esp
mov eax, dword [0x6461a766]
mov esp, eax
popal
popal
popal
loop 0x7ffe8320
call 0x1e95b969
sahf
cmp dword [ecx], esi
mov dword [ecx + 0x61], esp
popal
popal
cmp dword [edi], eax
push edx
mov eax, dword [0x908de4e8]
sahf
sahf
cmp dword [ecx], esi
mov dword [ecx + 0x61], esp
popal
popal
cmp dword [edi - 0x769b9bdf], esp
pop ecx
das
popal
popal
loop 0x7ffe834b
imul ebp, eax, 0xffffffe4
xor dword [edi + 0x31399e9e], edx
mov dword [ecx + 0x61], esp
popal
popal
cmp dword [edi - 0x769b9bdf], esp
das
or eax, 0xa1e26161
imul ebp, eax, 0xffffffe4
cmp eax, 0x399e9e97
xor dword [ecx + 0x61616161], ecx
cmp dword [edi - 0x769b9bdf], esp
and eax, 0xe29e9eae
mov eax, dword [0x8524e86b]
cmp eax, ebx
loope 0x7ffe8447
popal
popal
ljmp 0x9091
popal
popal
popal
popal
cmp dword [edx - 0x60], esp
sahf
cmp dword [edx], 0x60d93839
popal
popal
popal
test al, 0xa2
cmp bh, byte [ecx]
cmp al, bl
jb 0x7ffe84c1
popal
popal
ljmp 0xea9e
pop edi
jmp 0x7ffe84e5
or al, 0xb
or al, 0x14
sbb dword [ecx + 0xa1c3f2b], ebx
mov al, byte [ebp + 0x161d17d3]
and byte [edi + 0x47a01869], 0xa
nop
push ebp
sub bl, byte [eax + 0x10f08c3]
xchg byte [ebx + 0x5a970969], cl
neg dl
pop ds
aas
retf 0xd64c
Function at 0x4d20a9
Capabilities:
Packed with generic packer

Disassembly:
add ah, bl
iretd
clc
jmp 0x4d2062
pushal
stc
jb 0x4d2076
xor byte [ebx - 0x5e50a117], bh
dec esi
sub dword [edx - 0x789a79f5], esp
rcr byte [eax], 1
dec edx
call 0x4d20a9
mov cl, byte [ecx - 0x24]
imul ebp
insd dword es:[edi], dx
jns 0x4d2023
jge 0x4d20e9
in al, 0xb7
push 0x3b
mov ebp, 0xbceb146
xchg byte [eax + 0x378d37d3], dh
cmpsb byte [esi], byte es:[edi]
shr dword [ebx], 0x48
xor bl, byte [eax]
cmpsd dword [esi], dword es:[edi]
cmpsb byte [esi], byte es:[edi]
push edx
inc edi
lodsb al, byte [esi]
push ds
lcall 0xb8c8, 0xec3f5b9d
pop ebx
jmp 0x4d20be
add ebx, 0xffffff85
jmp 0x4d20ea
add al, byte [ebx - 0x1406ffc5]
and byte [edi + 0x6e], ah
xchg byte [edx], ah
push ebp
xchg esi, eax
jnp 0x4d213c
cmp dword [ebx], 0
stc
jmp 0x4d2110
das
mov dl, byte [ebp - 0x32]
test dh, ch
cmp eax, 0x183da1a
mov byte [edi + 0x62c2af48], bl
out 0x63, al
inc ebp
inc ebx
dec edx
pop ebp
sbb eax, 0x1d2840f
add byte [eax], al
je 0x4d22e8
clc
jae 0x4d213e
out dx, eax
xor dh, byte [eax]
adc al, 0x3d
invalid
invalid
mov ecx, ebx
jae 0x4d2169
ljmp 0xfd77:0x178b91ed
add ebx, 4
jmp 0x4d219c
mov edx, dword [ebx]
jmp 0x4d21c0
add edx, ebx
jmp 0x4d21f3
mov eax, dword [ebx + 4]
jmp 0x4d221f
sub dword [edx], 0xf1c2ffba
jmp 0x4d2231
add edx, 4
jmp 0x4d225b
sub eax, 1
jmp 0x4d2285
jne 0x4d21f6
jmp 0x4d22ac
add ebx, 8
jmp 0x4d22b5
sub dword [ecx], 1
clc
jmp 0x4d22c8
jne 0x4d216c
jae 0x4d22e3
fsub qword [edi + 0x27]
fsubrp st(2)
jae 0x4d22f0
xchg ecx, eax
sahf
std
add byte [ebx - 0x4f8ca27e], 0x2a
adc eax, 0x39e8
add bl, ch
add cl, byte [ecx - 0x6b]
call 0x4d2321
jmp 0x4d22ec
popal
stc
jb 0x4d231c
mov esp, 0x80aed47e
sbb cl, byte [edx + 0x7cf0502f]
inc esp
xchg edi, eax
retf
jmp 0x4d104c
Function at 0x401087
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401091
repz ret
jmp fcn.00401342
Function at 0x4333c0
Capabilities:
Connect pipe
Create pipe
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x4d6784], 0x60b
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
push edi
mov edi, dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 0xc6ef3720
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], edx
jne 0x43344f
push 0
lea eax, [ebp - 0xc]
push eax
push 0
lea ecx, [ebp - 0x424]
push ecx
push 0
push 0
push 0x401370
call dword [sym.imp.KERNEL32.dll_CallNamedPipeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4013b4
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov dword [ebp - 0xc], 0x20
jmp 0x43345b
mov esi, dword [ebp - 4]
mov edx, esi
shl edx, 4
cmp dword [0x4d6784], 0xe
mov dword [ebp - 0x14], edx
jne 0x433476
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00433360
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
add eax, ebx
mov dword [ebp + 0xc], eax
push esi
push 0x23c912
lea edx, [ebp - 8]
push edx
call fcn.00433390
cmp dword [0x4d6784], 0x1b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
lea esi, [eax + ecx - 0x23c912]
mov dword [0x4d2d88], 0xffcf03fc
jne 0x4334cc
push 0
lea edx, [ebp - 0x824]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
xor esi, dword [ebp + 0xc]
mov dword [0x4d2d88], 0
xor esi, dword [ebp - 0x14]
mov dword [ebp - 8], esi
mov eax, dword [ebp - 8]
add dword [0x4d2d88], eax
mov eax, dword [ebp - 0x10]
sub edi, esi
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x1c]
add eax, edi
cmp dword [0x4d6784], 0x1be
mov dword [ebp + 0xc], eax
jne 0x433512
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, edi
shr eax, 5
add eax, dword [ebp - 0x20]
push 0x9e3779b9
mov dword [ebp - 8], eax
xor eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
xor esi, eax
sub dword [ebp - 4], esi
push ecx
mov dword [0x4d2d90], 0xcbd702b4
mov dword [0x4d2d94], 0xffffffff
call fcn.004330a0
dec dword [ebp - 0xc]
jne 0x433458
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], edx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x433570
Capabilities:
Copy file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x930
cmp dword [0x4d6784], 0x516
jne 0x433595
push 0
lea eax, [ebp - 0x930]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov eax, dword [ebp + 0xc]
shr eax, 3
test eax, eax
je 0x43362f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov dword [ebp + 0xc], eax
jmp 0x4335c0
cmp dword [0x4d6784], 0x29
jne 0x4335e1
push 0
push 0
push 0
push 0
push 0x4013bc
push 0x4013d4
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x4d6784], 0x1c
jne 0x43361a
call edi
push 0
push 0
push 0
lea ecx, [ebp - 0x9c]
push ecx
call ebx
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0
call dword [sym.imp.KERNEL32.dll_FatalExit]
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.004333c0
add esi, 8
dec dword [ebp + 0xc]
jne 0x4335c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433640
Capabilities:
Copy file
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xab8
cmp dword [0x4d6784], 0x37
jne 0x43378a
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0x4013f8
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x14]
mov word [ebp - 0x24], dx
push ecx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
push edx
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
push 0
push 0
push 0
lea ecx, [ebp - 0x2b8]
push ecx
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea edx, [ebp - 0x6b8]
push edx
push 0x401408
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessPriorityBoost]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0x40142c
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
push 0
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
push 0
push 0
push ecx
lea edx, [ebp - 0xab8]
push edx
push eax
push 0x40143c
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 4], 0
mov eax, dword [0x4d6788]
add dword [ebp - 4], eax
mov eax, 0x12336
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dl, byte [ecx + eax]
mov ecx, dword [0x4d2d84]
mov byte [ecx + eax], dl
mov esp, ebp
pop ebp
ret 4
Function at 0x4338c0
Capabilities:
Create pipe
Get common file path
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x22dc
call fcn.004341d0
mov dword [ebp - 4], 0
jmp 0x4338df
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x332beaf6
jge 0x433998
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [0x4d6784], 0x16
jne 0x433926
lea ecx, [ebp - 0x58]
push ecx
push 0
lea edx, [ebp - 0x858]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x4d6784], 0x9e
jne 0x433988
push 0
lea eax, [ebp - 0xe78]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryA]
push 0
lea ecx, [ebp - 0x1278]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [ebp - 0x12c0]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x401460
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
cmp dword [ebp - 4], 0x3775ee
jle 0x433993
jmp 0x433998
jmp 0x4338d6
push section..data
mov eax, dword [0x4d6784]
push eax
mov ecx, dword [0x4d2d84]
push ecx
call fcn.00433570
mov dword [ebp - 0x12c4], 0
jmp 0x4339ca
mov edx, dword [ebp - 0x12c4]
add edx, 1
mov dword [ebp - 0x12c4], edx
cmp dword [ebp - 0x12c4], 0x3e79e
jge 0x433a08
cmp dword [0x4d6784], 0x10
jne 0x4339f5
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp dword [ebp - 0x12c4], 0x1e673
jne 0x433a06
call fcn.004337d0
jmp 0x4339bb
mov dword [ebp - 0x12c8], 0
jmp 0x433a23
mov eax, dword [ebp - 0x12c8]
add eax, 1
mov dword [ebp - 0x12c8], eax
cmp dword [ebp - 0x12c8], 0xdd9a7
jge 0x433a6f
cmp dword [0x4d6784], 0xc01
jne 0x433a6d
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapSize]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x433a14
jmp dword [0x4d2d84]
Function at 0x43b7e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x459530]
jne 0x43b7ea
repz ret
jmp fcn.00440970
Function at 0x44aab0
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44aacf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x44aad6
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x44aaed
mov ecx, dword [ebp - 4]
push ecx
call fcn.00439090
add esp, 4
or eax, 0xffffffff
jmp 0x44aaef
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x409681
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40968b
repz ret
jmp fcn.0040e06c

Function at 0x41229c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
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.0040b70f
and dword [ebp - 0x14], 0
cmp dword [0x46b50c], 0
mov dword [ebp - 0x18], eax
jne 0x41234f
push 0x403764
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403758
push ebx
call edi
test eax, eax
je 0x4123f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403748
push ebx
mov dword [0x46b50c], eax
call edi
push eax
call esi
push 0x403734
push ebx
mov dword [0x46b510], eax
call edi
push eax
call esi
push 0x403718
push ebx
mov dword [0x46b514], eax
call edi
push eax
call esi
mov dword [0x46b51c], eax
test eax, eax
je 0x41234f
push 0x403700
push ebx
call edi
push eax
call esi
mov dword [0x46b518], eax
mov eax, dword [0x46b518]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123a8
cmp dword [0x46b51c], ecx
je 0x4123a8
push eax
call esi
push dword [0x46b51c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123a8
test ebx, ebx
je 0x4123a8
call edi
test eax, eax
je 0x41239f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41239f
test byte [ebp - 8], 1
jne 0x4123a8
or dword [ebp + 0x10], 0x200000
jmp 0x4123db
mov eax, dword [0x46b510]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4123db
mov eax, dword [0x46b514]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46b50c]
call esi
test eax, eax
je 0x4123f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409681
leave
ret
Function at 0x414210
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413870
cmp dword [0x80b664], 0x37
jne 0x4142a1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f58
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x80c248]
mov edx, dword [0x8086c4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x10004a27
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012c290]
jne 0x10004a31
repz ret
jmp fcn.100074fc

Function at 0x10008084
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.10002a64
and dword [ebp - 4], 0
cmp dword [0x1012e4f4], 0
mov ebx, eax
jne 0x10008135
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100081e6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100081e6
push eax
call fcn.100029f2
mov dword [esp], 0x1000e754
push edi
mov dword [0x1012e4f4], eax
call esi
push eax
call fcn.100029f2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1012e4f8], eax
call esi
push eax
call fcn.100029f2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1012e4fc], eax
call esi
push eax
call fcn.100029f2
pop ecx
mov dword [0x1012e504], eax
test eax, eax
je 0x10008135
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100029f2
pop ecx
mov dword [0x1012e500], eax
mov eax, dword [0x1012e500]
cmp eax, ebx
je 0x1000818d
cmp dword [0x1012e504], ebx
je 0x1000818d
push eax
call fcn.10002a6d
push dword [0x1012e504]
mov esi, eax
call fcn.10002a6d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000818d
test edi, edi
je 0x1000818d
call esi
test eax, eax
je 0x10008184
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10008184
test byte [ebp - 0xc], 1
jne 0x1000818d
or dword [ebp + 0x10], 0x200000
jmp 0x100081c6
mov eax, dword [0x1012e4f8]
cmp eax, ebx
je 0x100081c6
push eax
call fcn.10002a6d
pop ecx
test eax, eax
je 0x100081c6
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100081c6
mov eax, dword [0x1012e4fc]
cmp eax, ebx
je 0x100081c6
push eax
call fcn.10002a6d
pop ecx
test eax, eax
je 0x100081c6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1012e4f4]
call fcn.10002a6d
pop ecx
test eax, eax
je 0x100081e6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100081e8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009b80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
call fcn.1000a2b0
xor ecx, ecx
mov edx, dword [0x1012b9a8]
add edx, 0xffffd978
mov dword [0x1012b9ac], edx
mov dword [0x1012b9a8], 0x1c86
mov edx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
mov esi, eax
add esi, 1
imul edi, eax, 0x94
mov ebx, edx
add ebx, edi
add ebx, 0x90
imul eax, eax, 0x94
add edx, eax
add edx, 0x50
mov eax, dword [ebx]
movzx edx, word [edx]
xor edx, eax
add edx, ecx
cmp esi, 0x541
mov eax, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], esi
jne 0x10009bbd
lea eax, [0x1000d5d1]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x1012b9a8], 0x18e9
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
call fcn.10009da0
mov dword [0x1012b9a8], 0x1dfa
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.10009d70
mov ecx, eax
mov dword [0x1012b9c8], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, dword [0x1012b9ac]
add edx, 0x8af
mov dword [0x1012b9a8], edx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, eax, 0x94
mov edi, edx
add edi, esi
add edi, 0x90
mov esi, dword [edi]
imul edi, eax, 0x94
mov ebx, edx
add ebx, edi
add ebx, 0x28
mov edi, dword [ebx]
imul ebx, eax, 0x94
add edx, ebx
add edx, 0x50
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
call fcn.1000a070
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
add eax, ecx
mov edx, dword [ebp - 0x58]
add edx, 1
cmp edx, 0x541
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
jne 0x10009c99
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.1000a2d0
xor eax, eax
mov dword [0x1012b9a8], 0x1ca4
mov ecx, dword [ebp - 0x4c]
add ecx, 0xbcbf9
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [edx + 4], 0x123e00
mov ecx, dword [ebp - 0x4c]
add ecx, 0xb8a61
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f70
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a120
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [0x1012b9a8]
add esi, 0xfffff334
mov dword [0x1012b9a8], esi
mov dword [0x1012b9b4], 0
mov byte [0x1012b9b8], 0
mov dword [0x1012b9b0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jmp 0x1000a188
mov dword [0x1012b9ac], 0x1cd8
mov dword [0x1012b9b0], 0
jmp 0x1000a1b9
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1012b9b0]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1012b9a8], 0x4fb
mov eax, dword [0x1012b9b0]
add eax, 1
mov dword [0x1012b9b0], eax
cmp eax, 0x100
jl 0x1000a188
jmp 0x1000a16a
mov eax, 0x100
mov dword [0x1012b9bc], 0
mov ecx, dword [0x1012b9b4]
mov edx, dword [0x1012b9b0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1012b9bc], edi
mov dword [0x1012b9a8], 0x253d
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x1012b9b4], edx
mov dword [0x1012b9ac], 0x2618
mov ecx, dword [0x1012b9b0]
mov bl, byte [esi + ecx]
mov byte [0x1012b9b8], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x1012b9a8], 0x1673
mov bl, byte [0x1012b9b8]
mov ecx, dword [0x1012b9b4]
mov byte [esi + ecx], bl
mov ecx, dword [0x1012b9b0]
add ecx, 1
mov dword [0x1012b9b0], ecx
cmp ecx, 0x100
jl 0x1000a1b9
jmp 0x1000a180