joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x417174]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x20c]
push str._uins_d.exe
push eax
call fcn.00401040
mov ebx, eax
lea eax, [ebp - 0x20c]
push eax
push 0
call fcn.004051b0
add esp, 0x10
cmp ebx, 0xffffffff
je 0x404d4c
push 0x104
push dword [0x417ff0]
push dword [0x41712c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x80000000
push dword [0x417ff0]
call fcn.00401270
add esp, 8
mov dword [ebp - 0x620], eax
cmp eax, 0xffffffff
je 0x404d43
push esi
mov esi, dword [0x4170f6]
test esi, esi
je 0x404d31
push edi
push 0
push 0
push eax
call fcn.00401370
push esi
call fcn.0040645b
mov edi, eax
add esp, 0x10
test edi, edi
je 0x404cd1
push esi
push edi
push dword [ebp - 0x620]
call fcn.004012a0
push esi
push edi
push ebx
call fcn.004013a0
push edi
call fcn.00406423
add esp, 0x1c
push dword [ebp - 0x620]
call fcn.004011f0
push ebx
call fcn.004011f0
push dword [0x417ff0]
lea eax, [ebp - 0x61c]
push str._D__s_
push eax
call fcn.004064ed
add esp, 0x14
lea eax, [ebp - 0x61c]
push 0
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040658e
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040658e
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004011f0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040658e
mov esp, ebp
pop ebp
ret
Function at 0x404d60
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x417fd8]
push ebx
xor ebx, ebx
mov dword [ebp - 8], eax
cmp dword [0x417fd4], ebx
jbe 0x404ee7
push esi
push edi
lea edi, [ebx + 0x64]
mov esi, dword [eax]
mov eax, dword [esi + 4]
cmp word [eax], 0
je 0x404e76
push str.Software
push eax
call fcn.00406279
add esp, 8
test eax, eax
je 0x404e76
push str.System
push dword [esi + 4]
call fcn.00406279
add esp, 8
test eax, eax
je 0x404e76
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x417fb4]
test eax, eax
je 0x404df3
push 0x37
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404df3
lea ecx, [ebp - 0x10]
push ecx
push 0x417128
call eax
test eax, eax
je 0x404e76
push 0x5c
push dword [esi + 4]
call fcn.0040614b
mov edi, eax
add esp, 8
test edi, edi
je 0x404e53
cmp edi, dword [esi + 4]
je 0x404e53
cmp word [edi - 2], 0x5c
jne 0x404e53
xor eax, eax
mov word [edi - 2], ax
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404e48
lea eax, [edi + 2]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x5c
mov word [edi - 2], ax
jmp 0x404eca
cmp byte [0x417fac], 0
push dword [esi + 4]
push dword [esi]
je 0x404e6b
call fcn.00403fc0
add esp, 8
jmp 0x404e71
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x64
mov esi, dword [0x417fa8]
test esi, esi
je 0x404eca
mov eax, dword [0x417fcc]
add eax, dword [0x417fc4]
xor edx, edx
add eax, ebx
imul eax, eax, 0x64
div esi
cmp eax, 0x64
cmova eax, edi
cmp dword [0x417fa4], eax
je 0x404eca
mov ecx, dword [0x417fa0]
mov dword [0x417fa4], eax
test ecx, ecx
je 0x404ec0
push 0
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call fcn.004030e0
add esp, 4
mov eax, dword [ebp - 8]
inc ebx
add eax, 4
mov dword [ebp - 8], eax
mov edi, 0x64
cmp ebx, dword [0x417fd4]
jb 0x404d82
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4057a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x417174]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x417144]
lea edx, [ebp - 0x210]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x4057c1
cmp word [ebp - 0x210], 0x5c
push edi
jne 0x405855
cmp word [ebp - 0x20e], 0x5c
jne 0x405855
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0040609d
add esp, 8
test eax, eax
je 0x405835
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.0040609d
add esp, 8
test eax, eax
je 0x405817
xor ecx, ecx
mov word [eax + 2], cx
jmp 0x40585e
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405820
mov eax, dword [0x4108c0]
mov dword [edi], eax
jmp 0x40585e
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov edi, edi
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x405840
mov eax, dword [0x4108c0]
mov dword [edi], eax
jmp 0x40585e
xor eax, eax
mov word [ebp - 0x20a], ax
push 0
push 0
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
push 0x50
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x264], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x264]
mov ecx, eax
shr ecx, 0x10
movzx eax, ax
xor ecx, eax
mov dword [0x417154], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040658e
mov esp, ebp
pop ebp
ret
Function at 0x40d74b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417174]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040c0f4
mov dword [ebp - 0x14], eax
cmp dword [0x418d64], edi
jne 0x40d83c
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40d7c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d91c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40d91c
push 0x414494
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d91c
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x418d64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x418d68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x418d6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x418d74], eax
test eax, eax
je 0x40d839
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x418d70], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d861
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d854
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40d876
push 4
pop eax
jmp 0x40d91e
cmp dword [ebp - 0x14], edi
je 0x40d876
push dword [0x418d64]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d85b
mov eax, dword [0x418d70]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40d8d4
cmp dword [0x418d74], esi
je 0x40d8d4
push eax
call ebx
push dword [0x418d74]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d8d4
test eax, eax
je 0x40d8d4
call ecx
test eax, eax
je 0x40d8c9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d8c9
test byte [ebp - 8], 1
jne 0x40d8d4
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40d904
mov eax, dword [0x418d68]
cmp eax, esi
je 0x40d901
push eax
call ebx
test eax, eax
je 0x40d901
call eax
mov edi, eax
test edi, edi
je 0x40d901
mov eax, dword [0x418d6c]
cmp eax, esi
je 0x40d901
push eax
call ebx
test eax, eax
je 0x40d901
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x418d64]
call ebx
test eax, eax
je 0x40d91c
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40d91e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040658e
leave
ret
Function at 0x407d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x407e13
cmp byte [esi + 0x3d], 0
je 0x407e13
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x407dc9
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 0x407ddb
sub eax, 1
je 0x407ddf
sub eax, 2
je 0x407e13
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478588
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x407dfc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006c2dae
add esp, 0x10
cmp edi, eax
jne 0x407dc9
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478588
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00478588
mov esp, ebp
pop ebp
ret
Function at 0x407f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x4c], 0
jne 0x407f91
xor edi, edi
jmp 0x40801b
cmp dword [esi + 0x38], 0
je 0x408000
cmp byte [esi + 0x3d], 0
je 0x408000
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x407fd2
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 0x407fd6
sub eax, 1
je 0x407fda
sub eax, 2
je 0x408000
xor al, al
jmp 0x408002
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x407ff7
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.006c2dae
add esp, 0x10
cmp edi, eax
jne 0x407fd2
cmp byte [esi + 0x3d], 0
sete al
jmp 0x408002
mov al, 1
push dword [esi + 0x4c]
xor edi, edi
test al, al
cmovne edi, esi
call fcn.006c2af6
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 [0x181e0d8]
mov dword [esi + 0x40], ecx
mov ecx, dword [0x181e0dc]
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x38], 0
xor ecx, ebp
pop esi
call fcn.00478588
mov esp, ebp
pop ebp
ret
Function at 0x418bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7f54c6
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x908074]
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 [0x8cdab8]
mov cx, word [0x8cdac8]
mov word [ebp - 0x24], cx
movups xmmword [ebp - 0x34], xmm0
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x34], ax
inc esi
cmp esi, 9
jl 0x418c31
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x34]
push eax
call fcn.005b52ea
lea ecx, [ebp - 0xb8]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b5224
cmp byte [ebp - 0x13d], 0
je 0x418d16
lea ecx, [edi + 0x7f0]
call fcn.0044d6c0
test eax, eax
je 0x418dcb
mov eax, dword [0x181e118]
cmp dword [eax + 0x5ec], 4
jne 0x418cc0
push 1
lea ecx, [edi + 0x7f0]
call fcn.0044da80
mov eax, dword [0x181e118]
mov ecx, dword [eax + 0x84c]
cmp ecx, 1
jne 0x418cdc
push 0x2bc
mov ecx, edi
call fcn.005bb5b0
jmp 0x418dcb
cmp ecx, 2
mov ecx, edi
jne 0x418cf2
push 0x320
call fcn.005bb5b0
jmp 0x418dcb
cmp dword [eax + 0x5ec], 4
jne 0x418d07
push 0x64
call fcn.005bb5b0
jmp 0x418dcb
push 0x384
call fcn.005bb5b0
jmp 0x418dcb
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 [0x8cdab0]
movq xmm0, qword [0x8cdaa8]
mov dword [ebp - 0x18], ecx
mov cx, word [0x8cdab4]
movq qword [ebp - 0x20], xmm0
mov word [ebp - 0x14], cx
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x20], ax
inc esi
cmp esi, 7
jl 0x418d60
mov ecx, dword [ebp - 0x144]
lea eax, [ebp - 0x20]
push eax
call fcn.005b52ea
lea ecx, [ebp - 0x13c]
mov byte [ebp - 0x13d], al
mov dword [ebp - 4], 0xffffffff
call fcn.005b5224
cmp byte [ebp - 0x13d], 0
je 0x418dcb
push 0
push 0xf020
push 0x112
mov ecx, edi
call fcn.005bb890
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.00478588
mov esp, ebp
pop ebp
ret 4
Function at 0x41d7c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x8ce334]
mov eax, dword [0x8ce34c]
xor ecx, ecx
cmp dword [0x1813edc], 2
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0xc], eax
movq xmm0, qword [0x8ce344]
mov ax, word [0x8ce350]
movq qword [ebp - 0x14], xmm0
mov word [ebp - 8], ax
jl 0x41d8fb
movaps xmm2, xmmword [0x8d1c60]
mov eax, 4
movaps xmm4, xmmword [0x8d1ce0]
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
movd xmm5, eax
mov eax, 0x1f
psrad xmm1, xmm5
movaps xmm0, xmm1
movd xmm6, eax
mov eax, 0x8ce334
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x8d1c70]
paddd xmm2, xmmword [0x8d1c60]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
paddw xmm1, xmmword [0x8d1cb0]
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
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm6
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x8d1c80]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [ebp - 0x1c]
paddw xmm1, xmmword [0x8d1cb0]
pxor xmm1, xmm0
movq qword [ebp - 0x1c], xmm1
push esi
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
mov eax, 1
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
sub eax, esi
imul eax, eax, 0x35
add eax, ecx
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
cmp ecx, 0xf
jl 0x41d900
cmp dword [0x181e254], 8
lea eax, [ebp - 0x24]
mov edx, 0x181e240
mov ecx, 0x80000001
cmovae edx, dword [0x181e240]
push 0x180a8f0
push eax
call fcn.004108b0
mov ecx, dword [ebp - 4]
xor eax, eax
add esp, 8
cmp dword [0x180a900], eax
setne al
xor ecx, ebp
pop esi
call fcn.00478588
mov esp, ebp
pop ebp
ret
Function at 0x42ab00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x8d022e], 0
movups xmm0, xmmword [0x8d021c]
mov eax, dword [0x8d022c]
push edi
mov edi, dword [ecx + 0x858]
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], eax
je 0x42ab69
push esi
xor esi, esi
nop word [eax + eax]
mov eax, 0x4d4873ed
imul esi
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
imul eax, eax, 0x35
add eax, esi
xor word [ebp + esi*2 - 0x18], ax
inc esi
cmp esi, 0xa
jl 0x42ab40
pop esi
cmp dword [0x181e26c], 8
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], edi
mov ecx, 0x181e258
cmovae ecx, dword [0x181e258]
push edx
push ecx
push 0x80000001
call dword [0x80f6f0]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.00478588
mov esp, ebp
pop ebp
ret
Function at 0x43da80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x908074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x8cf370]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov ax, word [0x8cf374]
mov word [ebp - 8], ax
mov al, byte [0x8cf376]
mov byte [ebp - 6], al
nop dword [eax]
mov eax, 0x4d4873ed
imul ecx
mov eax, edx
sar eax, 4
mov edx, eax
shr edx, 0x1f
add edx, eax
mov al, 1
sub al, dl
movsx eax, al
imul eax, eax, 0x35
add al, cl
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 7
jl 0x43dab0
push 0xf
lea eax, [ebp - 0xc]
push eax
call fcn.00440280
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00478588
mov esp, ebp
pop ebp
ret
Function at 0x5bdf06
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 + 0x841488]
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 + 0x841488]
mov dword [edx + 8], ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x5c03cd
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x5c048c
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 + 0x841488]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
sub edi, 1
jne 0x5c03e5
pop edi
test esi, esi
je 0x5c04a8
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x841488]
inc edx
sub esi, 1
jne 0x5c0490
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x5d0f5b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x5d0f89
cmp eax, edi
jge 0x5d0f7d
push esi
call fcn.005cc5cd
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x5d0fac
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x5d0f92
mov dword [esi + 8], edx
jmp 0x5d0fc1
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x5d0fb7
xor dl, dl
jmp 0x5d0fbc
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x5d0fac
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x5d0ff9
push str.zlib_corrupt
call fcn.005cc4f2
pop ecx
jmp 0x5d1039
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x5d1009
push str.read_past_buffer
jmp 0x5d0ff1
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x5d1023
push edi
push ecx
push esi
call fcn.005d422c
add esp, 0xc
test eax, eax
je 0x5d1039
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.006b9020
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

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

