joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40351a
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [0x4110b0]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov ecx, dword [0x411464]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [0x412654], 0
je 0x403556
push 1
mov edx, dword [0x411460]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp dword [0x40f458], 0xffffffff
je 0x40359a
push 0x1d4c0
mov eax, dword [0x40f458]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x403583
push 1
mov ecx, dword [0x40f458]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x40f458]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x40f458], 0xffffffff
cmp dword [0x40f45c], 0xffffffff
je 0x4035de
push 0x1d4c0
mov eax, dword [0x40f45c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4035c7
push 1
mov ecx, dword [0x40f45c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [0x40f45c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x40f45c], 0xffffffff
mov eax, dword [0x411474]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x411470]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x41146c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x411468]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [0x411464]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x411338
call fcn.0040b0c9
add esp, 4
push 0x4110c0
call fcn.00409466
add esp, 4
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esp, ebp
pop ebp
ret
Function at 0x409522
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x110c
call fcn.0040c300
push edi
mov word [ebp - 0x800], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x7fe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [ebp - 0x1004], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x1002]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40ff14
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x41109c]
call dword [ecx + 0x4bc]
test eax, eax
jne 0x4095a0
push 0x40ff2c
mov edx, dword [0x41135c]
push edx
call fcn.0040bc6b
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, 1
jmp 0x409701
push 0x40ff44
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push 0x40ff54
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll__wcsnicmp
add esp, 0xc
test eax, eax
jne 0x40964a
mov word [ebp - 0x110c], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x110a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.MSSQL_
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*2]
push edx
lea eax, [ebp - 0x110c]
push eax
mov ecx, dword [0x41109c]
call dword [ecx + 0x4c0]
lea edx, [ebp - 0x110c]
push edx
push 0x40ff74
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [0x41109c]
call dword [ecx + 0x4cc]
add esp, 0xc
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [0x41135c]
push eax
call fcn.0040bc6b
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, 1
jmp 0x409701
push 0x40ffa4
mov edx, dword [ebp + 8]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x4bc]
test eax, eax
jne 0x4096f8
lea ecx, [ebp - 0x100c]
push ecx
push 0x20019
push 0
push 0x40ffb0
push 0x80000002
mov edx, dword [0x41109c]
call dword [edx + 0x3d4]
test eax, eax
jne 0x4096ed
mov dword [ebp - 0x804], 0x7ff
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x800]
push ecx
lea edx, [ebp - 0x1008]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x100c]
push ecx
mov edx, dword [0x41109c]
call dword [edx + 0x3e4]
test eax, eax
jne 0x4096d5
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x4096de
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
mov edx, dword [ebp - 0x100c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4096f6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
jmp 0x4096fc
xor eax, eax
jmp 0x409701
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40bc6b
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
push edi
mov word [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x460]
push eax
push 0x18
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40bccb
lea edx, [ebp - 0x460]
push edx
push 7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40bccb
xor eax, eax
jmp 0x40bd88
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x460]
push eax
mov ecx, dword [0x41109c]
call dword [ecx + 0x478]
test eax, eax
je 0x40bd85
push 0x4108c8
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x4b4]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x4b4]
push 0x4108cc
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x41109c]
call dword [edx + 0x4b4]
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [0x41109c]
call dword [edx + 0x170]
mov dword [ebp - 0x464], eax
cmp dword [ebp - 0x464], 0xffffffff
je 0x40bd85
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40bd8d
Capabilities:
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x584
push edi
mov word [ebp - 0x208], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x45c]
push eax
push 0x18
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40bde4
lea edx, [ebp - 0x45c]
push edx
push 7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x40bde4
jmp 0x40bf36
push 0x208
push 0
lea ecx, [ebp - 0x208]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x45c]
push eax
mov ecx, dword [0x41109c]
call dword [ecx + 0x478]
test eax, eax
je 0x40bf36
push 0x4108d8
lea edx, [ebp - 0x208]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x4b4]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x4b4]
push 0x4108dc
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [0x41109c]
call dword [edx + 0x4b4]
push 0x1e
push 0
lea eax, [ebp - 0x480]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, dword [0x41109c]
call dword [eax + 0x170]
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0xffffffff
je 0x40bf36
mov byte [ebp - 0x584], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x583]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x460]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov word [ebp + eax*2 - 0x208], 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x584]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 3
lea edx, [ebp - 0x584]
mov dword [ebp - 0x478], edx
mov word [ebp - 0x470], 0x14
lea eax, [ebp - 0x480]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x98f553
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00993ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00993d6b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00994658
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x98f5d6
cmp dword [0xa324c8], 1
jne 0x98f5d6
cmp dword [ebp - 0xc], 0
je 0x98f5d6
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0098f412
add esp, 8
jmp 0x98f5e5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8

