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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e805
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x54
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5def74], 8
mov edx, 0x5def60
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
cmovae edx, dword [0x5def60]
mov ecx, edx
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de450
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403d10
mov dword [ebp - 4], 0
mov esi, 0x5deff0
cmp dword [0x5df004], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x1c]
cmovae esi, dword [0x5deff0]
sub eax, ecx
cmp eax, 8
jb 0x4de5db
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 8
cmovae eax, dword [ebp - 0x2c]
push str.Resume.
push ecx
push eax
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
call fcn.00403e90
push esi
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408550
mov esi, eax
add esp, 4
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x4de540
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4de50e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4de504
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4de504
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x5c]
call fcn.00403990
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00403990
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4de57e
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
call fcn.004deb40
mov esi, eax
jmp 0x4de580
xor esi, esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x4de5bc
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4de5b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4de5b2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402990
int3
Function at 0x4de5f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a08d5
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5def74], 8
mov edx, 0x5def60
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovae edx, dword [0x5def60]
mov ecx, edx
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4de646
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403d10
mov dword [ebp - 4], 0
mov esi, 0x5deff0
cmp dword [0x5df004], 8
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x18]
cmovae esi, dword [0x5deff0]
sub eax, ecx
cmp eax, 8
jb 0x4de7ae
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 8
cmovae eax, dword [ebp - 0x28]
push str.Resume.
push ecx
push eax
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.00403e90
push esi
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00408550
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4de736
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4de704
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4de6fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4de6fa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x58]
call fcn.00403990
lea ecx, [ebp - 0x40]
call fcn.00403990
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4de794
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4de78a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4de78a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret
call fcn.00402990
int3
Function at 0x4df890
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bc7d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
mov eax, dword [0x5de00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
push eax
push 1
push edx
mov edx, ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
call fcn.004dddd0
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x18]
cmp eax, 1
sete al
mov byte [ebp - 0x2d], al
cmp ecx, 8
jb 0x4df955
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4df948
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4df948
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
mov al, byte [ebp - 0x2d]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052d3c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4ea0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
jne 0x4ea0cf
pop ebx
pop ecx
ret 8
push esi
mov esi, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 8], 0
cmp dword [esi + 0x14], 8
jb 0x4ea0e6
mov ecx, dword [esi]
lea edx, [esp + 8]
push edx
push 0
lea edx, [esp + 0x18]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 8]
test eax, eax
jne 0x4ea11e
mov ecx, dword [esp + 0x14]
push eax
push 0x5bd430
call fcn.004039f0
pop esi
mov eax, 1
pop ebx
pop ecx
ret 8
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0052d7ad
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x4ea144
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
push 0
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ea184
cmp dword [esp + 0x14], 1
jne 0x4ea184
mov ecx, dword [esp + 0x18]
push edi
call fcn.004036e0
push edi
call fcn.0052d7a8
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret 8
push edi
call fcn.0052d7a8
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret 8