Disassembly:
cmp byte [0x1817b8f], 0
jne 0x602973
push esi
push 0x84a750
call fcn.0060cdd6
mov dword [esp], 0x84a5cc
call fcn.0060cdd6
mov dword [esp], 0x84a848
call fcn.0060cdd6
mov dword [esp], 0x84a86c
call fcn.0060cdd6
mov dword [esp], 0x84a774
call fcn.0060cdd6
mov esi, 0x84a630
push esi
call fcn.00616f6a
push esi
call fcn.00616f6a
push 0x84a650
call fcn.00616f6a
push 0x84a670
call fcn.00616f6a
push 0x84a798
call fcn.00616f6a
push 0x84a5f0
call fcn.00616f6a
push 0x84a610
call fcn.00616f6a
push 0x84a7f0
call fcn.00616f6a
push 0x84a810
call fcn.00616f6a
add esp, 0x28
mov byte [0x1817b8f], 1
pop esi
jmp 0x61f2ba
ret
xor edx, edx
push esi
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x61f2c2
mov dword [edx*4 + 0x181e520], ecx
inc edx
cmp edx, 0x100
jb 0x61f2bd
mov esi, 0x800
jmp 0x61f30a
mov ecx, dword [edx*4 + 0x181e120]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x181e520]
mov dword [edx*4 + 0x181e520], ecx
inc edx
cmp edx, esi
jb 0x61f2ee
mov eax, 0x7f4110
mov esi, 0x7f4030
mov dword [0x181e508], eax
mov dword [0x181e500], eax
mov dword [0x181e504], esi
call fcn.00636cc5
mov ecx, dword [0x181e500]
test eax, eax
cmove ecx, esi
mov dword [0x181e500], ecx
pop esi
ret
Function at 0x612bf3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7faa30
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x908074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x30]
mov dword [esi], 0x84bcc0
push 0x90908c
push eax
mov dword [esi + 4], 0x84bcd8
mov dword [esi + 8], 0x84bcec
mov dword [esi + 0xc], 0x84bd00
mov dword [esi + 0x10], 0x84bd18
mov dword [esi + 0x14], 0x84bd30
mov dword [esi + 0x18], 0x84bd44
call fcn.006301ae
push dword [esi + 0x24]
call fcn.004787d2
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x612c72
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret