joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5290d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620934
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x653af8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
inc dword [0x65a098]
mov eax, dword [0x65a094]
test eax, eax
jne 0x52929b
push 0x34
call fcn.006024b7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x529291
push 0x34
push 0
push esi
call fcn.006046d0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push 0x494624
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x494630
push eax
mov dword [esi + 4], eax
call edi
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52922a
push 0x49464c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
test eax, eax
je 0x52922a
push 0x49465c
push eax
call edi
mov dword [esi + 0x14], eax
test eax, eax
je 0x52922a
push 0x494678
push dword [esi]
call edi
mov dword [esi + 0x18], eax
test eax, eax
je 0x52922a
push 0x494688
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
test eax, eax
je 0x52922a
push 0x494698
push dword [esi]
call edi
mov dword [esi + 0x20], eax
test eax, eax
je 0x52922a
push 0x4946a8
push dword [esi]
call edi
mov dword [esi + 0x24], eax
test eax, eax
je 0x52922a
push 0x4946b8
push dword [esi]
call edi
push 0x4946c8
push dword [esi]
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x30], eax
jmp 0x529293
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x529269
push eax
call edi
mov dword [esi], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x529293
push eax
call edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x529293
xor esi, esi
mov dword [0x65a094], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5296e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0xffffffff
je 0x52980b
call fcn.00520e60
test al, al
je 0x52980b
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.005207f0
cmp dword [edi + 0x14], 0
mov dword [ebp - 4], 0
jne 0x52974d
xor eax, eax
jmp 0x529758
cmp dword [edi + 0x18], 0x10
lea eax, [edi + 4]
jb 0x529758
mov eax, dword [eax]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0x440
jb 0x529798
mov ecx, dword [ecx]
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
jne 0x5297b1
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x5297bc
cmp dword [ebx + 0x18], 0x10
lea eax, [ebx + 4]
jb 0x5297bc
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x4c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x5297e2
lea ecx, [ebp - 0x2c]
xor bl, bl
call fcn.004ba6a0
mov al, bl
jmp 0x52980d
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x5297f4
push dword [ebp - 0x30]
call eax
mov dword [esi + 0x1c], eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
mov bl, 1
call fcn.004ba6a0
mov al, bl
jmp 0x52980d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00602a00
mov esp, ebp
pop ebp
ret 8
Function at 0x52a8d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620cc3
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
shr eax, 0xe
and al, 1
je 0x52aa96
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 4]
call fcn.00521f80
mov edi, dword [ebp - 0x18]
mov eax, 0x92492493
mov esi, dword [ebp - 0x1c]
mov ecx, edi
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x52aa36
lea ecx, [ebp - 0x5c]
call fcn.005204d0
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp edi, dword [ebp - 0x18]
je 0x52aa28
nop
push edi
lea ecx, [ebp - 0x12c]
call fcn.00520440
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x5c]
call fcn.005206c0
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 1
call fcn.004ba6a0
lea ecx, [ebp - 0x5c]
call fcn.00520e30
test al, al
jne 0x52aa1c
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0x494750
xor esi, 0x4000
movups xmmword [ebp - 0x30], xmm0
call fcn.00520440
mov dword [ebp - 0x20], 0
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0052a8d0
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 0x494750
test ecx, ecx
je 0x52aa14
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x3c]
call fcn.004ba6a0
add edi, 0x1c
cmp edi, dword [ebp - 0x18]
jne 0x52a980
lea ecx, [ebp - 0x5c]
call fcn.004ba6a0
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 4
test esi, esi
je 0x52aa79
cmp esi, edi
je 0x52aa57
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x52aa45
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
lea ecx, [ebp - 0x1c]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.004c2730
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.00602a00
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x52aaa1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x52aa79
push 0xac
lea ecx, [ebp - 0x108]
call fcn.004c1d80
call fcn.0051f920
push eax
call fcn.0051f920
push eax
call fcn.0051f920
push eax
call fcn.0051f920
push eax
push 0x3ec
lea ecx, [ebp - 0x108]
call fcn.005203e0
mov dword [ebp - 4], 5
call sub.KERNEL32.dll_GetLastError
push eax
lea ecx, [ebp - 0x108]
call fcn.0052b1d0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x108]
call fcn.00521e70
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00520340
push 0x637d44
lea eax, [ebp - 0x1d8]
push eax
call fcn.00603d27
int3
Function at 0x52ab40
Capabilities:
Delete file

Disassembly:
add ecx, 8
cmp dword [ecx + 0x14], 0x10
jb 0x52ab4b
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
ret

