joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e6e0
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x497f30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
push 0x20000
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.0047be00
push 0x20000
lea ecx, [esp + 0x10]
call fcn.0047be00
mov eax, dword [esp + 8]
mov byte [eax], 0x22
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
add ecx, 0xffffffff
push ecx
add edx, 1
push edx
push ebx
call fcn.00447be0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push str.___startup
push eax
push ecx
call fcn.0043c970
add esp, 0x18
cmp dword [0x4b03c0], ebx
je 0x46e7b0
mov edx, dword [esp + 4]
push str.__instance__
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.00434e70
mov ecx, dword [0x4b03c0]
mov edx, dword [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.00434e70
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push 0x49c254
push eax
push ecx
push edx
call fcn.00434e70
add esp, 0x30
push str.Everything
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.0044ab90
add esp, 0xc
test eax, eax
je 0x46e886
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push 0x49998a
push eax
push ecx
push str.Everything
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_bind
call fcn.0044aaf0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dl, byte [eax]
add esp, 0x18
cmp dl, byte [ecx]
jne 0x46e814
cmp dl, bl
je 0x46e820
mov dl, byte [eax + 1]
add eax, 1
add ecx, 1
cmp dl, byte [ecx]
je 0x46e803
movsx eax, byte [eax]
movsx edx, byte [ecx]
sub eax, edx
cmp eax, ebx
jne 0x46e853
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.0047ca90
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047ca90
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.0047ca90
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047ca90
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.0047ca90
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0047ca90
mov ecx, dword [esp + 0x14]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x47a0e0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [0x4b0610]
test eax, eax
je 0x47a10d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47a14f
mov eax, dword [0x4b0610]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b0610], 0
push esi
mov esi, dword [esp + 0xc]
push esi
push 0x68
call fcn.004395f0
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x479b10
push 0
push 0
call fcn.0048a41e
add esp, 0x20
test eax, eax
mov dword [0x4b0610], eax
jne 0x47a147
push esi
push 0x69
call fcn.004395f0
add esp, 8
mov eax, 1
pop esi
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x47a160
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x4b0614]
sub esp, 0x400
cmp eax, 1
jg 0x47a1a6
jne 0x47a2d4
mov eax, dword [0x4b0618]
cmp eax, 2
jg 0x47a1a6
jne 0x47a2d4
mov eax, dword [0x4b061c]
cmp eax, 1
jg 0x47a1a6
jne 0x47a2d4
cmp dword [0x4b0620], 0x1c3
jle 0x47a2d4
push 0x4b0628
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4b0624]
test eax, eax
je 0x47a1f6
mov ecx, dword [0x4b061c]
mov edx, dword [0x4b0618]
push eax
mov eax, dword [0x4b0620]
push eax
mov eax, dword [0x4b0614]
push ecx
mov ecx, dword [0x4b177c]
push edx
mov edx, dword [ecx + 0x4a0]
push eax
push edx
lea eax, [esp + 0x18]
push 0x400
push eax
call fcn.00452ec0
add esp, 0x20
jmp 0x47a230
mov ecx, dword [0x4b0620]
mov edx, dword [0x4b061c]
mov eax, dword [0x4b0618]
push ecx
mov ecx, dword [0x4b0614]
push edx
mov edx, dword [0x4b177c]
push eax
mov eax, dword [edx + 0x4a4]
push ecx
push eax
lea ecx, [esp + 0x14]
push 0x400
push ecx
call fcn.00452ec0
add esp, 0x1c
push 0x4b0628
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x404]
cmp eax, 0xffffffff
jne 0x47a28d
mov edx, dword [0x4b177c]
mov eax, dword [edx + 0x168]
push 0x23
push eax
lea ecx, [esp + 8]
push ecx
push 0
call fcn.00448d30
add esp, 0x10
cmp eax, 6
jne 0x47a2fe
push 0xa
push 0
push 0
push str.http:__www.voidtools.com_download.php
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret
mov ecx, dword [0x4b177c]
lea edx, [esp]
push edx
mov edx, dword [ecx + 0x168]
push 0x49c65c
push 7
push 0x23
push edx
push eax
call fcn.00458570
add esp, 0x18
cmp eax, 6
jne 0x47a2fe
push 0xa
push 0
push 0
push str.http:__www.voidtools.com_download.php
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
add esp, 0x400
ret
mov ecx, dword [esp + 0x404]
cmp ecx, 0xffffffff
je 0x47a2fe
mov eax, dword [0x4b177c]
mov edx, dword [eax + 0x4a8]
mov eax, dword [eax + 0x168]
push edx
push 0x40
push eax
push ecx
call fcn.004584a0
add esp, 0x10
add esp, 0x400
ret
Function at 0x47b650
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push edi
push 1
push eax
xor esi, esi
call fcn.004484d0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x47b735
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x47b698
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x47b72e
mov eax, dword [esp + 0xc]
test eax, eax
je 0x47b72e
cmp dword [esp + 0x10], esi
jne 0x47b72e
add eax, 1
push eax
call fcn.004522d0
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47b723
mov ecx, dword [esp + 0xc]
cmp dword [esp + 8], ecx
jne 0x47b723
mov dl, byte [esp + 0x1c]
test dl, dl
je 0x47b710
add ecx, esi
cmp esi, ecx
mov eax, esi
jae 0x47b6fe
lea ebx, [ebx]
cmp byte [eax], 0
jne 0x47b6f7
mov byte [eax], dl
add eax, 1
cmp eax, ecx
jb 0x47b6f0
push edi
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push edi
mov byte [ecx + esi], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push esi
call fcn.004455d0
add esp, 4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x47d050
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x44
push esi
push eax
push 0x49b394
lea ecx, [esp + 0x10]
push 0x40
push ecx
call fcn.00452ec0
mov ecx, dword [esp + 0x5c]
add esp, 0x10
push 0
lea edx, [esp + 8]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47d090
pop esi
add esp, 0x44
ret
xor eax, eax
cmp dword [esp + 4], esi
pop esi
sete al
add esp, 0x44
ret

