joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ba65
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 4], edi
push dword [ebp + 8]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42ba9c
mov eax, dword [ebp - 4]
test eax, eax
je 0x42ba9c
add dword [esi + 0x28], eax
mov dword [esi + 0x34], edi
adc dword [esi + 0x2c], edi
jmp 0x42baa8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffffe
mov dword [esi + 0x34], eax
pop eax
pop edi
pop esi
leave
ret 8

Function at 0x42bbf2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 4], edi
push dword [ebp + 8]
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42bc2c
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
jne 0x42bc2c
add dword [esi + 0x20], eax
mov dword [esi + 0x34], edi
adc dword [esi + 0x24], edi
xor eax, eax
jmp 0x42bc38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xfffffffffffffffe
mov dword [esi + 0x34], eax
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x42da47
Capabilities:
Get file size

Disassembly:
push 0x44
mov eax, 0x4f63a3
call fcn.004cb6c8
mov edi, ecx
call fcn.0042ba08
lea eax, [ebp - 0x2c]
xor ebx, ebx
lea esi, [edi + 4]
mov dword [edi + 0x38], ebx
push eax
mov ecx, esi
mov dword [edi + 0x3c], ebx
call fcn.004427ac
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00440ae9
or ebx, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00440de9
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.004421c4
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00440ae9
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00440de9
lea eax, [edi + 8]
cmp dword [eax + 0x14], 8
jb 0x42dab9
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push dword [edi + 0x40]
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x30], eax
cmp eax, ebx
jne 0x42dae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x34], eax
push 0xfffffffffffffffe
pop eax
jmp 0x42db26
lea ecx, [ebp - 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42db15
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x34], eax
cmp dword [edi + 0x30], ebx
je 0x42db11
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x30], ebx
push 0xfffffffffffffffd
jmp 0x42dae5
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x3c], eax
xor eax, eax
mov byte [edi], 1
call fcn.004cb672
ret
Function at 0x42e6e1
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x50
mov eax, 0x4f663f
call fcn.004cb6c8
mov edi, ecx
call fcn.0042ba08
lea eax, [ebp - 0x30]
lea esi, [edi + 4]
push eax
mov ecx, esi
call fcn.004427ac
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.00440ae9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00440de9
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004421c4
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00440ae9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00440de9
mov byte [ebp - 0x4d], 0
mov ebx, 0x80
cmp byte [ebp + 8], 0
lea esi, [edi + 8]
mov eax, esi
je 0x42e763
cmp dword [esi + 0x14], 8
jb 0x42e75c
mov eax, dword [esi]
push 0
push ebx
push 4
jmp 0x42e770
cmp dword [esi + 0x14], 8
jb 0x42e76b
mov eax, dword [esi]
push 0
push ebx
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi + 0x30], eax
cmp eax, 0xffffffff
jne 0x42e7e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x34], eax
cmp eax, 5
jne 0x42e7dd
cmp byte [ebp - 0x4d], 0
jne 0x42e7dd
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 0x4d], 1
jb 0x42e7aa
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42e7dd
cmp ebx, 0x80
je 0x42e7dd
test bl, 1
je 0x42e749
and ebx, 0xfffffffe
cmp dword [esi + 0x14], 8
jb 0x42e7d0
mov esi, dword [esi]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x42e749
push 0xfffffffffffffffe
pop eax
jmp 0x42e822
cmp byte [ebp + 8], 0
je 0x42e81d
push 2
push 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42e81d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [edi + 0x30]
mov dword [edi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffc
jmp 0x42e7df
mov byte [edi], 1
xor eax, eax
call fcn.004cb672
ret 4

Function at 0x431bef
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 4], 0
and dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret
Function at 0x4329e7
Capabilities:
Create thread

