joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423e70
Capabilities:
Get local ipv4 addresses

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push 0x288
xor bl, bl
mov dword [esp + 0x10], 0x288
call fcn.004343c3
mov esi, eax
add esp, 4
lea eax, [esp + 0xc]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x423ec1
push esi
call fcn.004342e6
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004343c3
add esp, 8
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x423f29
test esi, esi
je 0x423f29
push edi
mov edi, esi
lea esp, [esp]
call fcn.00423c00
test al, al
jne 0x423ee1
mov edi, dword [edi]
test edi, edi
jne 0x423ed0
jmp 0x423eec
mov ecx, ebp
mov eax, edi
call fcn.00423e20
mov bl, 1
xor eax, eax
pop edi
cmp ax, word [ebp]
jne 0x423f29
mov eax, esi
jmp 0x423f00
lea ecx, [eax + 0x1b0]
test ecx, ecx
jne 0x423f20
mov eax, dword [eax]
test eax, eax
jne 0x423f00
push esi
call fcn.004342e6
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
mov ecx, ebp
call fcn.00423e20
mov bl, 1
push esi
call fcn.004342e6
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret

Function at 0x424930
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x70
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [ecx + 0x18], 0x10
mov eax, dword [ecx + 0x14]
mov byte [esp + 0x68], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], 0x67452301
mov dword [esp + 4], 0xefcdab89
mov dword [esp + 8], 0x98badcfe
mov dword [esp + 0xc], 0x10325476
jb 0x424980
mov ecx, dword [ecx + 4]
jmp 0x424983
add ecx, 4
push ecx
lea ecx, [esp + 4]
call fcn.00424080
cmp byte [esp + 0x68], 0
jne 0x4249a4
push esi
lea esi, [esp + 4]
mov byte [esp + 0x6c], 1
call fcn.00424120
pop esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [edi], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, edi
call fcn.0043427b
add esp, 0x70
ret
Function at 0x427040
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
push 0x114
lea eax, [esp + 0x10]
mov esi, ecx
push 0
push eax
mov dword [esi + 0x14], 0
call fcn.00439590
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
cmp dword [esp + 0x1c], 2
jne 0x4270ac
mov ecx, esi
call fcn.00427360
test eax, eax
jne 0x4270c0
mov ecx, esi
call fcn.004275e0
test eax, eax
jne 0x4270c0
call fcn.004277d0
jmp 0x4270c0
xor edi, edi
mov edi, edi
test eax, eax
jne 0x4270c0
push esi
call fcn.00427200
inc edi
cmp edi, 0xa
jl 0x4270b0
mov eax, dword [esi + 0x14]
test eax, eax
jl 0x427101
cmp eax, dword [esi + 0x10]
jge 0x427101
mov edx, eax
shl edx, 7
lea ecx, [edx + esi + 0x18]
push ecx
inc eax
push 0x40
push ebx
mov dword [esi + 0x14], eax
call fcn.00437c36
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0043427b
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0043427b
add esp, 0x124
ret
Function at 0x427360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x494
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x10], 0x20
jge 0x4275c2
xor eax, eax
push 0x1fe
push eax
lea ecx, [esp + 0x2a2]
push ecx
mov word [esp + 0x2a4], ax
call fcn.00439590
push ebx
push str..PhysicalDrive_d
lea edx, [esp + 0x2ac]
call fcn.00427b50
add esp, 0x14
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea edx, [esp + 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4275b4
xor eax, eax
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x18
lea edx, [esp + 0x30]
push edx
push eax
push eax
push 0x74080
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call ebp
test eax, eax
je 0x4275a9
mov bl, byte [esp + 0x27]
test bl, bl
jbe 0x4275a9
xor eax, eax
push 0x210
push eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], al
lea eax, [esp + 0x90]
push eax
call fcn.00439590
mov al, byte [esp + 0x24]
mov cl, al
and cl, 1
add esp, 0xc
or cl, 0xfa
shl cl, 4
push 0
mov byte [esp + 0x71], cl
mov cl, al
shr bl, cl
lea edx, [esp + 0x20]
push edx
push 0x210
and bl, 0x10
mov byte [esp + 0x7c], al
lea eax, [esp + 0x94]
push eax
neg bl
push 0x20
sbb bl, bl
lea ecx, [esp + 0x78]
push ecx
and bl, 0xb5
push 0x7c088
add bl, 0xec
push edi
mov byte [esp + 0x88], 0
mov byte [esp + 0x89], 1
mov byte [esp + 0x8b], 0
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8e], bl
mov dword [esp + 0x84], 0x200
call ebp
test eax, eax
je 0x4275a9
movzx eax, word [esp + 0xae]
movzx edx, word [esp + 0xac]
movzx ecx, word [esp + 0xb0]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0xb4]
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0xb2]
mov dword [esp + 0x44], ecx
movzx ecx, word [esp + 0xb6]
mov dword [esp + 0x4c], eax
movzx eax, word [esp + 0xba]
mov dword [esp + 0x48], edx
movzx edx, word [esp + 0xb8]
mov dword [esp + 0x50], ecx
movzx ecx, word [esp + 0xbc]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x54], edx
movzx edx, word [esp + 0xbe]
mov dword [esp + 0x5c], ecx
mov ecx, eax
shl ecx, 7
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x20]
lea esi, [ecx + esi + 0x18]
inc eax
lea ecx, [esp + 0x3c]
mov dword [edx + 0x10], eax
call fcn.00427120
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x18]
inc ebx
cmp ebx, 0x10
mov dword [esp + 0x18], ebx
jl 0x42738e
mov ecx, dword [esp + 0x49c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043427b
add esp, 0x494
ret
Function at 0x4277d0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x221c
call fcn.0043cb90
mov eax, dword [0x4621a0]
xor eax, esp
mov dword [esp + 0x2218], eax
push ebx
push ebp
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edi
jmp 0x427800
cmp dword [esi + 0x10], 0x20
jge 0x427970
push edi
push str..PhysicalDrive_d
lea edx, [esp + 0x2c]
call fcn.00427b50
add esp, 8
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x427962
mov edi, dword [esi + 0x10]
xor eax, eax
push 0x2000
lea ecx, [esp + 0x228]
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00439590
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0x2d1400
push ebp
call ebx
test eax, eax
je 0x4278db
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x23c]
shl edx, 7
lea ecx, [edx + esi + 0x18]
lea eax, [esp + eax + 0x224]
push ecx
call fcn.00427990
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.00437f7d
add esp, 4
test eax, eax
je 0x4278db
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
cmp edi, dword [esi + 0x10]
jne 0x427955
push 0x2000
lea ecx, [esp + 0x228]
push 0
push ecx
call fcn.00439590
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
push 0x2000
lea eax, [esp + 0x230]
push eax
push 0
push 0
push 0x2d0c10
push ebp
call ebx
test eax, eax
je 0x427955
mov ecx, dword [esi + 0x10]
shl ecx, 7
lea ebx, [ecx + esi + 0x18]
lea edi, [esp + 0x234]
call fcn.00427b10
mov edx, dword [esi + 0x10]
shl edx, 7
movzx eax, word [edx + esi + 0x18]
push eax
call fcn.00437f7d
add esp, 4
test eax, eax
je 0x427955
mov eax, 1
add dword [esi + 0x10], eax
mov dword [esp + 0xc], eax
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x10]
xor ebx, ebx
inc edi
cmp edi, 0x10
mov dword [esp + 0x10], edi
jl 0x427800
mov ecx, dword [esp + 0x2224]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043427b
add esp, 0x221c
ret
Function at 0x42fb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4512b8
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x4621a0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esp + 0x14], ebx
push eax
mov dword [esi], vtable.Json::StyledWriter.0
call fcn.00405450
mov dword [esi + 0x30], ebx
mov eax, 0xf
mov dword [esi + 0x34], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x54], 0x4a
mov dword [esi + 0x58], 3
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4330b5
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4650b0], 0
push esi
jne 0x433028
call fcn.00432f4e
test eax, eax
je 0x43306b
mov eax, dword [0x4650b0]
cmp eax, 1
jne 0x433049
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x43306b
pop esi
ret
push eax
call dword [0x4650b8]
test eax, eax
jne 0x4330b3
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x43306f
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4650b0]
call dword [0x4650b8]
mov edi, eax
test edi, edi
je 0x433094
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4330b0
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4650b0]
call dword [0x4650b4]
add edi, 0x10
cmp edi, esi
jb 0x43309c
mov eax, edi
pop edi
pop esi
ret
jmp 0x433015