Function at 0x98f7d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x98f81b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x98f841
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0xa3209c], ecx
jne 0x98f83f
cmp dword [ebp - 0xc], 0
je 0x98f83d
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
jmp 0x98f841
jmp 0x98f818
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x98f8e4
mov dword [ebp - 0x18], 0
jmp 0x98f86f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x98f8e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0xa3209c], ecx
jne 0x98f8e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0xa322b8]
cmp dword [eax*4 + 0xa321c8], ecx
jb 0x98f8d1
mov eax, dword [ebp - 0x10]
cmp dword [0xa32098], eax
je 0x98f8bf
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0xa3218c]
push eax
call fcn.0099441a
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0xa32098], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00993f71
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0xa321c8], eax
jmp 0x98f8e4
jmp 0x98f86c
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x98f8f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
jmp 0x98f943
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x98f9a5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0xa3209c], ecx
jne 0x98f9a3
mov eax, dword [ebp - 0xc]
cmp dword [0xa32098], eax
je 0x98f97d
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0xa3218c]
push eax
call fcn.0099441a
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0xa32098], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00993fbd
add esp, 8
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x98f9a1
mov eax, dword [ebp - 8]
add dword [eax + 8], 0xa
jmp 0x98f9a5
jmp 0x98f940
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x98f9d3
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00993f71
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14

Function at 0x9946b3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00993ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00993d6b
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.009948e2
add esp, 8
cmp eax, 0xffffffff
je 0x994718
mov dword [ebp - 0x14], 1
jmp 0x99471f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x99474f
cmp dword [ebp - 8], 0
je 0x99474f
cmp dword [ebp - 0x14], 0
je 0x99474f
push 0xa32c78
mov eax, dword [ebp - 4]
push eax
call fcn.00994760
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x995f2d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x995f55
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x995f89
dec eax
je 0x995f69
dec eax
je 0x995f7b
jmp 0x995f51
cmp dword [ebp - 0x8c], ecx
jne 0x995f75
push 4
jmp 0x995f8b
jbe 0x995f7b
push 5
jmp 0x995f8b
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x998b8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x998bc1
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 4
pop ebx
lea ecx, [eax + esi]
mov eax, esi
cdq
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx + edi]
inc esi
cmp esi, dword [ebp + 0x14]
mov byte [ecx], al
jl 0x998ba2
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x9a3e89
Capabilities:
Encode data using xor

Disassembly:
call fcn.00990065
adc eax, 0xe800a3a0
invalid
xlatb
sar esi, 0xff
push ds
mov eax, dword [0xcee800a3]
call fcn.00990065
daa
mov al, byte [0xc5e800a3]
call fcn.00990065
xor byte [ecx - 0x4317ff5d], ah
sar esi, 0xff
cmp dword [eax - 0x4c17ff5d], esp
sar esi, 0xff
inc edx
mov al, byte [0xaae800a3]
call fcn.00990065
dec ebx
mov al, byte [0xa1e800a3]
call fcn.00990065
push esp
mov al, byte [0x98e800a3]
call fcn.00990065
pop ebp
mov al, byte [0x8fe800a3]
call fcn.00990065
mov al, byte [0x86e800a3]
sar esi, 0xff
outsd dx, dword [esi]
mov al, byte [0x7de800a3]
call fcn.00990065
js 0x9a3e8a
invalid
invalid

Function at 0xa11548
Capabilities:
Encode data using xor

