joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4371b6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4371e4
cmp eax, edi
jge 0x4371d8
push esi
call fcn.004336ae
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x437207
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4371ed
mov dword [esi + 8], edx
jmp 0x43721c
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x437212
xor dl, dl
jmp 0x437217
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x437207
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x437256
push str.zlib_corrupt
call fcn.004335d9
add esp, 4
jmp 0x437296
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x437266
push str.read_past_buffer
jmp 0x43724c
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x437280
push edi
push ecx
push esi
call fcn.00439cd2
add esp, 0xc
test eax, eax
je 0x437296
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.005c6940
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x44926f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67a374]
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.0041b1ac
mov ecx, dword [esi + 0x6d8]
test ecx, ecx
je 0x4492eb
lea eax, [ebp - 0x14]
push eax
call fcn.004488af
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6d8]
test eax, eax
je 0x4492c7
push 0
call fcn.00411ef1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4492eb
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.00411ef1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004503a3
leave
ret 0xc

Function at 0x4492fa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x67a374]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x449384
cmp dword [esi + 0x10], 0
je 0x449384
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00450ba0
mov ebx, esp
test ebx, ebx
je 0x449384
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.00411ab6
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.00416eb1
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, eax
call fcn.00413e76
test al, al
je 0x449384
mov ecx, dword [esi + 0x10]
call fcn.0041b0c9
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004503a3
leave
ret 0x10

Function at 0x4499de
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67a374]
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.0041c718
mov ecx, dword [ebx + 0x6d8]
test ecx, ecx
je 0x449a62
lea eax, [ebp - 0x14]
push eax
call fcn.004488af
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6d8]
test eax, eax
je 0x449a3e
push 0
call fcn.00411ef1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x449a62
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.00411ef1
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.004503a3
leave
ret 0x14
Function at 0x44a93b
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x5f6eb8
call fcn.00450c37
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 0x44a9cd
lea eax, [ebp - 0xa8]
push eax
call fcn.0044a5a6
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.00413c84
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.00418f10
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0042e8a0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.00413850
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.00412046
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.00411a22
mov esi, 0x6d8
test bl, bl
je 0x44aa08
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.00450be1
ret 4

Function at 0x44aa3e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67a374]
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.0041b1ac
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x44aaba
lea eax, [ebp - 0x14]
push eax
call fcn.0044a5a6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x44aa96
push 0
call fcn.00411ef1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44aaba
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.00411ef1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004503a3
leave
ret 0xc
Function at 0x44aba3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x67a374]
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.0041c718
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x44ac27
lea eax, [ebp - 0x14]
push eax
call fcn.0044a5a6
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x44ac03
push 0
call fcn.00411ef1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x44ac27
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.00411ef1
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.004503a3
leave
ret 0x14
Function at 0x44dadb
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2cc
mov eax, 0x5f7051
call fcn.00450c37
mov dword [ebp - 0x2d8], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2cc], ebx
call fcn.00413ca0
push eax
lea ecx, [ebp - 0x94]
call fcn.0041194b
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00413ca6
mov ecx, eax
call fcn.00412046
test al, al
je 0x44dbc9
push ebx
lea ecx, [ebp - 0x94]
call fcn.00411b42
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00411b22
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44db6c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00411a22
jmp 0x44dcaa
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44db58
push esi
mov dword [ebp - 0x2c8], edi
call fcn.0045041a
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 0x44dc95
push edi
call fcn.00450415
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00411a22
jmp 0x44dca8
call fcn.00413ca6
push eax
lea ecx, [ebp - 0x94]
call fcn.00411b25
call fcn.00413e69
test al, al
je 0x44dbea
call fcn.00413cac
jmp 0x44dc01
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00411b22
push eax
call fcn.00425c1b
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x44db58
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d4]
push eax
push 1
push dword [ebp - 0x2cc]
push ebx
call fcn.0042565b
add esp, 0x14
test eax, eax
jne 0x44db58
mov esi, dword [ebp - 0x98]
test esi, esi
je 0x44db58
push esi
call fcn.0045041a
push 3
push esi
mov edi, eax
push edi
push dword [ebp - 0x2d4]
push ebx
call fcn.00425ff2
add esp, 0x18
test eax, eax
je 0x44dc85
cmp eax, 0x600
je 0x44dc85
push edi
call fcn.00450415
pop ecx
call fcn.00413e69
test al, al
jne 0x44dbb5
push ebx
call fcn.004254b7
jmp 0x44dbb4
call fcn.00413e69
test al, al
jne 0x44dc95
push ebx
call fcn.004254b7
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00411a22
test edi, edi
jne 0x44dd1c
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 0x44dd18
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x44dd18
push esi
mov dword [ebp - 0x2d0], edi
call fcn.0045041a
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 0x44dd14
push edi
call fcn.00450415
pop ecx
xor edi, edi
test edi, edi
jne 0x44dd1c
xor eax, eax
jmp 0x44dd37
mov ecx, dword [ebp - 0x2d8]
push esi
push edi
call fcn.0044dd3f
push 1
push edi
mov esi, eax
call fcn.004503b4
pop ecx
pop ecx
mov eax, esi
call fcn.00450be1
ret 4
Function at 0x452f16
Capabilities:
Move file