Function at 0x52d540
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6212be
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0x10]
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
push 0x494900
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x41], bl
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
test edi, edi
je 0x52d6b1
cmp dword [esi + 0x10], ebx
jne 0x52d5dd
mov edx, dword [0x64d294]
mov ecx, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], bl
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52d5b8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.004c22a0
mov ebx, 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], ebx
lea esi, [ebp - 0x68]
push esi
lea ecx, [ebp - 0x40]
call fcn.004b8960
mov dword [ebp - 4], 2
test bl, 1
je 0x52d62e
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x52d62e
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
mov byte [ebp - 4], 3
cmp edx, 0x1000
jb 0x52d620
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52d6d0
push edx
push ecx
call fcn.006024e7
add esp, 8
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0052cac0
add esp, 8
push dword [ebp - 0x4c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
test eax, eax
push edi
setne byte [ebp - 0x41]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x52d681
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004c2530
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
cmp ecx, 0x10
jb 0x52d6b1
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004c24c0
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00602a00
mov esp, ebp
pop ebp
ret
call fcn.0053accc
int3
Function at 0x52f910
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6215a1
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x653af8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x65ba6c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x65a0e4]
cmp eax, dword [ecx + 0x10]
jg 0x52f975
mov eax, 0x64d358
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00602a00
mov esp, ebp
pop ebp
ret
push 0x65a0e4
call fcn.0060292a
add esp, 4
cmp dword [0x65a0e4], 0xffffffff
jne 0x52f957
push 0x190
lea eax, [ebp - 0x1a0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.006046d0
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x62dc00
mov dword [0x64d358], eax
call fcn.006027d4
push 0x65a0e4
call fcn.006028e0
add esp, 8
jmp 0x52f957

Function at 0x52fc60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], ecx
push ebp
mov ebp, dword [esp + 0x40]
push esi
test ebx, ebx
je 0x52fd9a
test ecx, ecx
je 0x52fd9a
mov esi, dword [esp + 0x40]
cmp esi, 0x10
jbe 0x52fd9a
test ebp, ebp
je 0x52fd9a
push edi
mov edi, esi
mov eax, 0x10
and edi, 0xf
cmove edi, eax
cmp esi, 0x20
jbe 0x52fce4
cmp edi, eax
mov edx, 0x20
push ebp
cmove eax, edx
and esi, 0xfffffff0
sub esi, eax
mov eax, dword [ebx + 0x1c]
push esi
push ecx
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebp, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
lea eax, [ecx + 0x10]
push edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00604150
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
mov eax, dword [ebx + 0x14]
push ebx
call eax
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x52fd1d
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x14]
xor byte [esp + ecx + 0x24], al
inc ecx
cmp ecx, edi
jb 0x52fd10
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.00604150
add esp, 0xc
test edi, edi
je 0x52fd85
mov eax, 0x10
sub eax, edi
push eax
lea eax, [esp + 0x28]
add eax, edi
push eax
lea eax, [esp + 0x1c]
add eax, edi
push eax
call fcn.00604150
lea eax, [esp + 0x20]
push eax
push eax
mov eax, dword [ebx + 0x14]
push ebx
call eax
mov eax, dword [ebx + 0x28]
add esp, 0x18
xor eax, dword [esp + 0x14]
mov dword [ebp], eax
mov ecx, dword [ebx + 0x2c]
xor ecx, dword [esp + 0x18]
mov dword [ebp + 4], ecx
mov ecx, dword [ebx + 0x30]
xor ecx, dword [esp + 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebx + 0x34]
xor ecx, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
Function at 0x52fdb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], eax
push edi
mov edi, dword [esp + 0x3c]
test ebp, ebp
je 0x52fef3
test edi, edi
je 0x52fef3
test ebx, ebx
je 0x52fef3
test eax, eax
je 0x52fef3
push esi
cmp eax, 0x10
jae 0x52fe32
mov esi, 0x10
sub esi, eax
add eax, 0x28
add eax, ebp
push esi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00604150
push dword [esp + 0x1c]
lea eax, [esp + 0x34]
add eax, esi
push edi
push eax
call fcn.00604150
movups xmm0, xmmword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add esp, 0x18
jmp 0x52fe37
movups xmm0, xmmword [eax + edi - 0x10]
mov esi, eax
lea ecx, [ebp + 0x28]
shr esi, 4
movups xmmword [esp + 0x14], xmm0
test esi, esi
je 0x52fe95
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
movups xmm0, xmmword [edi]
lea ecx, [ebp + 0x28]
add esp, 0xc
movups xmmword [ecx], xmm0
mov eax, dword [edi]
xor eax, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, dword [edi + 4]
xor eax, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x2c]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
xor eax, dword [esp + 0x30]
mov dword [ebx + 0xc], eax
add ebx, 0x10
sub esi, 1
jne 0x52fe48
mov eax, dword [esp + 0x10]
mov esi, eax
and esi, 0xf
je 0x52fed7
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push ebp
call eax
add esp, 0xc
xor edx, edx
test esi, esi
je 0x52fed3
lea eax, [esp + 0x24]
sub edi, eax
sub ebx, eax
nop dword [eax]
lea ecx, [esp + 0x24]
add ecx, edx
inc edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, esi
jb 0x52fec0
mov eax, dword [esp + 0x10]
movups xmm0, xmmword [esp + 0x14]
pop esi
pop edi
movups xmmword [ebp + 0x28], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x30]
xor eax, eax
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
Function at 0x530090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
push edi
mov edi, esi
mov dword [esp + 0x10], ecx
and edi, 0xf
test ebp, ebp
je 0x5301bf
cmp esi, 0x10
jbe 0x5301bf
mov eax, esi
and eax, 0xfffffff0
cmp eax, 0x10
jbe 0x5300f8
mov eax, dword [ebp + 0x18]
and esi, 0xfffffff0
push ebx
sub esi, 0x10
push esi
push ecx
push ebp
call eax
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, esi
add ebx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp + 0x28]
xor eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
xor eax, dword [ebp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0xc]
xor eax, dword [ebp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
add esp, 0xc
test edi, edi
je 0x53019a
mov eax, dword [esp + 0x10]
add eax, 0x10
push edi
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00604150
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.00604150
add esp, 0x18
xor ecx, ecx
test edi, edi
je 0x53016d
nop dword [eax]
mov al, byte [esp + ecx + 0x24]
xor byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edi
jb 0x530160
lea edi, [ebp + 0x28]
push edi
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ebp
call eax
movups xmm0, xmmword [edi]
add esp, 0xc
mov eax, esi
movups xmmword [ebx], xmm0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
movups xmm0, xmmword [ebx - 0x10]
pop edi
mov eax, esi
movups xmmword [ebx], xmm0
pop esi
movups xmm0, xmmword [esp + 0xc]
pop ebp
movups xmmword [ebx - 0x10], xmm0
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x28
ret
Function at 0x5301e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test ebx, ebx
je 0x530345
mov esi, dword [esp + 0x38]
test esi, esi
je 0x530345
test edi, edi
je 0x530345
mov eax, ebp
lea ecx, [ebx + 0x28]
shr eax, 4
test eax, eax
je 0x53027d
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
mov eax, dword [esi]
lea ecx, [ebx + 0x28]
xor eax, dword [esp + 0x28]
add esp, 0xc
mov dword [edi], eax
mov eax, dword [esi + 4]
xor eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [esp + 0x24]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
add esi, 0x10
xor eax, dword [esp + 0x28]
mov dword [edi + 0xc], eax
movups xmm0, xmmword [edi]
add edi, 0x10
movups xmmword [ecx], xmm0
sub ebp, 1
jne 0x530230
mov ebp, dword [esp + 0x10]
and ebp, 0xf
je 0x53032c
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push ebx
call eax
add esp, 0xc
xor edx, edx
test ebp, ebp
je 0x5302c7
lea eax, [esp + 0x1c]
sub esi, eax
lea ecx, [esp + 0x1c]
mov eax, edi
sub eax, ecx
mov dword [esp + 0x14], eax
mov ebx, eax
nop
lea ecx, [esp + 0x1c]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [ebx + ecx], al
cmp edx, ebp
jb 0x5302b0
mov ebx, dword [esp + 0x18]
add edi, ebp
lea ecx, [ebx + 0x28]
mov ebp, dword [esp + 0x10]
cmp ebp, 0x10
jae 0x530310
mov esi, 0x10
lea eax, [ebp + 0x28]
sub esi, ebp
add eax, ebx
push esi
push eax
push ecx
call fcn.00604150
push ebp
sub edi, ebp
lea eax, [esi + 0x28]
add eax, ebx
push edi
push eax
call fcn.00604150
add esp, 0x18
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00602a00
add esp, 0x20
ret
movups xmm0, xmmword [edi - 0x10]
pop edi
pop esi
mov eax, ebp
pop ebp
movups xmmword [ecx], xmm0
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00602a00
add esp, 0x20
ret
mov ebp, dword [esp + 0x10]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00602a00
add esp, 0x20
ret
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00602a00
add esp, 0x20
ret
Function at 0x530650
Capabilities:
Generate random numbers via winapi

Disassembly:
sub esp, 0xc4
mov eax, dword [0x653af8]
xor eax, esp
mov dword [esp + 0xc0], eax
push esi
mov esi, dword [esp + 0xcc]
lea eax, [esp + 0x41]
push 0x3f
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push 0
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x48], 0
movq qword [esp + 0x40], xmm0
mov byte [esp + 0x4c], 0
call fcn.006046d0
add esp, 0xc
mov dword [esp + 0x80], 0
test esi, esi
je 0x53080f
lea eax, [esp + 0x14]
push eax
call fcn.00531300
add esp, 4
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x530711
push 2
call fcn.00541738
push eax
push 0x494a20
call fcn.0054294f
add esp, 0xc
jmp 0x53074a
lea eax, [esp + 0x84]
push eax
push 0x20
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x53073e
push 2
call fcn.00541738
push eax
push 0x494a40
call fcn.0054294f
add esp, 0xc
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00531340
add esp, 0xc
mov dword [esp + 4], 0
lea eax, [esp + 4]
mov dword [esp + 8], 0
xorps xmm0, xmm0
movlpd qword [esp + 0xc], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x5307cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
call fcn.0053fa12
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
push 0x20
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00531340
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.00531210
push 0x20
lea eax, [esp + 0xbc]
push eax
push esi
call fcn.00530830
add esp, 0x20
mov dword [esi + 0x24], 1
mov ecx, dword [esp + 0xc4]
pop esi
xor ecx, esp
call fcn.00602a00
add esp, 0xc4
ret