Disassembly:
call fcn.00990065
movsb byte es:[edi], byte [esi]
js 0xa114ea
add al, ch
sbb bl, ch
idiv edi
leave
ja 0xa114f3
add al, ch
por mm6, mm7
push dword [edx + 0x76]
mov dword [0xeb06e800], eax
idiv edi
push edi
jbe 0xa11505
add al, ch
std
ljmp 0xa3

Function at 0xa21efe
Capabilities:
Encode data using xor

Disassembly:
ljmp 0xe1ce:0xe800a381
add al, ch
invalid
call fcn.00990065
jg 0xa21e8e
add al, ch
je 0xa21ed0
idiv bh
dec ebp
and byte [ebx - 0x1e941800], 0xf6
call fcn.00990065
jbe 0xa21f7b
mov dword [0xe162e800], eax
idiv bh
xchg ebx, eax
and dword [ebx - 0x1ea61800], 0x8188fff6
call fcn.00990065
mov byte [ecx + 0x50e800a3], al
invalid
idiv bh
xor dword [eax + 0x47e800a3], eax
loope 0xa21f13
call dword [esi]
and byte [ebx - 0x1ec11800], 0xf6
inc dword [ebx - 0x17ff5c7e]
call fcn.00990065
lodsb al, byte [esi]
jg 0xa21ed6
invalid

Function at 0xa2299c
Capabilities:
Encode data using add xor sub operations

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid
Function at 0xa229a5
Capabilities:
Encode data using add xor sub operations

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid

Function at 0xa229ae
Capabilities:
Encode data using add xor sub operations

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid

Function at 0xa229b7
Capabilities:
Encode data using add xor sub operations

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid

Function at 0xa229c0
Capabilities:
Encode data using add xor sub operations

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid

Function at 0xa229db
Capabilities:
Encode data using xor

Disassembly:
call fcn.00990065
sbb eax, 0xe800a38c
call fcn.00990065
mov byte [0xe800a38a], al
invalid
mov dl, 0xd6
idiv bh
das
mov word [ebx - 0x29561800], fs
call fcn.00990065
fmul dword [edx - 0x5f17ff5d]
salc
idiv bh
mov ebp, 0xe800a38a
xchg edi, eax
salc
mov ah, byte [ebx - 0x29681800]
idiv bh
sub cl, byte [ebp - 0x7117ff5d]
salc
idiv bh
xor ecx, dword [ebp - 0x7a17ff5d]
salc
idiv bh
pop esp
mov word [ebx - 0x29831800], fs
call fcn.00990065
invalid
invalid
invalid
invalid

Function at 0xa27f49
Capabilities:
Encode data using xor

Disassembly:
call fcn.00990065
mov eax, 0xe800a3e1
and byte [ecx - 0x1f9e000a], al
mov dword [0x8117e800], eax
call fcn.00990065
push ds
loope 0xa27ef4
add al, ch
push cs
xor esi, 0xa3e113ff
add al, ch
call fcn.00990065
pop eax
loopne 0xa27f06
add al, ch
cld
xor dh, 0xff
popal
loopne 0xa27f0f
add al, ch
xor dh, 0xff
push ds
loopne 0xa27f18
invalid
Function at 0x4081c3
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00408373
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4082c1
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x408264
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4082a7
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x40827b
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x408296
test al, 0x40
je 0x40828d
mov ecx, dword [edi + 0x20]
jmp 0x408294
test al, 0x80
je 0x4082a7
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4082a7
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x408233
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43b360
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c9dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004bc067
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43b3e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b9780
mov eax, dword [eax]
push 0x5a9254
push eax
call fcn.004aa8a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004bc2f2
test bl, bl
je 0x43b3e2
push 0x5a9254
lea ecx, [esp + 0xc]
call fcn.004bc6ce
push 0x5acde0
lea ecx, [esp + 0xc]
call fcn.004bc6ce
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43b41e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004bc2f2
jmp 0x43b4e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43b4a2
lea edx, [esp + 0x7c]
push 0x5acddc
push edx
call fcn.004aa8a4
add esp, 8
test eax, eax
je 0x43b4a2
lea eax, [esp + 0x7c]
push 0x5acdd8
push eax
call fcn.004aa8a4
add esp, 8
test eax, eax
je 0x43b4a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b432
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004bc2f2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43bce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43bd42
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc