joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a3b5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c2ee
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x44a431
lea eax, [ebp - 0x14]
push eax
call fcn.004499f2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x44a40d
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44a431
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004514cc
leave
ret 0xc

Function at 0x44a440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x44a4ca
cmp dword [esi + 0x10], 0
je 0x44a4ca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00451cd0
mov ebx, esp
test ebx, ebx
je 0x44a4ca
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1e4
call fcn.00412bf6
mov ecx, dword [esi + 0x10]
xor eax, eax
push 1
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x24]
mov ecx, eax
call fcn.00417ff3
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00414fb6
test al, al
je 0x44a4ca
mov ecx, dword [esi + 0x10]
call fcn.0041c20b
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004514cc
leave
ret 0x10

Function at 0x44ab24
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
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.0041d85a
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x44aba8
lea eax, [ebp - 0x14]
push eax
call fcn.004499f2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x44ab84
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44aba8
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 0x14
Function at 0x44ba81
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x5f90a0
call fcn.00451d67
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x44bb13
lea eax, [ebp - 0xa8]
push eax
call fcn.0044b6ec
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00414dc4
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0041a052
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0042cfda
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.00414990
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00413186
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.00412b62
mov esi, 0x6d8
test bl, bl
je 0x44bb4e
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.00451d11
ret 4

Function at 0x44bb84
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041c2ee
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x44bc00
lea eax, [ebp - 0x14]
push eax
call fcn.0044b6ec
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x44bbdc
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44bc00
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004514cc
leave
ret 0xc
Function at 0x44bce9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
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.0041d85a
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x44bd6d
lea eax, [ebp - 0x14]
push eax
call fcn.0044b6ec
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x44bd49
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44bd6d
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.00413031
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004514cc
leave
ret 0x14
Function at 0x44ec21
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x5f9239
call fcn.00451d67
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.00414de0
push eax
lea ecx, [ebp - 0x94]
call fcn.00412a8b
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00414de6
mov ecx, eax
call fcn.00413186
test al, al
je 0x44ed0f
push ebx
lea ecx, [ebp - 0x94]
call fcn.00412c82
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00412c62
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44ecb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00412b62
jmp 0x44edf0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44ec9e
push esi
mov dword [ebp - 0x2c8], edi
call fcn.00451543
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2c8]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], esi
je 0x44eddb
push edi
call fcn.0045153e
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00412b62
jmp 0x44edee
call fcn.00414de6
push eax
lea ecx, [ebp - 0x94]
call fcn.00412c65
call fcn.00414fa9
test al, al
je 0x44ed30
call fcn.00414dec
jmp 0x44ed47
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00412c62
push eax
call fcn.00426d5f
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x44ec9e
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.0042679f
add esp, 0x14
test eax, eax
jne 0x44ec9e
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x44ec9e
push esi
call fcn.00451543
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.00427136
add esp, 0x18
test eax, eax
je 0x44edcb
cmp eax, 0x600
je 0x44edcb
push edi
call fcn.0045153e
pop ecx
call fcn.00414fa9
test al, al
jne 0x44ecfb
push ebx
call fcn.004265fb
jmp 0x44ecfa
call fcn.00414fa9
test al, al
jne 0x44eddb
push ebx
call fcn.004265fb
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00412b62
test edi, edi
jne 0x44ee62
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x2cc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44ee5e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44ee5e
push esi
mov dword [ebp - 0x2d0], edi
call fcn.00451543
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x2d0]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], esi
je 0x44ee5a
push edi
call fcn.0045153e
pop ecx
xor edi, edi
test edi, edi
jne 0x44ee62
xor eax, eax
jmp 0x44ee7d
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.0044ee85
push 1
push edi
mov esi, eax
call fcn.004514dd
pop ecx
pop ecx
mov eax, esi
call fcn.00451d11
ret 4
Function at 0x453fb4
Capabilities:
Move file

Disassembly:
push 0x3c
mov eax, 0x5f950e
call fcn.00451d67
mov edi, edx
mov esi, ecx
xor eax, eax
mov ecx, edi
mov ebx, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ebx
cmp dword [edi + 0x14], 8
jb 0x453fd8
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x453fe2
mov eax, dword [esi]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x454034
cmp dword [edi + 0x14], 8
jb 0x453ff8
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x40]
call fcn.00405b00
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x44], ebx
jb 0x454013
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x28]
call fcn.00405b00
push 3
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x40]
pop ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
call fcn.00453fb4
test al, al
je 0x454038
mov byte [ebp - 0x48], 1
test bl, 2
je 0x454048
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00405fa0
test bl, 1
je 0x454055
lea ecx, [ebp - 0x40]
call fcn.00405fa0
mov al, byte [ebp - 0x48]
call fcn.00451d11
ret

Function at 0x4543b8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4543c0
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret

Function at 0x4543ce
Capabilities:
Copy file
Delete file

