joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42acf0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e6051
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x52610c]
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 ebx, edx
mov esi, ecx
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x42ad61
mov eax, dword [ebx]
jmp 0x42ad63
mov eax, ebx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c7c8e
push 0x5085a8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004c771b
add esp, 0x18
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42adc2
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x42aeb1
test byte [ebp - 0x498], 0x10
je 0x42ae76
cmp word [ebp - 0x46c], 0x2e
je 0x42ae76
push 0x507d60
mov edx, ebx
lea ecx, [ebp - 0x248]
call fcn.0042c4b0
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.00414c90
add esp, 8
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 2
call fcn.00420c90
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42ae38
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00403f90
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x42ae76
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403f90
lea eax, [ebp - 0x498]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42adc2
test edi, edi
je 0x42ae97
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x4a4]
mov dword [esi], eax
mov eax, dword [ebp - 0x4a0]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x49c]
mov dword [esi + 8], eax
mov eax, esi
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.004a04d5
mov esp, ebp
pop ebp
ret
Function at 0x42b1b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 0x3e002e
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x30], 0x34005a
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2e]
xor eax, ecx
mov dword [ebp - 0x28], 0x360036
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x2c]
xor eax, ecx
mov dword [ebp - 0x24], 0x3e0074
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov dword [ebp - 0x20], 0x360036
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x20]
xor eax, ecx
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x1e]
xor eax, ecx
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x1a]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.RtlGetNtVersionNumbers
xorps xmm0, xmm0
mov dword [ebp - 0x1e], 0
push eax
movups xmmword [ebp - 0x2e], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b28e
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x38]
push ecx
call eax
cmp dword [ebp - 0x38], 0xa
movzx eax, word [ebp - 0x34]
jne 0x42b2af
cmp eax, 0x4e20
jbe 0x42b2af
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
Function at 0x42b2c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e611d
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x52610c]
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 ebx, edx
mov dword [ebp - 0x438], ebx
mov edi, ecx
mov dword [ebp - 0x43c], edi
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x440], 0
push 0
mov dword [ebp - 0x448], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00410a70
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x418]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x440], 1
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x444], 0x104
lea eax, [ebp - 0x468]
mov dword [ebp - 0x434], 0
push eax
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x42b4ba
xor esi, esi
cmp dword [ebp - 0x434], esi
jbe 0x42b4ba
nop dword [eax]
lea eax, [ebp - 0x468]
mov dword [ebp - 0x43c], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42b4ad
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], eax
mov word [ebp - 0x430], ax
cmp word [ebp - 0x210], ax
je 0x42b43f
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b430
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x430]
call fcn.00403e20
mov dword [ebp - 4], 1
lea eax, [ebp - 0x430]
mov ebx, dword [edi]
push eax
push dword [ebx + 4]
push ebx
call fcn.00414de0
mov ecx, eax
mov eax, 0x7fffffe
sub eax, dword [edi + 4]
cmp eax, 1
jb 0x42b4d8
inc dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ecx + 4]
mov byte [ebp - 4], 0
mov dword [eax], ecx
mov eax, dword [ebp - 0x41c]
cmp eax, 8
jb 0x42b4a7
inc eax
lea ecx, [ebp - 0x430]
push eax
push dword [ebp - 0x430]
call fcn.00403f90
mov ebx, dword [ebp - 0x438]
inc esi
cmp esi, dword [ebp - 0x434]
jb 0x42b3d0
mov eax, edi
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.004a04d5
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call fcn.0049cede
int3
Function at 0x42b4f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x150]
push edi
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x5085cc
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x42b574
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop word [eax + eax]
push 0x507ca8
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42b638
push 0x5085d0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42b638
push edi
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test byte [esp + 0x10], 0x10
je 0x42b5f5
lea ecx, [esp + 0x150]
call fcn.0042b4f0
jmp 0x42b632
lea eax, [esp + 0x150]
push eax
call ebx
test eax, eax
je 0x42b607
xor esi, esi
jmp 0x42b638
push 0x80
lea eax, [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call ebx
test eax, eax
je 0x42b62c
xor esi, esi
jmp 0x42b638
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x42b64f
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x42b580
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x42b674
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
call esi
test eax, eax
jne 0x42b55d
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x42b6b0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffff8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
call esi
test eax, eax
jne 0x42b55d
call ebx
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
Function at 0x42dcc0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x42dce8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x42dcf0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x42dd09
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x42dd11
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x42dd2a
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x42dd32
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x42dd4b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x42dd53
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x42dd94
add dword [esp], 5
retf

Function at 0x42de20
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test ecx, ecx
je 0x42de92
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test ecx, ecx
jne 0x42de41
test eax, eax
je 0x42de92
test edx, edx
je 0x42de92
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
push 0x33
call fcn.0042de52
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42dea0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x5f4
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x48], ecx
push edi
movlpd qword [ebp - 0x28], xmm0
push 0x33
call fcn.0042deda