Disassembly:
push 0x3c
mov eax, 0x5f7326
call fcn.00450c37
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 0x452f3a
mov ecx, dword [edi]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x452f44
mov eax, dword [esi]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x452f96
cmp dword [edi + 0x14], 8
jb 0x452f5a
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x40]
call fcn.00405880
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x44], ebx
jb 0x452f75
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x28]
call fcn.00405880
push 3
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x40]
pop ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
call fcn.00452f16
test al, al
je 0x452f9a
mov byte [ebp - 0x48], 1
test bl, 2
je 0x452faa
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00405bd0
test bl, 1
je 0x452fb7
lea ecx, [ebp - 0x40]
call fcn.00405bd0
mov al, byte [ebp - 0x48]
call fcn.00450be1
ret

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

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

Function at 0x453330
Capabilities:
Copy file
Delete file

Disassembly:
push 0x3c
mov eax, 0x5f73ef
call fcn.00450c37
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x4533e8
cmp dword [esi + 0x10], 0x104
ja 0x4533e8
call fcn.0045331a
test al, al
jne 0x453365
inc al
jmp 0x4533ea
xor edi, edi
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0040a2a0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push edi
add eax, 2
mov dword [ebp - 4], edi
push eax
call fcn.004107c0
push 0x1e
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.005c7440
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.00405bd0
mov al, bl
jmp 0x4533ea
xor al, al
call fcn.00450be1
ret
Function at 0x454524
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x98], 5
jne 0x45454b
cmp dword [ebp + 0xc], 0
je 0x45454b
mov ecx, esi
call fcn.00454390
mov eax, 0x80004005
jmp 0x45465e
xor ecx, ecx
push edi
cmp dword [esi + 0x54], ecx
jne 0x45457a
push 0x607364
call fcn.00454803
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x45465b
mov edx, dword [ecx]
lea eax, [esi + 0x14]
push eax
call dword [edx + 0x14]
jmp 0x45465b
cmp byte [esi + 0x64], cl
jne 0x454589
cmp byte [esi + 0x70], cl
jne 0x454589
cmp byte [esi + 0x7c], cl
je 0x4545e7
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x454594
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 0x4545e7
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 0x454602
lea eax, [esi + 0x44]
cmp dword [eax + 0x14], 8
jb 0x4545f8
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 0x45460f
mov eax, dword [edi]
push eax
push str.FileDone:_s_n
call fcn.00454803
pop ecx
pop ecx
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x45465b
push dword [esi + 0x94]
mov eax, dword [ecx]
push dword [esi + 0x90]
push edi
call dword [eax + 0x1c]
test al, al
jne 0x454643
mov eax, 0x80004005
jmp 0x45465d
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 0x458f3c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x689ee9], 0
jne 0x458feb
mov ecx, 0x607534
call fcn.004644a3
mov ecx, 0x607510
call fcn.004644a3
mov ecx, 0x607634
call fcn.004644a3
mov ecx, 0x607658
call fcn.004644a3
mov ecx, 0x607610
call fcn.004644a3
mov ecx, 0x6074f0
call fcn.00475159
mov ecx, 0x607470
call fcn.00475159
mov ecx, 0x607490
call fcn.00475159
mov ecx, 0x6074b0
call fcn.00475159
mov ecx, 0x607558
call fcn.00475159
mov ecx, 0x607578
call fcn.00475159
mov ecx, 0x607430
call fcn.00475159
mov ecx, 0x607450
call fcn.00475159
mov ecx, 0x607598
call fcn.00475159
mov ecx, 0x6075b8
call fcn.00475159
mov byte [0x689ee9], 1
jmp 0x478221
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 0x478229
mov dword [ecx*4 + 0x691fa0], edx
inc ecx
cmp ecx, 0x100
jb 0x478224
mov edx, 0x400
mov ecx, dword [edx + 0x691ba0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x691fa0]
mov dword [edx + 0x691fa0], ecx
add edx, 4
cmp edx, 0x2000
jb 0x478253
mov eax, 0x5f47f0
mov esi, 0x5f4710
mov dword [0x691f94], eax
mov dword [0x691f8c], eax
mov dword [0x691f90], esi
call fcn.0048f87b
mov ecx, dword [0x691f8c]
test eax, eax
cmove ecx, esi
mov dword [0x691f8c], ecx
pop esi
ret
Function at 0x464114
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], edx
sub edx, 1
je 0x464136
sub edx, 3
je 0x46412d
sub edx, 6
jne 0x46413a
add ecx, 0x10
jmp fcn.0047db08
or dword [ecx + 8], 0xffffffff
or dword [ecx + 0xc], 0xffffffff
ret
or dword [ecx + 4], 0xffffffff
ret
Function at 0x47837d
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 0x478456
mov eax, 0x40c1
cmp word [ecx + 4], ax
jne 0x478456
mov edi, dword [ebp + 0xc]
mov edx, 0x2790
mov byte [edi], 1
movzx eax, word [ecx + 6]
cmp ax, dx
jne 0x4783c2
mov byte [edi], 0
jmp 0x4783d0
mov edx, 0x2791
cmp ax, dx
jne 0x478456
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 [0x68a328], esi
jbe 0x478456
mov ch, byte [ebp + 8]
mov edx, dword [esi*4 + 0x68a330]
cmp eax, dword [edx + 8]
jne 0x47842c
mov ebx, dword [ebp - 8]
cmp ebx, dword [edx + 0xc]
mov ebx, dword [ebp + 0x10]
jne 0x47842c
xor eax, eax
cmp byte [edi], al
je 0x47840b
cmp dword [edx + 4], eax
jmp 0x47840d
cmp dword [edx], eax
sete al
test eax, eax
jne 0x478429
mov cl, byte [edx + 0x18]
test ch, ch
je 0x478422
test cl, cl
sete al
jmp 0x478425
movzx eax, cl
test eax, eax
je 0x478437
mov eax, dword [ebp + 0xc]
inc esi
cmp esi, dword [0x68a328]
jb 0x4783e9
jmp 0x478456
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 0x478454
mov eax, 0x80004002
jmp 0x478458
mov dword [ebx], esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47940f
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 0x479436
call fcn.00479c4b
xor eax, eax
jmp 0x479536
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 0x479517
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 0x4794fb
mov eax, dword [ebp - 4]
mov ebx, eax
mov al, byte [eax]
jmp 0x4794dd
inc ebx
cmp ebx, dword [ebp - 0x24]
je 0x479509
mov al, byte [ebx]
mov ecx, ebx
sub ecx, edx
cmp al, byte [ecx]
je 0x4794d1
mov ecx, dword [ebp - 4]
sub ebx, ecx
cmp dword [ebp - 8], ebx
jae 0x4794fe
lea eax, [edx - 1]
mov dword [edi], ebx
mov dword [edi + 4], eax
add edi, 8
mov dword [ebp - 8], ebx
jmp 0x4794fe
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x18], 1
je 0x479517
mov eax, dword [ebp - 0xc]
jmp 0x479497
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 0x479534
mov ecx, esi
call fcn.004798d5
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x479947
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 0x47997d
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x479978
pop edi
pop esi
ret
Function at 0x47bb3e
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
cmp edx, 8
jb 0x47bb5f
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 0x47bb4c
pop edi
cmp edx, 4
jb 0x47bb69
xor esi, dword [ecx]
add ecx, 4
and edx, 3
cmp edx, 2
jbe 0x47bb7a
movzx eax, byte [ecx]
shl eax, 0x10
xor esi, eax
inc ecx
cmp edx, 1
jbe 0x47bb88
movzx eax, byte [ecx]
shl eax, 8
xor esi, eax
inc ecx
test edx, edx
je 0x47bb91
movzx ecx, byte [ecx]
xor esi, ecx
mov eax, esi
pop esi
ret