Function at 0x43427b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4621a0]
jne 0x434285
repz ret
jmp fcn.0043babc

Function at 0x44a372
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.0043cdd5
and dword [ebp - 4], 0
cmp dword [0x465f20], 0
mov ebx, eax
jne 0x44a423
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44a4d4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44a4d4
push eax
call fcn.0043cd63
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x465f20], eax
call esi
push eax
call fcn.0043cd63
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x465f24], eax
call esi
push eax
call fcn.0043cd63
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x465f28], eax
call esi
push eax
call fcn.0043cd63
pop ecx
mov dword [0x465f30], eax
test eax, eax
je 0x44a423
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043cd63
pop ecx
mov dword [0x465f2c], eax
mov eax, dword [0x465f2c]
cmp eax, ebx
je 0x44a47b
cmp dword [0x465f30], ebx
je 0x44a47b
push eax
call fcn.0043cdde
push dword [0x465f30]
mov esi, eax
call fcn.0043cdde
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44a47b
test edi, edi
je 0x44a47b
call esi
test eax, eax
je 0x44a472
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44a472
test byte [ebp - 0xc], 1
jne 0x44a47b
or dword [ebp + 0x10], 0x200000
jmp 0x44a4b4
mov eax, dword [0x465f24]
cmp eax, ebx
je 0x44a4b4
push eax
call fcn.0043cdde
pop ecx
test eax, eax
je 0x44a4b4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44a4b4
mov eax, dword [0x465f28]
cmp eax, ebx
je 0x44a4b4
push eax
call fcn.0043cdde
pop ecx
test eax, eax
je 0x44a4b4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x465f20]
call fcn.0043cdde
pop ecx
test eax, eax
je 0x44a4d4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44a4d6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x401120
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x401190
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop word [eax + eax]
push str.hl2.exe
lea eax, [ebp - 0x10c]
push eax
call edi
test eax, eax
je 0x4011aa
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x401170
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040182a
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040182a
mov esp, ebp
pop ebp
ret