Function at 0x42e240
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5d8
push ebx
push esi
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x10], xmm0
push 0x33
call 0x42e25b
add dword [esp], 5
retf
Function at 0x42e5f0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52e980]
mov edx, dword [0x52e984]
push esi
push edi
test eax, eax
jne 0x42e662
test edx, edx
jne 0x42e662
mov dword [ebp - 0x30], 9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0x6496cd11
mov dword [ebp - 0x28], 0x44514967
mov dword [ebp - 0x24], 0x7d6438a8
movaps xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
call fcn.0042dea0
mov dword [0x52e980], eax
mov dword [0x52e984], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], eax
test eax, eax
jne 0x42e67a
test edx, edx
je 0x42ea03
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x15c], edx
push 0x33
call 0x42e699
add dword [esp], 5
retf
xor eax, eax
xor edx, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x42ea60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x52e990]
test eax, eax
je 0x42ea87
mov ecx, dword [0x52e97c]
test ecx, ecx
jne 0x42ebc2
xor eax, eax
mov dword [ebp - 0x2c], 0x690079
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x30], 0x63000d
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2e]
xor eax, ecx
mov dword [ebp - 0x28], 0x610061
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x2c]
xor eax, ecx
mov dword [ebp - 0x24], 0x690023
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x2a]
xor eax, ecx
mov dword [ebp - 0x20], 0x610061
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x28]
xor eax, ecx
mov word [ebp - 0x14], ax
mov eax, dword [ebp - 0x26]
xor eax, ecx
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x24]
xor eax, ecx
mov word [ebp - 0x10], ax
mov eax, dword [ebp - 0x22]
xor eax, ecx
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x20]
xor eax, ecx
mov word [ebp - 0xc], ax
mov eax, dword [ebp - 0x1e]
xor eax, ecx
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x1a]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xorps xmm0, xmm0
mov dword [ebp - 0x1e], 0
movups xmmword [ebp - 0x2e], xmm0
mov edi, eax
mov dword [ebp - 0x50], 0x7b7b4c7a
movaps xmm0, xmmword [0x50cb80]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x4c], 0x7b66
mov byte [ebp - 0x4a], 0
mov al, byte [ebp + ecx - 0x5f]
xor al, byte [ebp - 0x60]
mov byte [ebp + ecx - 0x49], al
inc ecx
cmp ecx, 0x15
jb 0x42eb43
lea eax, [ebp - 0x49]
mov byte [ebp - 0x34], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
movaps xmm0, xmmword [0x50cb50]
mov dword [0x52e990], eax
xor eax, eax
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x21f1f28
mov word [ebp - 0x4c], 0x1f
mov cl, byte [ebp + eax - 0x5f]
xor cl, byte [ebp - 0x60]
mov byte [ebp + eax - 0x4a], cl
inc eax
cmp eax, 0x14
jb 0x42eb82
lea eax, [ebp - 0x4a]
mov byte [ebp - 0x36], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [ebp - 0x4f], 0
mov eax, dword [0x52e990]
xorps xmm0, xmm0
mov dword [0x52e97c], ecx
movups xmmword [ebp - 0x5f], xmm0
mov byte [ebp - 0x4b], 0
pop edi
test eax, eax
je 0x42ebd6
test ecx, ecx
je 0x42ebd6
push dword [ebp + 8]
call eax
push eax
call dword [0x52e97c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
Function at 0x42ecd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [0x52e9a0]
mov ebx, ecx
mov ecx, dword [0x52e9a4]
push edi
mov edi, edx
test esi, esi
jne 0x42ed63
test ecx, ecx
jne 0x42ed63
movaps xmm0, xmmword [0x50c9a0]
xor eax, eax
movups xmmword [esp + 0x20], xmm0
mov dword [esp + 0x30], 0x3d153439
mov dword [esp + 0x34], 0x212a3735
mov byte [esp + 0x38], cl
mov cl, byte [esp + eax + 0x21]
xor cl, byte [esp + 0x20]
mov byte [esp + eax + 0x39], cl
inc eax
cmp eax, 0x17
jb 0x42ed21
mov byte [esp + 0x50], 0
call fcn.0042e580
push edx
push eax
lea ecx, [esp + 0x41]
call fcn.0042ebf0
mov esi, eax
add esp, 8
mov dword [0x52e9a0], esi
mov ecx, edx
mov dword [0x52e9a4], ecx
test esi, esi
jne 0x42ed63
test ecx, ecx
je 0x42edd3
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], edi
push 0
push 0x3000
cdq
xorps xmm0, xmm0
push edx
push eax
push 0
push 0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x30], xmm0
cdq
push edx
push eax
mov eax, ebx
mov dword [esp + 0x44], 0
cdq
push edx
push eax
push 6
push ecx
push esi
call fcn.0042dcc0
add esp, 0x3c
test eax, eax
jne 0x42edc9
test edx, edx
jne 0x42edc9
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea60
add esp, 8
mov ecx, dword [esp + 0x54]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
xor edx, edx
call fcn.004a04d5
mov esp, ebp
pop ebp
ret