Function at 0x4ea1a0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [ecx]
test esi, esi
je 0x4ea1db
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x10]
add edx, edx
cmp dword [eax + 0x14], 8
jb 0x4ea1b8
mov eax, dword [eax]
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x14], 8
jb 0x4ea1c4
mov ecx, dword [ecx]
push edx
push eax
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop esi
sbb eax, eax
inc eax
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x4ee8c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a1a0d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 2
push ebx
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x34]
mov dword [ebp - 4], 0
mov dword [ebx + 0x30], edi
push 8
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0052d778
add esp, 0xc
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
add ebx, 0x48
push 0x4f4660
push 0x4f4870
push 6
push 4
push ebx
mov byte [ebp - 4], 2
call fcn.0052d8d8
mov byte [ebp - 4], 3
add edi, 0x2000
mov dword [ebp + 8], 0
nop dword [eax]
push 0x18
call fcn.0052d778
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 5
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], ecx
test edi, edi
je 0x4ee9df
neg eax
cmp edi, eax
jbe 0x4ee9cb
push ecx
push edi
lea ecx, [esi + 0xc]
call fcn.00449730
jmp 0x4ee9df
push edi
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
add eax, edi
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 3
mov esi, dword [ebx]
mov eax, dword [ebp - 0x14]
mov dword [ebx], eax
test esi, esi
je 0x4eea3e
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4eea33
mov ecx, dword [esi + 0x14]
sub ecx, eax
cmp ecx, 0x1000
jb 0x4eea14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eea68
mov eax, edx
push ecx
push eax
call fcn.0052d747
mov dword [esi + 0xc], 0
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x18
push esi
call fcn.0052d747
add esp, 8
mov eax, dword [ebp + 8]
add ebx, 4
inc eax
mov dword [ebp + 8], eax
cmp eax, 6
jb 0x4ee970
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x4f3cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 8]
push dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
add esp, 4
test eax, eax
jne 0x4f3d50
mov edx, dword [ebx + 8]
lea eax, [esp + 0x10]
push eax
xor edi, edi
mov dword [esp + 0x10], edi
mov esi, dword [edx + 4]
push dword [edx + 8]
add esi, dword [edx]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgetpos]
add esp, 8
cmp edi, dword [esp + 0x14]
jl 0x4f3d50
mov eax, dword [esp + 0x10]
jg 0x4f3d10
cmp esi, eax
jbe 0x4f3d50
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
test ecx, ecx
je 0x4f3d50
mov edx, ecx
add edx, eax
mov eax, 0
mov dword [esp + 0x10], edx
adc eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [esp + 0xc], eax
jg 0x4f3d9d
jl 0x4f3d3a
cmp esi, edx
jae 0x4f3d9d
mov edi, ecx
sub edi, edx
push ecx
push 0
add edi, esi
jne 0x4f3d5e
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 8]
push dword [eax + 8]
push edi
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebx + 8]
push dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x20
test eax, eax
je 0x4f3d50
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 8]
push dword [eax + 8]
push ecx
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov dword [edi], eax
mov eax, dword [ebx + 8]
push dword [eax + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4f6c10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2215
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push dword [ebx + 8]
call fcn.004f7050
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x30], eax
lea eax, [esi + 4]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x24], 0
call fcn.0052d778
mov edx, dword [ebx + 8]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x24], eax
movups xmmword [eax + 8], xmm0
lea edi, [eax + 8]
add esp, 4
mov dword [edi + 0x10], 0
mov dword [ebp - 0x1c], edi
lea esi, [ecx + 2]
mov dword [edi + 0x14], 0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f6cb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00403d10
movq xmm0, qword [ebp - 0x34]
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
cmp dword [edi + 0x14], 8
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x18], edi
jb 0x4f6cf1
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x4f6d14
mov edi, dword [ebp - 0x18]
nop
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4f6d00
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push esi
push edi
push eax
call fcn.00406250
cmp dword [ebp - 0x1c], 0
je 0x4f6d47
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x4f6dc3
mov ecx, edi
call fcn.00403990
push 0x2c
push esi
call fcn.0052d747
add esp, 8
jmp 0x4f6dc3
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
cmp eax, 0x5d1745d
jne 0x4f6d5f
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x4f6db6
call fcn.004f7b50
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push esi
push edi
push eax
call fcn.00406250
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
jmp 0x4f6db9
mov edx, dword [ebp - 0x20]
push dword [ebp - 0x24]
push edx
push esi
call fcn.004f7bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x4f6de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, ecx
mov dword [esp + 4], eax
push ebx
push esi
mov eax, dword [eax + 4]
push edi
mov esi, dword [eax]
cmp esi, eax
je 0x4f6f03
mov ecx, dword [ebp + 8]
cmp dword [esi + 0x1c], 8
lea edi, [esi + 8]
mov ebx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov eax, edi
jb 0x4f6e19
mov eax, dword [edi]
push 1
push eax
push 2
call fcn.005207c0
test eax, eax
je 0x4f6ef1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4f6e35
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
push eax
push 2
call fcn.00520e90
cmp dword [edi + 0x14], 8
mov esi, dword [esi]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x14], edi
jb 0x4f6e55
mov eax, dword [edi]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], esi
add ecx, ecx
mov edx, 0x811c9dc5
mov dword [esp + 0x1c], ecx
je 0x4f6e8f
mov edi, dword [esp + 0x14]
mov ebx, ecx
nop
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x4f6e70
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov eax, dword [ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, edx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], ebx
jne 0x4f6ebf
cmp eax, ebx
jne 0x4f6eb7
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f6ec9
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
jmp 0x4f6ec9
cmp eax, ebx
jne 0x4f6ec9
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov ecx, edi
mov edx, dword [ebx]
dec dword [eax + 8]
mov eax, dword [ebx + 4]
mov dword [eax], edx
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
call fcn.00403990
push 0x2c
push ebx
call fcn.0052d747
add esp, 8
jmp 0x4f6ef3
mov esi, dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cmp esi, dword [eax + 4]
jne 0x4f6e02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f6f10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [esp + 8], ecx
mov ecx, edx
push esi
push edi
movss dword [esp + 0x14], xmm2
movaps xmmword [esp + 0x20], xmm0
lea esi, [ecx + 2]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f6f50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403d10
cmp dword [esp + 0x34], 8
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x20]
mov edx, 0x811c9dc5
mov eax, dword [esp + 0x30]
cmovae esi, edi
xor ecx, ecx
add eax, eax
je 0x4f6fa5
mov edi, eax
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4f6f90
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406250
mov esi, dword [eax + 4]
test esi, esi
jne 0x4f6fc7
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x34]
cmp eax, 8
jb 0x4f7001
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4f6ff7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f6ff7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0052d747
add esp, 8
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
je 0x4f7033
mov eax, dword [esi + 0x24]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5c7480]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x14]
call fcn.00580ee0
mov dword [esi + 0x24], eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 4
Function at 0x4f7050
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5de00c]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
movaps xmmword [esp + 0x20], xmm0
mov ecx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f7090
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00403d10
cmp dword [esp + 0x34], 8
lea esi, [esp + 0x20]
mov eax, dword [esp + 0x30]
mov edx, 0x811c9dc5
cmovae esi, dword [esp + 0x20]
xor ecx, ecx
add eax, eax
je 0x4f70e5
mov edi, eax
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4f70d0
mov edi, dword [esp + 0x18]
push edx
lea eax, [esp + 0x24]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00406250
mov esi, dword [eax + 4]
test esi, esi
jne 0x4f7101
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x34]
cmp eax, 8
jb 0x4f713f
mov edx, dword [esp + 0x20]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4f7135
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4f7135
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0052d747
add esp, 8
cmp esi, dword [edi + 4]
je 0x4f7151
push esi
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.004f7a70
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.0052d3c5
mov esp, ebp
pop ebp
ret 4
Function at 0x4f7170
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2267
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5de00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov edi, dword [eax]
cmp edi, eax
je 0x4f7328
mov ecx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x20], 0
lea ebx, [edi + 8]
mov dword [ebp - 0x2c], ebx
je 0x4f71d8
add dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x20]
cmp eax, dword [ebx + 0x1c]
jb 0x4f72e2
mov dword [ebx + 0x18], 0
mov ecx, dword [0x5e4614]
test ecx, ecx
jne 0x4f7259
push 0x44
call fcn.0052d778
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
push esi
mov dword [ebp - 4], 0
call dword [ebp - 0x1c]
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00441640
add esi, 0x30
mov byte [ebp - 4], 2
push 8
mov dword [ebp - 0x28], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0052d778
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [0x5e4614], ecx
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4f7263
mov eax, dword [ebx]
push 0xffffffffffffffff
push 0
push eax
push 2
call fcn.0043fb10
cmp dword [ebx + 0x14], 8
mov esi, edi
mov edi, dword [edi]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], ebx
jb 0x4f7287
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x4f72bc
mov ebx, dword [ebp - 0x14]
mov esi, eax
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f72a0
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
and ecx, edx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x4f72ee
cmp eax, esi
jne 0x4f72e6
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4f72f7
mov edi, dword [edi]
jmp 0x4f7319
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x4f72f7
cmp eax, esi
jne 0x4f72f7
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edx + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
call fcn.00403990
push 0x2c
push esi
call fcn.0052d747
add esp, 8
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 4]
mov eax, dword [ebp + 8]
jne 0x4f71b6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4