Function at 0x47d0a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x114
lea eax, [esp]
push eax
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ax, word [esp + 2]
add ax, 0xffff
cmp ax, 0xc
mov word [esp + 2], ax
jb 0x47d0d4
xor ax, ax
mov word [esp + 2], ax
mov cx, word [esp + 4]
cmp cx, 7
jb 0x47d0e7
xor cx, cx
mov word [esp + 4], cx
movzx edx, word [esp + 0xc]
push esi
push edx
movzx edx, word [esp + 0x12]
push edx
movzx edx, word [esp + 0x14]
push edx
movzx edx, word [esp + 0x10]
push edx
movzx eax, ax
movsx edx, byte [eax + eax*2 + 0x4a444a]
push edx
movsx edx, byte [eax + eax*2 + 0x4a4449]
movsx eax, byte [eax + str.JFMAMJJASOND]
push edx
movzx edx, word [esp + 0x22]
push eax
movzx ecx, cx
movsx eax, byte [ecx + ecx*2 + 0x4a4472]
push edx
movsx edx, byte [ecx + ecx*2 + 0x4a4471]
push eax
movsx eax, byte [ecx + str.SMTWTFS]
push edx
push eax
push str._c_c_c___02d__c_c_c__d__02d:_02d:_02d_GMT
lea ecx, [esp + 0x48]
push 0x100
push ecx
call fcn.00452ec0
mov ecx, dword [esp + 0x154]
add esp, 0x38
push 0
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47d180
pop esi
add esp, 0x114
ret
xor eax, eax
cmp dword [esp + 0x14], esi
pop esi
sete al
add esp, 0x114
ret

