joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474e50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544b55
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x30], esi
call fcn.004b6890
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov esi, dword [esi + 0x18]
cmp esi, dword [eax + 0x1c]
je 0x474eed
nop dword [eax]
cmp dword [edi + 0x14], 8
mov eax, edi
mov ecx, dword [edi + 0x10]
jb 0x474ead
mov eax, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0x10]
jb 0x474ec0
mov eax, dword [esi]
mov dword [ebp - 0x28], ecx
lea edi, [esi + 0x28]
push 0
lea edx, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
call fcn.00422280
add esp, 4
test al, al
jne 0x474f23
mov eax, dword [ebp - 0x14]
mov esi, edi
mov edi, dword [ebp - 0x1c]
cmp esi, dword [eax + 0x1c]
jne 0x474ea0
xor cl, cl
mov byte [ebp - 0xd], cl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
test eax, eax
je 0x474fda
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
sub eax, dword [esi + 0x20]
mov ecx, dword [edx + 0x14]
sbb ecx, dword [esi + 0x24]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x474fab
lea esi, [edi - 8]
lea eax, [esi - 0x20]
cmp eax, edi
je 0x474f80
lea ecx, [esi - 0x20]
call fcn.00410460
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
movups xmm0, xmmword [eax]
movups xmmword [esi - 0x20], xmm0
movq xmm0, qword [eax + 0x10]
xor eax, eax
movq qword [esi - 0x10], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [edi], ax
nop
mov eax, dword [esi + 0x20]
add edi, 0x28
mov ecx, dword [esi + 0x24]
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 0x28
mov dword [ebp - 0x18], edi
cmp edi, dword [ebp - 0x20]
jne 0x474f45
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
lea ecx, [eax - 0x28]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0
call fcn.00410460
mov eax, dword [ebp - 0x14]
add dword [eax + 0x1c], 0xffffffd8
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 8
jb 0x474fcc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov cl, 1
jmp 0x474eef
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4762d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544fc1
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5b2de0]
cmp eax, dword [edx + 4]
jle 0x476376
push 0x5b2de0
call fcn.004ef756
add esp, 4
cmp dword [0x5b2de0], 0xffffffff
jne 0x476376
mov dword [ebp - 4], 0
mov ecx, 0x5b2dc4
push 0x3e
push 0x5786a8
mov dword [0x5b2dc4], 0
mov dword [0x5b2dd4], 0
mov dword [0x5b2dd8], 0xf
call fcn.004122a0
push 0x55acd0
call fcn.004efcef
mov dword [ebp - 4], 0xffffffff
push 0x5b2de0
call fcn.004ef70c
add esp, 8
mov eax, dword [ebx + 4]
xor edi, edi
sub eax, dword [ebx]
je 0x4763af
nop
cmp dword [0x5b2dd8], 0x10
mov esi, 0x5b2dc4
mov eax, edi
mov ecx, dword [ebx]
cmovae esi, dword [0x5b2dc4]
xor edx, edx
div dword [0x5b2dd4]
mov al, byte [edx + esi]
xor byte [ecx + edi], al
inc edi
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
cmp edi, eax
jb 0x476380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47dbc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546707
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], ebx
mov eax, dword [edi]
test eax, eax
jne 0x47dc8d
cmp dword [edi + 0x30], 8
lea eax, [edi + 0x1c]
jb 0x47dc10
mov eax, dword [edi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47dc23
xor al, al
jmp 0x47dd9c
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
push ecx
lea ecx, [edi + 0x1c]
call fcn.00434f80
add esp, 4
test al, al
je 0x47dc77
lea edx, [edi + 0x10]
lea ecx, [ebp - 0x58]
call fcn.004365d0
test al, al
je 0x47dc77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
mov bl, 1
call fcn.004121e0
jmp 0x47dd9a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
xor bl, bl
call fcn.004121e0
jmp 0x47dd9a
cmp eax, 1
jne 0x47dd9a
lea eax, [edi + 0x1c]
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x47dcab
mov eax, dword [eax]
mov dword [ebp - 0x50], ecx
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
call fcn.0043c3e0
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], 2
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0041fe10
mov eax, 3
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x48], eax
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00410460
call fcn.004bf030
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x44]
push eax
call int.00416650
mov byte [ebp - 4], 4
lea ebx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
mov edi, dword [ebp - 0x2c]
setae al
jb 0x47dd22
mov esi, dword [ebp - 0x1c]
mov ebx, edi
add esi, edi
jmp 0x47dd38
lea ecx, [ebp - 0x2c]
test al, al
je 0x47dd30
mov esi, dword [ebp - 0x1c]
add esi, edi
jmp 0x47dd38
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x2c]
add esi, ecx
cmp edi, esi
je 0x47dd54
sub ebx, edi
nop
movsx eax, byte [edi]
push eax
call fcn.004fd36e
mov byte [ebx + edi], al
add esp, 4
inc edi
cmp edi, esi
jne 0x47dd40
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
add ecx, 0x10
push eax
call fcn.004c0680
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00410d30
mov eax, dword [ebp - 0x4c]
test bl, bl
movzx eax, al
mov ecx, 1
cmovne eax, ecx
and dword [ebp - 0x48], 0xfffffffd
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00410d30
mov ebx, dword [ebp - 0x4c]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ef615
mov esp, ebp
pop ebp
ret 4
Function at 0x4893d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov edx, 0x811c9dc5
push esi
push edi
mov ecx, 0
mov esi, dword [eax + 4]
mov edi, dword [eax]
sub esi, edi
je 0x489401
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4893f0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x48db90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a405
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x48dbc7
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x48dbe5
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x48dbd3
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0048e2e0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x48dc16
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x48dd73
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x14], 0
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call int.00416650
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x57ea80]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x57ea80]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x48dd03
divss xmm0, xmm3
call fcn.00489390
call fcn.00520bf0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x48dce7
cmp eax, 0x200
jae 0x48dce5
shl eax, 3
cmp eax, ecx
jae 0x48dce7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0048de50
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0048e2e0
mov edx, dword [eax]
jmp 0x48dd06
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x48dd39
mov dword [ecx + eax*8], edi
jmp 0x48dd4b
cmp esi, edx
jne 0x48dd42
mov dword [ecx + eax*8], edi
jmp 0x48dd4f
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x48dd4f
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004f082e
int3
Function at 0x4918d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ac3d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x30], eax
dec ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x30]
add eax, dword [esi + 0x2c]
mov dword [ebp - 0x44], eax
lea edx, [eax - 1]
mov eax, edx
and edx, 3
shr eax, 2
and ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*4]
call fcn.0042a200
lea ecx, [ebp - 0x2c]
mov edi, eax
call fcn.004ac3a0
mov dword [ebp - 4], 0
xor ecx, ecx
mov ebx, dword [edi + 0x10]
xor edx, edx
add ebx, dword [edi + 0xc]
mov esi, dword [edi]
test esi, esi
je 0x491960
mov ecx, dword [esi]
test ecx, ecx
je 0x49195c
mov ecx, dword [ecx]
jmp 0x49195e
xor ecx, ecx
mov edx, ecx
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
test edx, edx
je 0x491985
mov ecx, dword [ecx]
test ecx, ecx
je 0x491981
mov ecx, dword [ecx]
jmp 0x491983
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 8], ebx
mov ecx, edi
lea eax, [ebp - 0x48]
push eax
call fcn.00491df0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004ac500
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x4919ad
mov ecx, dword [esi]
jmp 0x4919af
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edi, dword [ebp - 0x40]
dec eax
mov ecx, dword [ecx + 4]
and eax, edi
push dword [ebp - 0x30]
mov ecx, dword [ecx + eax*4]
call fcn.004ac570
test esi, esi
je 0x4919ce
mov ecx, dword [esi]
jmp 0x4919d0
xor ecx, ecx
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
dec eax
push dword [ebp - 0x34]
and eax, edi
mov ecx, dword [ecx + eax*4]
call fcn.004ac610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef615
mov esp, ebp
pop ebp
ret 8
Function at 0x49ace0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54c8dd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 0
cmp esi, 0xc800000
jbe 0x49ad30
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push esi
push 0
push 2
push 0
push dword [ebp + 0xc]
lfence
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x49ad50
xor al, al
jmp 0x49ad66
push esi
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x10], eax
setne al
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
test al, al
jne 0x49ad84
xor bl, bl
jmp 0x49ad98
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049abc0
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0049adc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49fbe0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x49fbfe
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x49fc24
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x49fc10
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.0048e2e0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x49fc44
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x49ff90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d60d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0x10
jb 0x49ffc7
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x49ffe5
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x49ffd3
push esi
push edx
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0048e2e0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4a0016
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
je 0x4a0171
lea eax, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x14], 0
call fcn.004ef5e0
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push dword [ebp + 0xc]
lea eax, [edi + 8]
mov ecx, eax
mov dword [ebp - 0x10], eax
call int.00416650
mov byte [ebp - 4], 3
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 5
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x57ea80]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x57ea80]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4a0101
divss xmm0, xmm3
call fcn.00489390
call fcn.00520bf0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4a00e5
cmp eax, 0x200
jae 0x4a00e3
shl eax, 3
cmp eax, ecx
jae 0x4a00e5
mov eax, ecx
push eax
mov ecx, ebx
call fcn.0048de50
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0048e2e0
mov edx, dword [eax]
jmp 0x4a0104
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x4a0137
mov dword [ecx + eax*8], edi
jmp 0x4a0149
cmp esi, edx
jne 0x4a0140
mov dword [ecx + eax*8], edi
jmp 0x4a014d
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x4a014d
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004f082e
int3
Function at 0x4a3810
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov ebx, edx
ja 0x4a385e
mov esi, dword [ebp + 8]
jb 0x4a382c
cmp esi, 0xc800000
ja 0x4a385e
push 0
push esi
push 0
push 2
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x4a385e
push esi
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4a3866
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
push 0
push ebx
push esi
mov edx, eax
mov ecx, 0x800c
call fcn.00433fb0
add esp, 0xc
mov bl, al
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a3920
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54dd8d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5a9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x94]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [edi + 0x6c]
mov dword [ebp - 0x58], 0x57dbe4
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
push 0
push ebx
push 0
push 2
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea ecx, [ebp - 0x50]
mov esi, eax
call fcn.0043c280
mov dword [ebp - 0x50], esi
cmp esi, 0xffffffff
je 0x4a3a6c
push ebx
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00442e50
mov dword [ebp - 0x48], esi
test esi, esi
je 0x4a3a97
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x68]
mov edi, dword [edi + 0x6c]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], 0
call fcn.0046b880
test al, al
je 0x4a3a20
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp ecx, esi
jb 0x4a3a20
lea eax, [edi + esi]
cmp ecx, eax
ja 0x4a3a20
lea edx, [ecx + 0xf8]
cmp edx, esi
jb 0x4a3a20
lea eax, [edi + esi]
cmp edx, eax
ja 0x4a3a20
cmp word [ecx + 0x14], 0
sete bl
jmp 0x4a3a22
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], 0x57dbe4
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x48]
call fcn.00442e50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0043c280
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ef615
mov esp, ebp
pop ebp
ret
push str.Could_not_create_mapping
lea ecx, [ebp - 0x28]
call fcn.004120e0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
call fcn.004bbb90
push 0x5a68cc
lea eax, [ebp - 0x74]
push eax
call fcn.004f2c1b
push str.Could_not_map_view_of_file
lea ecx, [ebp - 0x40]
call fcn.004120e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x64]
call fcn.004bbb90
push 0x5a68cc
lea eax, [ebp - 0x64]
push eax
call fcn.004f2c1b
int3
Function at 0x4a4df0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5507c5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5a9008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
cmp esi, eax
je 0x4a4e97
cmp dword [esi + 0x14], 0x10
mov edi, esi
mov ebx, dword [esi + 0x10]
jb 0x4a4e42
mov edi, dword [esi]
xor eax, eax
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4a4e61
nop dword [eax]
movzx ecx, byte [eax + edi]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, ebx
jb 0x4a4e50
push edx
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.0048e2e0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
lea eax, [edx + 1]
cmp ecx, ebx
cmove eax, edx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jge 0x4a4ed8
add esi, 0x18
cmp esi, dword [ebp - 0x18]
jne 0x4a4e35
xor bl, bl
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x14]
call fcn.0048a8b0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
call fcn.0048db20
push 0x24
push dword [ebp + 0xc]
call fcn.004ef82c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4a4e99

Function at 0x4a5a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0x10
mov ebx, dword [esi + 0x10]
jb 0x4a5a9b
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4a5ab7
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4a5aa6
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edx
push esi
push eax
mov ecx, ebx
call fcn.0048e2e0
mov eax, dword [eax + 4]
test eax, eax
je 0x4a5ad3
mov ecx, dword [ebx + 4]
jmp 0x4a5ad8
mov eax, dword [ebx + 4]
mov ecx, eax
pop edi
pop esi
pop ebx
cmp eax, ecx
je 0x4a5ae6
mov eax, dword [eax + 0x20]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret