joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ddc70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407e20
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5ddc89
test al, 0x10
jne 0x5ddc8d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
je 0x5ddcb2
push ebx
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x5ddcaa
test al, 0x10
je 0x5ddcae
xor eax, eax
jmp 0x5ddcb4
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x5ddecc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5ddf82
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407e20
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jbe 0x5ddf6c
lea eax, [ebp - 4]
mov edx, edi
call fcn.00407fac
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00407e20
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5ddf6c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5ddf94
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ddf6c
cmp dword [ebp - 0xc], 0x34
jne 0x5ddf6c
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ddf89
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x5e124c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5e1320
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407570
lea eax, [ebp - 4]
call fcn.00407758
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x5e130a
mov eax, ebx
call fcn.004044b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5e1303
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e20
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5e12ed
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5e1330
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5e12ed
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e130a
mov eax, dword [ebp - 0x10]
call fcn.004044d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e1327
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x5f84e8
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff2c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f867d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xd0]
mov eax, esi
call fcn.005f8bec
mov eax, ebx
call fcn.004728ec
dec al
je 0x5f852c
dec al
je 0x5f8535
jmp 0x5f853e
mov byte [ebp - 0xb7], 2
jmp 0x5f8545
mov byte [ebp - 0xb7], 1
jmp 0x5f8545
mov byte [ebp - 0xb7], 0
mov eax, dword [ebp - 0xcc]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0xcc], eax
mov eax, ebx
call fcn.00472864
add eax, eax
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0xc4], eax
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x5f8593
cmp edi, 0x20000000
jne 0x5f859f
or dword [ebp - 0xc8], 0x40000000
jmp 0x5f85ac
mov eax, edi
call fcn.00471e20
mov dword [ebp - 0xbc], eax
mov eax, ebx
call fcn.004728a0
test al, 1
je 0x5f85be
or dword [ebp - 0xc8], 1
mov eax, ebx
call fcn.004728a0
test al, 2
je 0x5f85d0
or dword [ebp - 0xc8], 2
mov eax, ebx
call fcn.004728a0
test al, 4
je 0x5f85e2
or dword [ebp - 0xc8], 4
mov eax, ebx
call fcn.004728a0
test al, 8
je 0x5f85f4
or dword [ebp - 0xc8], 8
lea edx, [ebp - 0xd4]
mov eax, ebx
call fcn.004727b4
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xb6]
mov ecx, 0x40
call fcn.0042021c
or dword [ebp - 0xcc], 0x8000000
mov eax, ebx
call fcn.00472974
mov byte [ebp - 0xb8], al
lea eax, [ebp - 0x5c]
push eax
push 0x5c
mov eax, ebx
call fcn.0047251c
push eax
call sub.gdi32.dll_GetObjectW
test eax, eax
je 0x5f8657
or dword [ebp - 0xcc], 0x400000
movzx eax, word [ebp - 0x4c]
mov word [ebp - 0x76], ax
lea edx, [ebp - 0xd0]
mov eax, esi
call fcn.005f8c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f8684
lea eax, [ebp - 0xd4]
call fcn.00407148
ret
Function at 0x5f9ec4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x6b4e28
xor eax, eax
push ebp
push 0x5fa037
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x6be07c], 1
mov edx, 0x8000
mov eax, 0x5fa050
call fcn.00427264
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x5f9f0d
cmp dword [ebx], 0x20
jae 0x5f9f0d
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x5f9f3e
mov edx, 0x8000
mov eax, 0x5fa078
call fcn.00427264
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x5fa021
cmp dword [ebx], 0x20
jae 0x5fa021
xor eax, eax
mov dword [ebx], eax
jmp 0x5fa021
mov dword [0x6be07c], 2
lea edx, [ebp - 4]
mov eax, dword [ebx]
call fcn.004268c4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407e20
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x5fa021
mov eax, ebx
call fcn.004044b4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5fa01a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5fa004
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5fa094
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5fa004
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, ecx
and eax, 0xffff0000
cmp eax, 0x50000
jne 0x5f9fe0
mov eax, ecx
and eax, 0xffff
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [0x6be07c], eax
jmp 0x5f9ff1
cmp eax, 0xc0000
jne 0x5f9ff1
mov dword [0x6be07c], 6
cmp dword [0x6be07c], 0
jne 0x5fa004
mov dword [0x6be07c], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa021
mov eax, dword [ebp - 0xc]
call fcn.004044d0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fa03e
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x610cb4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x610e28
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x610e03
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00407e40
lea eax, [ebp - 0x21c]
mov edx, 0x610e44
call fcn.0040802c
mov eax, dword [ebp - 0x21c]
call fcn.00407e20
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x610d74
lea eax, [ebp - 0x216]
call fcn.004200a0
mov ecx, eax
lea edx, [ebp - 0x216]
mov eax, ebx
call fcn.004072d0
jmp 0x610d7b
mov eax, ebx
call fcn.00407148
cmp si, 0x61
jae 0x610d9d
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.00426148
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00407528
jmp 0x610db7
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.00426134
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00407528
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x610e58
call fcn.00420b04
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00407528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x610e0a
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x629174
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x6291e7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
test al, al
je 0x6291d1
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.00628fd0
cmp dword [ebp - 0xc], 0
je 0x6291c6
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0042b96c
test al, al
je 0x6291d1
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x6291d1
mov eax, dword [ebp - 4]
call fcn.006290c8
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6291ee
lea eax, [ebp - 4]
call fcn.00407148
ret
Function at 0x62928c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x62934e
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x6292b8
mov eax, ebx
call fcn.00407148
jmp 0x629338
mov ecx, ebx
lea edx, [ebp - 8]
call fcn.00628fd0
cmp dword [ebp - 8], 0
je 0x629338
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0042b960
test al, al
je 0x629331
xor eax, eax
push ebp
push 0x62932a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.006291f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629338
lea eax, [ebp - 4]
call fcn.0040a8d8
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.0042b960
test al, al
je 0x629329
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00407148
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629355
lea eax, [ebp - 4]
call fcn.0040a8d8
ret

Function at 0x63c050
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 0x14], edx
xor edx, edx
push ebp
push 0x63c0b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 0xe]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov ecx, 7
call fcn.00407ed4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0041f180
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63c0bb
lea eax, [ebp - 0x14]
call fcn.00407148
ret

Function at 0x63fc78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x3c], 0
je 0x63fcf1
mov byte [ebx + 0x3c], 0
mov eax, ebx
call fcn.00640290
mov eax, ebx
call fcn.006402b4
mov eax, dword [ebx + 0x38]
call fcn.004999d8
mov esi, eax
call sub.user32.dll_GetCapture
cmp esi, eax
jne 0x63fcac
call sub.user32.dll_ReleaseCapture
mov eax, dword [ebx + 0x38]
call fcn.00491070
mov esi, dword [ebx + 0x38]
cmp dword [esi + 0x1d4], 0
jne 0x63fccf
push 0
mov eax, esi
call fcn.004999d8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x38]
call fcn.004961a0
cmp word [ebx + 0x9a], 0
je 0x63fcf1
mov edx, ebx
mov eax, dword [ebx + 0x9c]
call dword [ebx + 0x98]
pop esi
pop ebx
ret
Function at 0x640df8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov ebx, edx
mov esi, eax
mov dword [esi + 0x30c], 0x4000
mov edx, ebx
mov eax, esi
call fcn.0063ec58
mov eax, esi
call fcn.00499d84
test al, al
je 0x640e4f
mov eax, esi
call fcn.004999d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x640e4f
mov eax, esi
call fcn.00491070
cmp dword [esi + 0x1d4], 0
jne 0x640e4f
push 0
mov eax, esi
call fcn.004999d8
push eax
call sub.user32.dll_ShowWindow
cmp byte [esi + 0x31d], 0
je 0x640e6e
mov eax, dword [0x6b6f98]
mov eax, dword [eax]
mov edx, dword [eax + 0x170]
mov eax, esi
call fcn.004961a0
jmp 0x640e77
xor edx, edx
mov eax, esi
call fcn.004961a0
mov eax, esp
call fcn.0063db48
mov edx, esp
mov eax, ebx
call fcn.00640da4
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
sub ecx, edx
push ecx
mov ecx, edx
mov edx, eax
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x98]
mov eax, esi
call fcn.0063f690
mov eax, dword [esi + 0x308]
cmp dword [eax + 0x50], 0
je 0x640efa
mov eax, dword [esi + 0x308]
mov eax, dword [eax + 0x50]
call fcn.004999d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x640fc6
mov eax, dword [esi + 0x308]
mov eax, dword [eax + 0x50]
call fcn.004999d8
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x640fc6
mov eax, esi
call fcn.00640c4c
jmp 0x640f01
mov eax, esi
call fcn.006411e4
call fcn.0063dba4
test al, al
je 0x640f26
call fcn.004f3478
cmp eax, 0x60000
jl 0x640f26
cmp byte [esi + 0x31c], 0
je 0x640f26
mov byte [esi + 0x31c], 0xc
cmp byte [esi + 0x31c], 0
je 0x640f9d
call fcn.0063db74
test al, al
je 0x640f9d
call fcn.004f3478
cmp eax, 0x60000
jl 0x640f9d
mov eax, dword [0x6b6f64]
cmp dword [eax], 0
je 0x640f9d
movzx eax, byte [esi + 0x31c]
dec eax
sub al, 2
jae 0x640f74
movzx eax, byte [esi + 0x280]
dec eax
sub al, 2
jae 0x640f6d
mov ebx, 4
jmp 0x640f76
mov ebx, 8
jmp 0x640f76
xor ebx, ebx
movzx eax, byte [esi + 0x31c]
or ebx, dword [eax*4 + 0x6b5f8c]
push ebx
mov eax, dword [esi + 0x318]
push eax
mov eax, esi
call fcn.004999d8
push eax
mov eax, dword [0x6b6f64]
mov eax, dword [eax]
call eax
mov eax, esi
call fcn.00491078
cmp dword [esi + 0x1d4], 0
jne 0x640fbc
push 4
mov eax, esi
call fcn.004999d8
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x90]
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x665368
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 6]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
cmp edx, dword [ebp + 0xc]
jne 0x6653aa
mov esi, eax
mov eax, ecx
test edx, edx
jbe 0x6653a6
movzx ecx, byte [esi]
xor cl, byte [ebp - 2]
mov byte [eax], cl
add cl, byte [ebp - 2]
movzx ecx, cl
imul cx, word [ebp - 6]
add cx, word [ebp - 4]
mov word [ebp - 2], cx
inc esi
inc eax
dec edx
jne 0x665386
mov al, 1
jmp 0x6653ac
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x6653b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov esi, ecx
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp], edx
mov ebx, eax
mov eax, ebx
call fcn.0044a434
mov edi, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov esi, eax
sub esi, edi
mov edx, esi
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebx + 4]
add edx, edi
mov eax, dword [esp]
mov eax, dword [eax + 4]
test esi, esi
jbe 0x665419
movzx ecx, byte [edx]
xor cl, byte [esp + 8]
mov byte [eax], cl
add cl, byte [esp + 8]
movzx ecx, cl
imul cx, word [esp + 4]
add cx, word [esp + 6]
mov word [esp + 8], cx
inc edx
inc eax
dec esi
jne 0x6653f4
mov al, 1
add esp, 0xc
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x679e75
mov eax, dword [esp + 0x10000]
add esp, 0xfffffdbc
mov esi, 0x6b6110
mov edx, dword [0x6b71e0]
mov byte [edx], 0
or ebx, 0xffffffff
mov edx, eax
lea eax, [esp + 4]
call fcn.00404d10
mov edx, 1
lea eax, [esp + 4]
call fcn.0040507c
call fcn.00404714
test eax, eax
jne 0x679f08
push esp
lea edx, [esp + 0x258]
mov ecx, 0xfff1
lea eax, [esp + 8]
call fcn.00404e60
movzx edx, word [esp]
test dx, dx
jbe 0x679f02
lea eax, [esp + 0x254]
movzx ecx, byte [eax]
mov edi, ebx
and edi, 0xff
xor ecx, edi
mov ecx, dword [esi + ecx*4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc eax
dec dx
jne 0x679ee5
cmp dword [esp], 0
jne 0x679ebf
lea eax, [esp + 4]
call fcn.00404e80
not ebx
mov eax, ebx
add esp, 0x10248
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
or ecx, 0xffffffff
mov ebx, eax
mov eax, edx
test eax, eax
jbe 0x679f4c
movzx edx, byte [ebx]
mov esi, ecx
and esi, 0xff
xor edx, esi
mov edx, dword [edx*4 + 0x6b6110]
shr ecx, 8
xor edx, ecx
mov ecx, edx
inc ebx
dec eax
jne 0x679f2d
not ecx
mov eax, ecx
pop esi
pop ebx
ret
Function at 0x67a9ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x67a9f5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040723c
mov eax, dword [ebp - 8]
call fcn.0040723c
xor eax, eax
push ebp
push 0x67ac15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040716c
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x67aa3e
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xe
jl 0x67abbd
mov ebx, edx
test ebx, ebx
je 0x67aa52
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x20]
push eax
mov edx, ebx
sub edx, 9
mov ecx, 0xa
mov eax, dword [ebp - 4]
call fcn.00407a24
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00407ef0
mov eax, dword [ebp - 0x1c]
call fcn.0041f1b8
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x67aa89
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, 9
lea eax, [ebp - 4]
mov ecx, 0xa
call fcn.00407a6c
mov eax, dword [ebp - 4]
call fcn.00679f74
cmp ebx, eax
jne 0x67abbd
lea eax, [ebp - 0x28]
push eax
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407a24
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
call fcn.00407ef0
mov eax, dword [ebp - 0x24]
call fcn.0041f144
mov byte [ebp - 0x15], al
mov eax, edi
movzx edx, byte [ebp - 0x15]
mov ecx, 0
call fcn.00407880
mov eax, dword [ebp - 8]
test eax, eax
je 0x67aaf3
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x67ab02
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov esi, 4
cmp esi, dword [ebp - 0x10]
jge 0x67abac
lea eax, [ebp - 0x30]
push eax
mov ecx, 3
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00407a24
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.00407ef0
mov eax, dword [ebp - 0x2c]
call fcn.0041f144
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
mov eax, esi
mov ecx, 3
cdq
idiv ecx
cdq
idiv dword [ebp - 0x14]
inc edx
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00407a24
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.00407ef0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
mov byte [ebp - 0x16], al
movzx eax, byte [ebp - 0x16]
xor al, bl
xor al, byte [ebp - 0x15]
mov byte [ebp - 0x17], al
mov byte [ebp - 0x15], bl
movzx eax, byte [ebp - 0x17]
mov byte [ebp - 0x18], al
lea eax, [ebp - 0x38]
movzx edx, byte [ebp - 0x18]
mov ecx, 0
call fcn.00407870
mov edx, dword [ebp - 0x38]
mov eax, edi
call fcn.00407974
add esi, 3
cmp esi, dword [ebp - 0x10]
jl 0x67ab13
mov eax, edi
mov ecx, 3
mov edx, 1
call fcn.00407a6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67ac1c
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.004071d8
lea eax, [ebp - 0x2c]
call fcn.00407148
lea eax, [ebp - 0x28]
call fcn.0040716c
lea eax, [ebp - 0x24]
call fcn.00407148
lea eax, [ebp - 0x20]
call fcn.0040716c
lea eax, [ebp - 0x1c]
call fcn.00407148
lea eax, [ebp - 0xc]
call fcn.00407148
lea eax, [ebp - 8]
mov edx, 2
call fcn.004071d8
ret
Function at 0x67b514
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040722c
mov eax, dword [ebp - 8]
call fcn.0040722c
xor eax, eax
push ebp
push 0x67b710
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0067b43c
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00407570
mov eax, esi
call fcn.00407148
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x67b582
sub eax, 4
mov eax, dword [eax]
cmp eax, 8
jl 0x67b6e0
mov ebx, edx
test ebx, ebx
je 0x67b596
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + ebx*2 - 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x67b72c
call fcn.00420b04
mov eax, dword [ebp - 4]
mov ebx, eax
test ebx, ebx
je 0x67b5c6
sub ebx, 4
mov ebx, dword [ebx]
mov edi, eax
test edi, edi
je 0x67b5d1
sub edi, 4
mov edi, dword [edi]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + ebx*2 - 6]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x67b72c
call fcn.00420b04
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
mov edx, edi
dec edx
mov ecx, 2
mov eax, dword [ebp - 4]
call fcn.00408254
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040810c
mov eax, dword [ebp - 0x24]
call fcn.0041f1b8
mov ebx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x67b633
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, 3
lea eax, [ebp - 4]
mov ecx, 4
call fcn.0040829c
mov eax, dword [ebp - 4]
call fcn.00679f54
cmp ebx, eax
jne 0x67b6e0
mov eax, dword [ebp - 4]
movzx ebx, word [eax]
mov word [ebp - 0x12], bx
mov eax, esi
mov edx, ebx
call fcn.00407e40
mov eax, dword [ebp - 8]
test eax, eax
je 0x67b674
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x67b683
sub eax, 4
mov eax, dword [eax]
mov edi, eax
sub edi, 2
jl 0x67b6cf
inc edi
mov ebx, 2
mov eax, dword [ebp - 4]
movzx ecx, word [eax + ebx*2 - 2]
mov eax, ebx
dec eax
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp - 8]
movzx eax, word [eax + edx*2]
xor ax, cx
xor ax, word [ebp - 0x12]
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], cx
lea eax, [ebp - 0x30]
movzx edx, word [ebp - 0x14]
call fcn.00407e40
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040802c
inc ebx
dec edi
jne 0x67b690
mov eax, esi
mov ecx, 3
mov edx, 1
call fcn.0040829c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67b717
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004071a8
lea eax, [ebp - 0x18]
call fcn.00407148
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004071a8
ret