Function at 0x47d1a0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 8]
cmp byte [ecx], 0
mov eax, ecx
je 0x47d1b8
jmp 0x47d1b0
add eax, 1
cmp byte [eax], 0
jne 0x47d1b0
push esi
sub eax, ecx
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47d1d7
pop esi
ret
xor eax, eax
cmp dword [esp + 0xc], esi
pop esi
sete al
ret
Function at 0x47d1f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
cmp dword [esp + 0x1c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
je 0x47d33c
mov edi, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, byte [ebp]
mov esi, 1
sub dword [esp + 0x2c], esi
cmp al, 0x26
jne 0x47d254
mov eax, str.amp_
add eax, esi
cmp byte [eax], 0
jne 0x47d225
sub eax, str.amp_
push 0
mov esi, eax
lea eax, [esp + 0x2c]
push eax
push esi
push str.amp_
push edi
call ebx
test eax, eax
je 0x47d30e
cmp dword [esp + 0x28], esi
jmp 0x47d32c
cmp al, 0x3c
jne 0x47d28f
mov eax, str.lt_
lea ecx, [ecx]
add eax, esi
cmp byte [eax], 0
jne 0x47d260
push 0
sub eax, str.lt_
lea ecx, [esp + 0x14]
push ecx
mov esi, eax
push esi
push str.lt_
push edi
call ebx
test eax, eax
je 0x47d30e
cmp dword [esp + 0x10], esi
jmp 0x47d32c
cmp al, 0x3e
jne 0x47d2c0
mov eax, str.gt_
add eax, esi
cmp byte [eax], 0
jne 0x47d298
push 0
sub eax, str.gt_
lea edx, [esp + 0x18]
push edx
mov esi, eax
push esi
push str.gt_
push edi
call ebx
test eax, eax
je 0x47d30e
cmp dword [esp + 0x14], esi
jmp 0x47d32c
cmp al, 0x27
jne 0x47d2f8
mov eax, str.apos_
lea esp, [esp]
add eax, esi
cmp byte [eax], 0
jne 0x47d2d0
sub eax, str.apos_
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push str.apos_
push edi
call ebx
test eax, eax
je 0x47d30e
cmp dword [esp + 0x18], esi
jmp 0x47d32c
cmp al, 0x22
jne 0x47d318
push str.quot_
push edi
call fcn.0047d1a0
add esp, 8
test eax, eax
jne 0x47d32e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push ebp
push edi
call ebx
test eax, eax
je 0x47d30e
cmp dword [esp + 0x1c], esi
jne 0x47d30e
add ebp, 1
cmp dword [esp + 0x2c], 0
jne 0x47d210
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret
Function at 0x483a40
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
mov ebx, 1
jle 0x483a86
push ebp
push edi
movzx edi, dl
jmp 0x483a60
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x4ae260]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x483a60
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x483b0e
sub ecx, ebx
je 0x483af3
sub ecx, ebx
je 0x483ae7
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x486b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [eax + 0x25c], 0
jle 0x484edb
push ebx
mov ecx, 0xfffffff8
push edi
mov edi, dword [eax + 0x4c]
mov bl, byte [eax + 0x25b]
mov edx, dword [eax + 0x2c]
mov byte [edx + edi], bl
add dword [eax + 0x4c], 1
shl dword [eax + 0x258], 8
add dword [eax + 0x25c], ecx
cmp dword [eax + 0x25c], 0
jg 0x484eb0
pop edi
pop ebx
ret
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 0x44], 0
jle 0x486b73
mov eax, dword [esi + 0x260]
mov ecx, dword [esi + 0x264]
not eax
rol ecx, 1
xor ecx, eax
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x260], eax
mov dword [esi + 0x264], ecx
jle 0x486b6a
mov dword [esi + 0x4c], 0
push esi
call fcn.00483720
add esp, 4
mov edx, dword [esi + 0x14]
add edx, dword [esi + 0x44]
cmp dword [esi + 0x26c], 1
mov dword [esi + 0x2c], edx
jne 0x486bd6
push 8
mov ecx, 0x42
mov eax, esi
mov dword [esi + 0x25c], 0
mov dword [esi + 0x258], 0
call fcn.00484ee0
push 8
mov ecx, 0x5a
call fcn.00484ee0
push 8
mov ecx, 0x68
call fcn.00484ee0
mov al, byte [esi + 0x270]
add al, 0x30
movzx ecx, al
push 8
mov eax, esi
call fcn.00484ee0
add esp, 0x10
cmp dword [esi + 0x44], 0
jle 0x486c82
push 8
mov ecx, 0x31
mov eax, esi
call fcn.00484ee0
push 8
mov ecx, 0x41
call fcn.00484ee0
push 8
mov ecx, 0x59
call fcn.00484ee0
push 8
mov ecx, 0x26
call fcn.00484ee0
push 8
mov ecx, 0x53
call fcn.00484ee0
push 8
mov ecx, 0x59
call fcn.00484ee0
mov ebx, dword [esi + 0x260]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.00484ee0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.00484ee0
movzx ecx, bh
push 8
call fcn.00484ee0
movzx ecx, bl
push 8
call fcn.00484ee0
push 1
xor ecx, ecx
call fcn.00484ee0
mov ecx, dword [esi + 0x1c]
push 0x18
call fcn.00484ee0
add esp, 0x30
call fcn.00484fd0
call fcn.00485180
cmp byte [esp + 0x10], 0
je 0x486d19
push 8
mov ecx, 0x17
mov eax, esi
call fcn.00484ee0
push 8
mov ecx, 0x72
call fcn.00484ee0
push 8
mov ecx, 0x45
call fcn.00484ee0
push 8
mov ecx, 0x38
call fcn.00484ee0
push 8
mov ecx, 0x50
call fcn.00484ee0
push 8
mov ecx, 0x90
call fcn.00484ee0
mov ebx, dword [esi + 0x264]
mov ecx, ebx
shr ecx, 0x18
push 8
call fcn.00484ee0
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
push 8
call fcn.00484ee0
movzx ecx, bh
push 8
call fcn.00484ee0
movzx ecx, bl
push 8
call fcn.00484ee0
add esp, 0x28
pop esi
pop ebx
jmp 0x484ea0
pop esi
pop ebx
ret