Disassembly:
push 0x3c
mov eax, 0x5f95d7
call fcn.00451d67
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x454486
cmp dword [esi + 0x10], 0x104
ja 0x454486
call fcn.004543b8
test al, al
jne 0x454403
inc al
jmp 0x454488
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040b230
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edi
add eax, 2
mov dword [ebp - 4], edi
push eax
call fcn.00411990
push 0x1e
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.005c8440
mov eax, dword [ebp - 0x38]
add esp, 0xc
and eax, 0xffbf
mov dword [ebp - 0x32], edi
or eax, 0x414
mov dword [ebp - 0x48], edi
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2e], edi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, eax
lea ecx, [ebp - 0x28]
neg ebx
sbb bl, bl
inc bl
call fcn.00405fa0
mov al, bl
jmp 0x454488
xor al, al
call fcn.00451d11
ret
Function at 0x45554a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x98], 5
jne 0x455571
cmp dword [ebp + 0xc], 0
je 0x455571
mov ecx, esi
call fcn.004553b6
mov eax, 0x80004005
jmp 0x455684
xor ecx, ecx
push edi
cmp dword [esi + 0x54], ecx
jne 0x4555a0
push 0x60a3ac
call fcn.00455829
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x455681
mov edx, dword [ecx]
lea eax, [esi + 0x14]
push eax
call dword [edx + 0x14]
jmp 0x455681
cmp byte [esi + 0x64], cl
jne 0x4555af
cmp byte [esi + 0x70], cl
jne 0x4555af
cmp byte [esi + 0x7c], cl
je 0x45560d
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x4555ba
mov eax, dword [eax]
push ecx
push 0x80
push 3
push ecx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45560d
xor edx, edx
lea ecx, [esi + 0x68]
cmp byte [esi + 0x64], dl
cmovne edx, ecx
xor eax, eax
cmp byte [esi + 0x70], al
lea ecx, [esi + 0x74]
push edx
cmovne eax, ecx
xor ecx, ecx
cmp byte [esi + 0x7c], cl
push eax
lea eax, [esi + 0x80]
cmovne ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi + 0x5d], 0
je 0x455628
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x45561e
mov eax, dword [eax]
push dword [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edi, [esi + 0x44]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x455635
mov eax, dword [edi]
push eax
push str.FileDone:_s_n
call fcn.00455829
pop ecx
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x455681
push dword [esi + 0x94]
mov eax, dword [ecx]
push dword [esi + 0x90]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x455669
mov eax, 0x80004005
jmp 0x455683
mov ecx, dword [esi + 0x9c]
push dword [esi + 0x94]
push dword [esi + 0x90]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x459f66
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x68bfe9], 0
jne 0x45a015
mov ecx, 0x60a57c
call fcn.004654cd
mov ecx, 0x60a558
call fcn.004654cd
mov ecx, 0x60a67c
call fcn.004654cd
mov ecx, 0x60a6a0
call fcn.004654cd
mov ecx, 0x60a658
call fcn.004654cd
mov ecx, 0x60a538
call fcn.00476183
mov ecx, 0x60a4b8
call fcn.00476183
mov ecx, 0x60a4d8
call fcn.00476183
mov ecx, 0x60a4f8
call fcn.00476183
mov ecx, 0x60a5a0
call fcn.00476183
mov ecx, 0x60a5c0
call fcn.00476183
mov ecx, 0x60a478
call fcn.00476183
mov ecx, 0x60a498
call fcn.00476183
mov ecx, 0x60a5e0
call fcn.00476183
mov ecx, 0x60a600
call fcn.00476183
mov byte [0x68bfe9], 1
jmp 0x47924b
ret
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x479253
mov dword [ecx*4 + 0x6940a0], edx
inc ecx
cmp ecx, 0x100
jb 0x47924e
mov edx, 0x400
mov ecx, dword [edx + 0x693ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x6940a0]
mov dword [edx + 0x6940a0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x47927d
mov eax, 0x5f6820
mov esi, 0x5f6740
mov dword [0x694094], eax
mov dword [0x69408c], eax
mov dword [0x694090], esi
call fcn.004908a7
mov ecx, dword [0x69408c]
test eax, eax
cmove ecx, esi
mov dword [0x69408c], ecx
pop esi
ret
Function at 0x46513e
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x465160
sub edx, 3
je 0x465157
sub edx, 6
jne 0x465164
add ecx, 0x10
jmp fcn.0047eb34
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret
Function at 0x4793a7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov byte [ebp - 1], dl
or dword [ebx], 0xffffffff
cmp dword [ecx], 0x23170f69
jne 0x479480
mov eax, 0x40c1
cmp word [ecx + 4], ax
jne 0x479480
mov edi, dword [ebp + 0xc]
mov edx, 0x2790
mov byte [edi], 1
movzx eax, word [ecx + 6]
cmp ax, dx
jne 0x4793ec
mov byte [edi], 0
jmp 0x4793fa
mov edx, 0x2791
cmp ax, dx
jne 0x479480
mov eax, dword [ecx + 8]
xor esi, esi
mov ecx, dword [ecx + 0xc]
mov dword [ebp + 0xc], eax
mov dword [ebp - 8], ecx
cmp dword [0x68c428], esi
jbe 0x479480
mov ch, byte [ebp + 8]
mov edx, dword [esi*4 + 0x68c430]
cmp eax, dword [edx + 8]
jne 0x479456
mov ebx, dword [ebp - 8]
cmp ebx, dword [edx + 0xc]
mov ebx, dword [ebp + 0x10]
jne 0x479456
xor eax, eax
cmp byte [edi], al
je 0x479435
cmp dword [edx + 4], eax
jmp 0x479437
cmp dword [edx], eax
sete al
test eax, eax
jne 0x479453
mov cl, byte [edx + 0x18]
test ch, ch
je 0x47944c
test cl, cl
sete al
jmp 0x47944f
movzx eax, cl
test eax, eax
je 0x479461
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [0x68c428]
jb 0x479413
jmp 0x479480
movzx ecx, byte [ebp - 1]
movzx eax, byte [ebp - 1]
xor ecx, 1
cmp dword [edx + 0x14], 1
cmove ecx, eax
test ecx, ecx
je 0x47947e
mov eax, 0x80004002
jmp 0x479482
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47a439
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0x2c], edi
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x28], ebx
cmp ebx, 3
jae 0x47a460
call fcn.0047ac75
xor eax, eax
jmp 0x47a560
mov ecx, dword [esi]
mov dword [ebp - 8], 2
movzx edx, byte [ecx]
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
mov ecx, dword [esi + 0x24]
xor edx, dword [esi + eax*4 + 0x60]
movzx edx, dx
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ecx + edx*4], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ebx]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
mov dword [ebx + edx*4], eax
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
sub edx, eax
cmp edx, ebx
jae 0x47a541
cmp dword [ebp - 0x10], edx
sbb eax, eax
sub ecx, edx
and eax, ebx
mov ebx, dword [ebp - 0x14]
sub eax, edx
add eax, dword [ebp - 0x10]
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx]
cmp al, byte [ecx + ebx]
jne 0x47a525
mov eax, dword [ebp - 4]
mov ebx, eax
mov al, byte [eax]
jmp 0x47a507
inc ebx
cmp ebx, dword [ebp - 0x24]
je 0x47a533
mov al, byte [ebx]
mov ecx, ebx
sub ecx, edx
cmp al, byte [ecx]
je 0x47a4fb
mov ecx, dword [ebp - 4]
sub ebx, ecx
cmp dword [ebp - 8], ebx
jae 0x47a528
lea eax, [edx - 1]
mov dword [edi], ebx
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 8], ebx
jmp 0x47a528
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x18], 1
je 0x47a541
mov eax, dword [ebp - 0xc]
jmp 0x47a4c1
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
lea eax, [edx - 1]
mov dword [edi + 4], eax
add edi, 8
sub edi, dword [ebp - 0x2c]
sar edi, 2
inc dword [esi + 0x14]
inc dword [esi]
inc dword [esi + 4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x47a55e
mov ecx, esi
call fcn.0047a8ff
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
or dword [ecx + 0x468], 0xffffffff
xor edx, edx
or dword [ecx + 0x46c], 0xffffffff
push esi
push edi
mov dword [ecx + 0x34], edx
lea esi, [ecx + 0x60]
mov word [ecx + 0x1e], dx
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x47a9a7
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x47a9a2
pop edi
pop esi
ret
Function at 0x47cb68
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp edx, 8
jb 0x47cb89
push edi
mov edi, edx
shr edi, 3
mov eax, dword [ecx + 4]
sub edx, 8
xor eax, dword [ecx]
add ecx, 8
xor esi, eax
sub edi, 1
jne 0x47cb76
pop edi
cmp edx, 4
jb 0x47cb93
xor esi, dword [ecx]
add ecx, 4
and edx, 3
cmp edx, 2
jbe 0x47cba4
movzx eax, byte [ecx]
shl eax, 0x10
xor esi, eax
inc ecx
cmp edx, 1
jbe 0x47cbb2
movzx eax, byte [ecx]
shl eax, 8
xor esi, eax
inc ecx
test edx, edx
je 0x47cbbb
movzx ecx, byte [ecx]
xor esi, ecx
mov eax, esi
pop esi
ret
Function at 0x47e86e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x47e8a4
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x47e897
cmp esi, ecx
jae 0x47e987
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x47e91d
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
movzx eax, al
shr ecx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, cl
shl edx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x60c6c0]
xor ecx, eax
or ecx, edx
jmp 0x47e96d
cmp edi, 6
jbe 0x47e96d
cmp edx, 4
jne 0x47e96d
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x47e8b6
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x47eb34
Capabilities:
Hash data using sha256

Disassembly:
and dword [ecx + 0x20], 0
and dword [ecx + 0x24], 0
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
ret