Disassembly:
push 0x1c
mov eax, 0x4f6c76
call fcn.004cb694
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x10], edi
test edi, edi
je 0x432a10
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
add eax, 8
add eax, edi
push eax
call esi
and dword [ebp - 4], 0
lea ebx, [edi + 8]
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x14], 1
mov byte [ebp - 4], 1
cmp byte [edi + 0x20], 0
jne 0x432ae6
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
add eax, 8
add eax, edi
push eax
call esi
lea ecx, [edi + 0x28]
push ecx
push 0
push edi
push 0x4328d6
push dword [ebp + 0xc]
push 0
call fcn.004d7da0
add esp, 0x18
lea ecx, [edi + 0x24]
mov esi, eax
call fcn.00432b22
mov dword [eax + 0xc], esi
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.00432b22
cmp dword [eax + 0xc], 0
jne 0x432aa9
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00431d0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x14e
push str.e:works10820_blowsnow_sourcehiethread.cpp
lea ecx, [ebp - 0x28]
call fcn.00432d14
push 0x538318
mov eax, ecx
jmp 0x432af7
push dword [edi + 0x28]
mov ecx, dword [ebp + 8]
push esi
mov byte [edi + 0x20], 1
call fcn.0043272f
push ebx
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 3
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 4]
add ecx, 4
add ecx, edi
call fcn.00431d0e
mov eax, dword [ebp + 8]
call fcn.004cb65d
ret 8
push ecx
push ecx
lea ecx, [ebp - 0x24]
call fcn.00432e48
push 0x5384e0
mov eax, ecx
push eax
call fcn.004cc939
int3
Function at 0x43528b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
lea edi, [esi + 4]
mov dword [ebp - 4], eax
test eax, eax
jg 0x4352b2
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
inc eax
mov dword [esi], eax
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
jmp 0x4352e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
cmp ecx, ebx
jae 0x4352cc
mov ebx, ecx
jmp 0x4352d9
mov eax, ecx
sub eax, ebx
cmp eax, dword [ebp - 4]
jb 0x4352d9
cmp ecx, ebx
ja 0x4352ee
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x4352bc
jmp 0x4352a8
push 0xffffffffffffff9c
pop eax
jmp 0x4352ad
Function at 0x43c69d
Capabilities:
Get disk size