Function at 0x42edf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x52610c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x52e9a8]
mov ebx, ecx
mov ecx, dword [0x52e9ac]
push edi
mov edi, edx
test esi, esi
jne 0x42ee71
test ecx, ecx
jne 0x42ee71
movaps xmm0, xmmword [0x50cb00]
xor eax, eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x4b405d5f
mov byte [ebp - 0x1c], cl
mov cl, byte [ebp + eax - 0x2f]
xor cl, byte [ebp - 0x30]
mov byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0x13
jb 0x42ee32
mov byte [ebp - 8], 0
call fcn.0042e580
push edx
push eax
lea ecx, [ebp - 0x1b]
call fcn.0042ebf0
mov esi, eax
add esp, 8
mov dword [0x52e9a8], esi
mov ecx, edx
mov dword [0x52e9ac], ecx
test esi, esi
jne 0x42ee71
test ecx, ecx
je 0x42eed1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
push 0x3000
cdq
push edx
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], edi
cdq
push edx
push eax
mov eax, ebx
mov dword [ebp - 0x34], 0
cdq
push edx
push eax
push 4
push ecx
push esi
call fcn.0042dcc0
add esp, 0x2c
test eax, eax
jne 0x42eec7
test edx, edx
jne 0x42eec7
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea60
add esp, 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
Function at 0x42eef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x52610c]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, dword [0x52e988]
mov ebx, edx
push edi
mov edi, ecx
mov ecx, dword [0x52e98c]
test esi, esi
jne 0x42ef82
test ecx, ecx
jne 0x42ef82
movaps xmm0, xmmword [0x50c8b0]
xor eax, eax
movups xmmword [esp + 0x18], xmm0
mov dword [esp + 0x28], 0x263b3931
mov word [esp + 0x2c], 0x2d
nop dword [eax]
mov cl, byte [esp + eax + 0x19]
xor cl, byte [esp + 0x18]
mov byte [esp + eax + 0x2e], cl
inc eax
cmp eax, 0x14
jb 0x42ef40
mov byte [esp + 0x42], 0
call fcn.0042e580
push edx
push eax
lea ecx, [esp + 0x36]
call fcn.0042ebf0
mov esi, eax
add esp, 8
mov dword [0x52e988], esi
mov ecx, edx
mov dword [0x52e98c], ecx
test esi, esi
jne 0x42ef82
test ecx, ecx
je 0x42efda
lea eax, [esp + 0x10]
xorps xmm0, xmm0
cdq
push edx
push eax
push 0
push dword [ebp + 0x10]
mov eax, ebx
movlpd qword [esp + 0x20], xmm0
cdq
push edx
push eax
push dword [ebp + 0xc]
mov eax, edi
push dword [ebp + 8]
cdq
push edx
push eax
push 5
push ecx
push esi
call fcn.0042dcc0
add esp, 0x34
test eax, eax
jne 0x42efd0
test edx, edx
jne 0x42efd0
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret
push edx
push eax
call fcn.0042ea60
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a04d5
mov esp, ebp
pop ebp
ret

Function at 0x42f070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov ecx, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
cmp dword [ebp + 0x10], ebx
jbe 0x42f0c9
mov edx, dword [ebp + 8]
shl edx, 8
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0x500
push esi
mov eax, dword [ebp + 0xc]
add ecx, edi
mov al, byte [ebx + eax]
inc ebx
movsx esi, al
lea eax, [esi + edx]
cdq
idiv dword [ebp - 4]
mov eax, edi
shl eax, 5
add eax, esi
add eax, edi
xor ecx, dword [edx*4 + 0x502798]
mov edx, dword [ebp + 8]
lea edi, [ecx + 3]
add edi, eax
cmp ebx, dword [ebp + 0x10]
jb 0x42f098
pop esi
pop edi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43f680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e87fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52610c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ebx, [edi + 0x10]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push 0
mov ecx, ebx
mov dword [ebp - 0x14], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
call fcn.00427ee0
mov dword [ebx + 0xc], 0
lea esi, [edi + 0x20]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0
mov ecx, esi
mov dword [ebp - 0x14], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00427ee0
mov dword [esi + 0xc], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43f76e
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00445dc0
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
mov byte [ebp - 0xd], 1
call fcn.00442880
mov dword [ebp - 4], 7
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x43f7b8
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30