Function at 0x489672
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4896ca
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x49998a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4896bd
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4896cc
xor eax, eax
pop esi
leave
ret 4
Function at 0x48c4c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4aeed0]
jne 0x48c4cd
repz ret
jmp fcn.004928e7

Function at 0x4953bc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048df90
xor ebx, ebx
cmp dword [0x4b1068], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x495491
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4953fc
xor eax, eax
jmp 0x495555
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a8530
push edi
call esi
cmp eax, ebx
je 0x4953f5
push eax
call fcn.0048df2d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b1068], eax
call esi
push eax
call fcn.0048df2d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b106c], eax
call esi
push eax
call fcn.0048df2d
mov dword [0x4b1070], eax
lea eax, [ebp - 8]
push eax
call fcn.0048e777
test eax, eax
pop ecx
pop ecx
je 0x49545f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048eea2
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x495491
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0048df2d
cmp eax, ebx
pop ecx
mov dword [0x4b1078], eax
je 0x495491
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0048df2d
pop ecx
mov dword [0x4b1074], eax
mov eax, dword [0x4b1074]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x49550a
cmp dword [0x4b1078], esi
je 0x49550a
push eax
call fcn.0048df99
pop ecx
call eax
cmp eax, ebx
je 0x4954d7
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4b1078]
call fcn.0048df99
pop ecx
call eax
test eax, eax
je 0x4954d7
test byte [ebp - 0x18], 1
jne 0x49550a
lea eax, [ebp - 0xc]
push eax
call fcn.0048e7ae
test eax, eax
pop ecx
je 0x4954f2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048eea2
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x495501
or dword [ebp + 0x10], 0x200000
jmp 0x49553b
or dword [ebp + 0x10], 0x40000
jmp 0x49553b
mov eax, dword [0x4b106c]
cmp eax, esi
je 0x49553b
push eax
call fcn.0048df99
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x49553b
mov eax, dword [0x4b1070]
cmp eax, esi
je 0x49553b
push dword [ebp - 4]
push eax
call fcn.0048df99
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 [0x4b1068]
call fcn.0048df99
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x40365e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x403684
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x403670
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00403730
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x4036a4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x40b650
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491d45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
test esi, esi
jg 0x40b6b3
mov eax, dword [ebp + 8]
pop esi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
push 0x228
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.00470f10
add esp, 0xc
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x40b74e
mov edi, dword [ebp + 0xc]
nop dword [eax]
cmp dword [edi + 0x10], 0
je 0x40b714
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40b700
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.0047f265
add esp, 8
test eax, eax
jne 0x40b73c
cmp ebx, dword [ebp - 0x10]
je 0x40b729
mov eax, dword [ebp - 0x240]
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x14], ebx
jmp 0x40b73c
lea eax, [ebp - 0x240]
push eax
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040b8a0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40b6f0
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
push esi
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x40ba40
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0xb398c0], 0
jne 0x40ba98
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
dec ecx
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
mov dword [0xb398b8], eax
mov eax, dword [ebp - 8]
mov dword [0xb398bc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0xb398c0], eax
mov eax, 0xb398b8
mov esp, ebp
pop ebp
ret