Function at 0x40202c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40206b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40206b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40206b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40206b
cmp dword [ecx + 0x74], 0xe
jbe 0x40206b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x422250
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x418015
lea edi, [esi - 0x17015]
push edi
or ebp, 0xffffffff
jmp 0x422272
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422268
mov eax, 1
add ebx, ebx
jne 0x42228b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422280
jne 0x42229c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422280
xor ecx, ecx
sub eax, 3
jb 0x4222b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422322
mov ebp, eax
add ebx, ebx
jne 0x4222bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4222c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4222ec
inc ecx
add ebx, ebx
jne 0x4222d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4222cd
jne 0x4222e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4222cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42230c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4222fd
jmp 0x42226e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42230c
add edi, ecx
jmp 0x42226e
pop esi
mov edi, esi
mov ecx, 0x39c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42232a
cmp byte [edi], 6
jne 0x42232a
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 eax, ebx
loop 0x42232f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x42239e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22cc8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22d68]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42235c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22d6c]
or eax, eax
je 0x422398
mov dword [ebx], eax
add ebx, 4
jmp 0x422379
call dword [esi + 0x22d70]
popal
jmp 0x409fb0
Function at 0x4018a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x310]
push eax
push 0x40d1f0
push 0x17
push 0
push 0x40d200
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4019f9
mov eax, dword [ebp - 0x310]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x310]
push 0x411808
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x310]
lea edx, [ebp - 0x314]
push edx
push 0x40d210
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4019ed
push str.C87Ud6_TUb_QdXG
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00403a3c
add esp, 0xc
cmp byte [ebp - 0x104], 0
je 0x40195b
lea eax, [ebp - 0x104]
nop dword [eax + eax]
add byte [eax], 0x10
lea eax, [eax + 1]
cmp byte [eax], 0
jne 0x401950
lea eax, [ebp - 0x104]
push eax
push str.Shell32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x30c]
push ecx
push 0
push 0
push 7
push 0
call eax
push 0x4117d0
lea eax, [ebp - 0x30c]
push 0x104
push eax
call fcn.004039c7
push 0x411808
lea eax, [ebp - 0x30c]
push 0x104
push eax
call fcn.004039c7
push 0x4117d4
lea eax, [ebp - 0x30c]
push 0x104
push eax
call fcn.004039c7
mov eax, dword [ebp - 0x314]
lea edx, [ebp - 0x30c]
add esp, 0x24
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x314]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004022bd
mov esp, ebp
pop ebp
ret
Function at 0x401bb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
movaps xmm1, xmmword [0x411890]
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
mov ebx, edx
lea ecx, [ebp - 0x3f4]
xor edi, edi
movd xmm0, edi
lea eax, [edi + 4]
pshufd xmm0, xmm0, 0
lea ecx, [ecx + 0x20]
paddd xmm0, xmm1
add edi, 8
movups xmmword [ecx - 0x30], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ecx - 0x20], xmm0
cmp edi, 0x100
jl 0x401bd2
xor eax, eax
mov ecx, eax
and ecx, 0x1f
movzx ecx, byte [ecx + ebx]
add ecx, dword [ebp + eax*4 - 0x404]
add esi, ecx
and esi, 0x800000ff
jns 0x401c29
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [ebp + eax*4 - 0x404]
mov ecx, dword [ebp + esi*4 - 0x404]
mov dword [ebp + eax*4 - 0x404], ecx
inc eax
movzx ecx, dl
mov dword [ebp + esi*4 - 0x404], ecx
cmp eax, 0x100
jl 0x401c07
mov ebx, dword [ebp + 8]
xor edi, edi
test ebx, ebx
je 0x401ccd
nop dword [eax]
inc eax
and eax, 0x800000ff
jns 0x401c6f
dec eax
or eax, 0xffffff00
inc eax
mov ecx, dword [ebp + eax*4 - 0x404]
add esi, ecx
and esi, 0x800000ff
jns 0x401c88
dec esi
or esi, 0xffffff00
inc esi
mov dl, cl
mov ecx, dword [ebp + esi*4 - 0x404]
mov dword [ebp + eax*4 - 0x404], ecx
movzx ecx, dl
mov dword [ebp + esi*4 - 0x404], ecx
mov edx, dword [ebp + eax*4 - 0x404]
add edx, ecx
and edx, 0x800000ff
jns 0x401cbb
dec edx
or edx, 0xffffff00
inc edx
mov cl, byte [ebp + edx*4 - 0x404]
mov edx, dword [ebp - 4]
xor byte [edi + edx], cl
inc edi
cmp edi, ebx
jb 0x401c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401ce0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x230], 0x22c
push ebx
push 2
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x234], esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401da9
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x401d88
nop dword [eax]
mov esi, dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, eax
lea eax, [ebp - 0x20c]
push str.explorer.exe
cmove edi, dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov esi, dword [ebp - 0x234]
test eax, eax
lea eax, [ebp - 0x230]
cmove ebx, dword [ebp - 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401d40
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x401da9
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004022bd
mov esp, ebp
pop ebp
ret
Function at 0x401ef0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4156b8
push 0x67
push edi
call esi
push 0x64
push 0x415780
push 0x6d
push edi
call esi
mov ecx, edi
call fcn.00402000
push 0
push edi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x4156b8
push 0x415780
push 0
mov dword [0x415848], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x401fec
push dword [ebp + 0x14]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x401fd7
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x401fc6
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x401fa6
pop ebx
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004022bd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004022bd
mov esp, ebp
pop ebp
ret 0x10