Disassembly:
push 0x74
mov eax, 0x4f806b
call fcn.004cb6c8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004409a0
xor ebx, ebx
lea ecx, [ebp - 0x64]
push 0x51f584
mov dword [ebp - 4], ebx
call fcn.00440943
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.004412fa
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.00440de9
cmp dword [ebp - 0x18], ebx
jne 0x43c6f7
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x70]
jmp 0x43c78d
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x48]
cmovae eax, dword [ebp - 0x28]
movzx eax, word [eax]
push eax
call fcn.00440376
push 0x51f8f8
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00440943
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x44]
call fcn.0042cfd5
lea ecx, [ebp - 0x64]
call fcn.00440de9
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x43c766
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
mov esi, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x70]
jmp 0x43c785
push ebx
mov esi, 0x400
push esi
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call fcn.004f3af0
push ebx
push esi
push edx
push eax
call fcn.004f3af0
mov edi, eax
mov esi, edx
lea ecx, [ebp - 0x48]
call fcn.00440de9
lea ecx, [ebp - 0x2c]
call fcn.00440de9
mov eax, edi
mov edx, esi
call fcn.004cb672
ret
Function at 0x43e058
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x70], 0
jne 0x43e16f
push esi
push edi
push 0x64
call fcn.004cacc1
and dword [ebp - 0x30], 0
mov esi, eax
push 0
call fcn.004d15d4
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x30]
pop ecx
pop ecx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1c
pop edi
mov dword [esi + 0x18], eax
xor eax, eax
push eax
push 1
push eax
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x43e0dd
cmp dword [ebp - 0x28], 0
je 0x43e0dd
lea eax, [esi + 0x1c]
push eax
push 0x20
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0x3c
pop edi
push 0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [edi + esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [edi + esi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [edi + esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [edi + esi + 0xc], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov dword [edi + esi + 0x10], eax
mov dword [edi + esi + 0x14], ecx
lea ecx, [ebp - 0x2c]
call fcn.0043f8b2
push 0x64
push esi
lea ecx, [ebp - 0x2c]
call fcn.0043f866
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043f885
xor ecx, ecx
lea edx, [ebx + 0x30]
and dword [edx + 4], 0
mov eax, dword [ebp + ecx*4 - 0x24]
inc ecx
mov dword [edx], eax
lea edx, [edx + 8]
cmp ecx, 8
jl 0x43e140
push esi
call fcn.004cacbc
push 0xe8
push dword [ebp - 0x2c]
mov byte [ebx + 0x70], 1
call fcn.004caab3
add esp, 0xc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004caa72
leave
ret
Function at 0x43e28c
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x844
mov eax, 0x4f84e5
call fcn.004cb6c8
mov edi, ecx
and dword [edi], 0
cmp byte [edi + 8], 0
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
je 0x43e37b
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 0x850], 1
push 0
push eax
call fcn.004cd4b0
lea eax, [esi + 4]
mov dword [ebp - 0x84c], 0x800
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43e2e5
mov eax, dword [eax]
lea ecx, [ebp - 0x84c]
push ecx
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x850]
push ecx
push 0
push eax
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
test esi, esi
jne 0x43e34a
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.00440943
and dword [ebp - 4], esi
lea ecx, [ebp - 0x828]
push ecx
lea ecx, [ebx + 4]
call fcn.00443482
lea ecx, [ebp - 0x82c]
call fcn.00440de9
mov al, 1
jmp 0x43e37d
push 0x51f46c
lea ecx, [ebp - 0x848]
call fcn.00440943
lea eax, [ebp - 0x844]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.00443482
lea ecx, [ebp - 0x848]
call fcn.00440de9
xor al, al
call fcn.004cb672
ret 8

Function at 0x43e385
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, ecx
and dword [edi], 0
cmp byte [edi + 8], 0
je 0x43e3db
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x43e3ad
mov eax, dword [eax]
push esi
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push dword [edi + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov dword [edi + 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov dword [edi], eax
pop esi
jne 0x43e3db
mov al, 1
jmp 0x43e3dd
xor al, al
pop edi
leave
ret 8
Function at 0x43e64d
Capabilities:
Encode data using xor

Disassembly:
push 0x1a0
mov eax, 0x4f8518
call fcn.004cb6c8
mov esi, ecx
cmp byte [esi], 0
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
jne 0x43e671
or eax, 0xffffffff
jmp 0x43e7ee
cmp byte [esi + 1], 0
jne 0x43e669
test edi, edi
je 0x43e669
cmp dword [ebp + 0xc], 0
jle 0x43e669
test ebx, ebx
je 0x43e669
cmp byte [edi], 4
jne 0x43e669
lea ecx, [ebp - 0x17c]
call fcn.0045ef49
lea ecx, [ebp - 0x18c]
call fcn.0045ef49
cmp byte [edi], 4
jne 0x43e6cc
push dword [esi + 0x28]
lea edx, [edi + 1]
lea ecx, [ebp - 0x17c]
call fcn.0045fd8d
mov eax, dword [esi + 0x28]
lea edx, [edi + 1]
push eax
add edx, eax
lea ecx, [ebp - 0x18c]
call fcn.0045fd8d
pop ecx
pop ecx
lea ecx, [ebp - 0x19c]
call fcn.0045ef49
lea ecx, [ebp - 0x1ac]
call fcn.0045ef49
push dword [esi + 4]
lea eax, [ebp - 0x18c]
push dword [esi + 8]
lea edx, [ebp - 0x1ac]
push dword [esi + 0x18]
lea ecx, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.0043eaae
add esp, 0x14
lea eax, [ebp - 0x15c]
mov ecx, esi
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.0043e8a7
lea ecx, [ebp - 0x160]
call fcn.0043f8b2
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x28]
test eax, eax
jle 0x43e755
mov ecx, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
push eax
call fcn.0043f649
mov eax, dword [esi + 0x28]
pop ecx
lea ecx, [ebp - 0x15c]
add eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0043e8a7
and dword [ebp - 0x164], 0
lea eax, [ebp - 0x164]
push eax
mov eax, dword [esi + 0x28]
push ebx
push dword [ebp + 0xc]
add eax, eax
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0043e551
push dword [ebp - 0x164]
push ebx
call fcn.0043e8e9
test al, al
je 0x43e7f6
lea ecx, [ebp - 0x17c]
call fcn.0045e5c4
lea ecx, [ebp - 0x18c]
call fcn.0045e5c4
lea ecx, [ebp - 0x19c]
call fcn.0045e5c4
lea ecx, [ebp - 0x1ac]
call fcn.0045e5c4
mov dword [ebp - 0x168], 0xfffffffe
push 0xe8
push dword [ebp - 0x160]
call fcn.004caab3
mov eax, dword [ebp - 0x168]
pop ecx
pop ecx
call fcn.004cb672
ret 0xc
mov eax, dword [esi + 0x28]
lea eax, [eax*2 + 1]
add eax, edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
test edi, edi
jle 0x43e823
mov edx, eax
mov ecx, ebx
sub edx, ebx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x43e815
mov edi, dword [ebp + 0xc]
push edi
push ebx
lea ecx, [ebp - 0x160]
call fcn.0043f866
mov eax, dword [esi + 0x28]
lea ecx, [ebp - 0x15c]
push eax
add eax, ecx
lea ecx, [ebp - 0x160]
push eax
call fcn.0043f866
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x160]
call fcn.0043f885
lea ecx, [ebp - 0x17c]
call fcn.0045e5c4
lea ecx, [ebp - 0x18c]
call fcn.0045e5c4
lea ecx, [ebp - 0x19c]
call fcn.0045e5c4
lea ecx, [ebp - 0x1ac]
call fcn.0045e5c4
mov edx, dword [ebp - 0x16c]
lea esi, [ebp - 0x30]
add edx, edi
xor ecx, ecx
mov eax, dword [esi + ecx*4]
cmp eax, dword [edx + ecx*4]
jne 0x43e7cc
inc ecx
cmp ecx, 8
jne 0x43e890
jmp 0x43e7d6
Function at 0x43f8dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, byte [edx + 1]
push esi
movzx esi, byte [edx]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 5]
push edi
mov edi, ecx
xor esi, 0xa3b1bac6
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x94], esi
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
xor ecx, 0x56aa3350
mov dword [ebp - 0x90], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
xor ecx, 0x677d9197
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
xor ecx, 0xb27022dc
xor esi, esi
mov dword [ebp - 0x88], ecx
mov ecx, dword [esi + 0x50eba8]
xor ecx, dword [ebp + esi - 0x90]
xor ecx, dword [ebp + esi - 0x88]
xor ecx, dword [ebp + esi - 0x8c]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + 0x50eaa8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
mov ecx, edx
mov eax, edx
rol ecx, 0xd
ror eax, 9
xor ecx, eax
xor ecx, dword [ebp + esi - 0x94]
xor ecx, edx
mov dword [ebp + esi - 0x84], ecx
mov dword [esi + edi], ecx
add esi, 4
cmp esi, 0x80
jb 0x43f9a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004caa72
leave
ret
Function at 0x43fa3a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push 0x80
push 0
push eax
mov esi, edx
mov dword [ebp - 0xa8], edi
mov ebx, ecx
call fcn.004cd4b0
movzx ecx, byte [esi]
lea edi, [ebp - 0x8c]
movzx eax, byte [esi + 1]
add esp, 0xc
shl ecx, 8
sub edi, ebx
or ecx, eax
mov dword [ebp - 0x98], 0x20
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 5]
mov dword [ebp - 0x94], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 9]
mov dword [ebp - 0x90], ecx
movzx ecx, byte [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
mov dword [ebp - 0x8c], ecx
movzx ecx, byte [esi + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
lea esi, [ebp - 0x88]
or ecx, eax
sub esi, ebx
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x94]
sub eax, ebx
sub ecx, ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x84]
sub ecx, ebx
mov dword [ebp - 0xa0], ecx
mov ecx, dword [eax + ebx]
xor ecx, dword [edi + ebx]
xor ecx, dword [esi + ebx]
xor ecx, dword [ebx]
mov eax, ecx
shr eax, 0x18
movzx edx, byte [eax + 0x50eaa8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
mov eax, ecx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
movzx eax, cl
shl edx, 8
movzx eax, byte [eax + 0x50eaa8]
or edx, eax
mov ecx, edx
mov eax, edx
rol eax, 0xa
ror ecx, 0xe
xor ecx, eax
mov eax, edx
ror eax, 8
xor ecx, eax
mov eax, edx
rol eax, 2
xor ecx, eax
mov eax, dword [ebp - 0x9c]
xor ecx, dword [eax + ebx]
mov eax, dword [ebp - 0xa0]
xor ecx, edx
sub dword [ebp - 0x98], 1
mov dword [eax + ebx], ecx
lea ebx, [ebx + 4]
mov eax, dword [ebp - 0xa4]
jne 0x43fb4a
mov edi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 8]
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 1], al
mov eax, ecx
shr eax, 8
mov byte [edi + 2], al
mov byte [edi + 3], cl
mov ecx, dword [ebp - 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 5], al
mov eax, ecx
shr eax, 8
mov byte [edi + 6], al
mov byte [edi + 7], cl
mov ecx, dword [ebp - 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 9], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xa], al
mov byte [edi + 0xb], cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 0x18
mov byte [edi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [edi + 0xf], cl
mov ecx, dword [ebp - 4]
mov byte [edi + 0xe], al
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004caa72
leave
ret
Function at 0x43fc98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
jl 0x43fdb3
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], ebx
jg 0x43fcbd
test ebx, ebx
je 0x43fdb2
push esi
push edi
cmp edx, 1
jne 0x43fd40
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 4]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
sub edx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edi
mov esi, edi
mov ecx, eax
push 0x10
sub esi, eax
pop edi
mov al, byte [edx + ecx]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
sub edi, 1
jne 0x43fce7
mov edi, dword [ebp - 8]
mov edx, edi
mov ecx, dword [ebp - 0x14]
push edi
call fcn.0043fa3a
mov edx, dword [ebp - 0xc]
mov esi, edi
mov edi, dword [ebp + 0x10]
sub edx, 0x10
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0xc], edx
pop ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add edi, 0x10
add ebx, 0xfffffff0
mov dword [ebp - 8], edi
adc esi, 0xffffffff
mov dword [ebp - 4], esi
test esi, esi
jg 0x43fcde
jl 0x43fdb0
test ebx, ebx
jne 0x43fcde
jmp 0x43fdb0
mov eax, dword [ebp + 0x10]
add ecx, 4
mov ebx, dword [ebp + 0x18]
sub eax, ebx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov esi, edx
lea edi, [ebp - 0x24]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043fa3a
pop ecx
mov ecx, dword [ebp - 0xc]
push 0x10
pop edx
mov al, byte [ecx + ebx]
xor byte [ebx], al
inc ebx
sub edx, 1
jne 0x43fd6d
mov edi, dword [ebp + 0x10]
lea esi, [ebp - 0x24]
mov edx, dword [ebp - 0x10]
sub ecx, 0x10
mov eax, dword [ebp - 8]
add edx, 0x10
mov dword [ebp - 0xc], ecx
add eax, 0xfffffff0
mov ecx, dword [ebp - 4]
movsd dword es:[edi], dword [esi]
adc ecx, 0xffffffff
mov dword [ebp - 4], ecx
test ecx, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jg 0x43fd57
jl 0x43fdb0
test eax, eax
jne 0x43fd57
pop edi
pop esi
pop ebx
leave
ret