joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x4013d7
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4013c6
pop edi
mov eax, edx
pop esi
pop ebp
ret

Function at 0x401a40
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x401a5b
mov edx, dword [esi + 0x74]
dec ecx
mov eax, dword [edx]
mov dword [esi + 0x70], ecx
lea ecx, [edx + 4]
mov dword [esi + 0x74], ecx
pop esi
ret
push str.Fossilize_ERROR:_Tried_to_parse_string__but_nothing_left_in_arguments._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
push 1
call fcn.004eec9b
int3

Function at 0x401a90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50dbcd
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x70], 0
je 0x401b79
mov eax, dword [edi + 0x74]
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea esi, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ad8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004011f0
mov dword [ebp - 4], 0
call fcn.004ee969
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
mov ebx, eax
lea eax, [ebp - 0x10]
cmova esi, dword [ebp - 0x2c]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.004f2627
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x10]
je 0x401ba5
cmp dword [ebx], 0x22
je 0x401baf
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x401b61
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401b54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bb9
push ecx
push edx
call fcn.004e9693
mov eax, dword [ebp - 0x14]
add esp, 8
dec dword [edi + 0x70]
add dword [edi + 0x74], 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.Fossilize_ERROR:_Tried_to_parse_uint__but_nothing_left_in_arguments._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
push 2
call fcn.004f2743
push eax
call fcn.004f2b00
add esp, 0x10
push 1
call fcn.004eec9b
push str.invalid_stoul_argument
call fcn.004e72b1
push str.stoul_argument_out_of_range
call fcn.004e72f1
call fcn.004ee89f
int3

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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, dword [edx + 0x10]
jbe 0x404423
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x404441
mov edi, edi
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x404430
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x404450
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x404e4e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x404e74
lea esp, [esp]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x404e60
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.004048a0
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x405ad0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x405afb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x405ae4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x40aad0
Capabilities:
Encode data using xor
Hash data using fnv
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
pop ebp
jmp fcn.0040aae0
Function at 0x4107f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
pop ebp
jmp fcn.00410800

Function at 0x4165c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50dfc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [esi + 0xe], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
cmp dword [esi + 0x10], 0
mov byte [ebp - 4], 1
jne 0x41667d
push 0x14
call fcn.004e9663
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x416675
mov dword [eax], 0
mov dword [eax + 4], 0x10000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x416677
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x418710
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x100
push 0x1b3
xor eax, 0xaf63bd4c
mov ecx, dword [esi + 0xc]
xor ecx, 0x8601b7df
push eax
push ecx
call fcn.004e9870
xor eax, dword [esi + 0x18]
xor edx, 0
push 0x100
push 0x1b3
push edx
push eax
call fcn.004e9870
xor eax, dword [esi + 0x14]
xor edx, 0
mov ecx, dword [esi + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
test ecx, ecx
je 0x418776
push ecx
lea ecx, [ebp - 8]
call fcn.00429300
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x41878d
push 0x100
push 0x1b3
push edx
push eax
call fcn.004e9870
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [esi + 0x10]
pop esi
test ecx, ecx
je 0x4187a8
push ecx
lea ecx, [ebp - 8]
call fcn.00429300
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push 0x100
push 0x1b3
push edx
push eax
call fcn.004e9870
mov esp, ebp
pop ebp
ret
Function at 0x418890
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push 0x10
push ebx
call fcn.00418310
mov dword [ebp - 0x10], 0
mov ecx, eax
mov dword [ebp - 8], ecx
mov edx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], 0
test ebx, ebx
je 0x418aa3
push esi
mov esi, 0x3f
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
mov dl, byte [edi]
test dl, dl
je 0x418a9e
mov bl, byte [edi + 1]
test bl, bl
je 0x418a9e
mov ah, byte [edi + 2]
mov byte [ebp - 1], ah
test ah, ah
je 0x418a9e
mov bh, byte [edi + 3]
add edi, 4
test bh, bh
je 0x418a9e
mov al, dl
sub al, 0x41
cmp al, 0x19
ja 0x418916
movsx ecx, dl
sub ecx, 0x41
jmp 0x41894a
mov al, dl
sub al, 0x61
cmp al, 0x19
ja 0x418926
movsx ecx, dl
sub ecx, 0x47
jmp 0x41894a
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x418936
movsx ecx, dl
add ecx, 4
jmp 0x41894a
cmp dl, 0x2b
jne 0x418942
mov ecx, 0x3e
jmp 0x41894a
xor ecx, ecx
cmp dl, 0x2f
cmove ecx, esi
mov al, bl
sub al, 0x41
cmp al, 0x19
ja 0x41895a
movsx esi, bl
sub esi, 0x41
jmp 0x418993
mov al, bl
sub al, 0x61
cmp al, 0x19
ja 0x41896a
movsx esi, bl
sub esi, 0x47
jmp 0x418993
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x41897a
movsx esi, bl
add esi, 4
jmp 0x418993
cmp bl, 0x2b
jne 0x418986
mov esi, 0x3e
jmp 0x418993
xor esi, esi
mov edx, 0x3f
cmp bl, 0x2f
cmove esi, edx
mov al, ah
sub al, 0x41
cmp al, 0x19
ja 0x4189a3
movsx edx, ah
sub edx, 0x41
jmp 0x4189dc
mov al, ah
sub al, 0x61
cmp al, 0x19
ja 0x4189b3
movsx edx, ah
sub edx, 0x47
jmp 0x4189dc
mov al, ah
sub al, 0x30
cmp al, 9
ja 0x4189c3
movsx edx, ah
add edx, 4
jmp 0x4189dc
cmp ah, 0x2b
jne 0x4189cf
mov edx, 0x3e
jmp 0x4189dc
xor edx, edx
cmp ah, 0x2f
mov eax, 0x3f
cmove edx, eax
mov al, bh
sub al, 0x41
cmp al, 0x19
ja 0x4189ec
movsx eax, bh
sub eax, 0x41
jmp 0x418a21
mov al, bh
sub al, 0x61
cmp al, 0x19
ja 0x4189fc
movsx eax, bh
sub eax, 0x47
jmp 0x418a21
mov al, bh
sub al, 0x30
cmp al, 9
ja 0x418a0c
movsx eax, bh
add eax, 4
jmp 0x418a21
cmp bh, 0x2b
jne 0x418a18
mov eax, 0x3e
jmp 0x418a21
xor eax, eax
cmp bh, 0x2f
cmove eax, dword [ebp - 0x18]
shl ecx, 6
or ecx, esi
shl ecx, 6
or ecx, edx
shl ecx, 6
or ecx, eax
cmp byte [ebp - 1], 0x3d
jne 0x418a48
cmp bh, 0x3d
jne 0x418a48
mov edx, dword [ebp - 0xc]
mov eax, 1
shr ecx, 0x10
jmp 0x418a6f
mov esi, dword [ebp - 0x1c]
mov eax, ecx
mov edx, dword [ebp - 0xc]
shr eax, 0x10
inc edx
mov byte [esi], al
mov eax, ecx
shr eax, 8
mov byte [edx], al
cmp bh, 0x3d
jne 0x418a69
mov eax, 2
jmp 0x418a71
inc edx
mov eax, 3
mov byte [edx], cl
mov ebx, dword [ebp - 0x10]
mov esi, 0x3f
add ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
adc eax, 0
inc edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
test eax, eax
jb 0x4188d2
ja 0x418a9e
cmp ebx, dword [ebp + 0x10]
jb 0x4188d2
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a0f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor eax, eax
mov dword [ebp - 0x14], str.application
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x18], eax
mov edi, 0x405
lea eax, [ebp - 0x1c]
mov word [ebp - 0xe], di
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0x1c], 0xb
push eax
call fcn.00413d10
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
shl ecx, 5
add ecx, dword [esi + 8]
cmp eax, ecx
je 0x41a13e
add eax, 0x10
jmp 0x41a159
xor eax, eax
mov dword [0x5aff78], eax
mov dword [0x5aff7c], eax
mov dword [0x5aff80], eax
mov dword [0x5aff84], eax
mov eax, 0x5aff78
mov ebx, 0x1000
test word [eax + 0xe], bx
jne 0x41a167
mov eax, dword [eax + 8]
push 0x10
push 0
push eax
call fcn.004f2651
mov dword [ebp - 0xc], eax
add esp, 0xc
xor eax, eax
mov dword [ebp + 0xc], edx
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
mov word [ebp - 0xe], di
push eax
mov dword [ebp - 0x14], 0x51ece0
mov dword [ebp - 0x1c], 3
call fcn.00413d10
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
shl ecx, 5
add ecx, dword [esi + 8]
cmp eax, ecx
je 0x41a1b7
add eax, 0x10
jmp 0x41a1d2
xor eax, eax
mov dword [0x5aff78], eax
mov dword [0x5aff7c], eax
mov dword [0x5aff80], eax
mov dword [0x5aff84], eax
mov eax, 0x5aff78
mov eax, dword [eax]
mov ecx, esi
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov word [ebp - 0xe], di
push eax
mov dword [ebp - 0x14], str.hash
mov dword [ebp - 0x1c], 4
call fcn.00413d10
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
shl ecx, 5
add ecx, dword [esi + 8]
cmp eax, ecx
je 0x41a214
add eax, 0x10
jmp 0x41a22f
xor eax, eax
mov dword [0x5aff78], eax
mov dword [0x5aff7c], eax
mov dword [0x5aff80], eax
mov dword [0x5aff84], eax
mov eax, 0x5aff78
test word [eax + 0xe], bx
jne 0x41a238
mov eax, dword [eax + 8]
push 0x10
push 0
push eax
call fcn.004f2651
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov ebx, dword [ebp + 8]
mov esi, eax
mov edi, edx
xor eax, eax
xor eax, 0xaf63bd4c
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 0xc]
push ecx
push 0x100
push 0x1b3
xor ecx, 0x8601b7df
push eax
push ecx
call fcn.004e9870
xor eax, dword [ebp + 0xc]
xor edx, 0
push 0x100
push 0x1b3
push edx
push eax
call fcn.004e9870
xor eax, dword [ebp - 4]
xor edx, 0
push 0x100
push 0x1b3
push edx
push eax
call fcn.004e9870
push 0x100
push 0x1b3
xor edx, 0
xor eax, esi
push edx
push eax
call fcn.004e9870
xor edx, 0
xor eax, edi
push edx
push eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x429300
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
push 0x100
push 0x1b3
push dword [ebx + 4]
push dword [ebx]
call fcn.004e9870
mov edi, dword [ebp + 8]
mov esi, eax
mov ecx, edx
xor esi, 0xff
xor ecx, 0
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov al, byte [edi]
inc edi
mov byte [ebp + 0xb], al
test al, al
je 0x429370
jmp 0x429340
push 0x100
push 0x1b3
push ecx
push esi
call fcn.004e9870
mov esi, eax
lea edi, [edi + 1]
movzx eax, byte [ebp + 0xb]
mov ecx, edx
cdq
xor esi, eax
xor ecx, edx
mov dword [ebx], esi
mov dword [ebx + 4], ecx
mov al, byte [edi - 1]
mov byte [ebp + 0xb], al
test al, al
jne 0x429340
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42cfa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [edi + 0xc]
cmp eax, 1
jne 0x42d0b1
mov eax, dword [ebp + 0xc]
push ebx
cmp dword [edi + 0x14], eax
jne 0x42d016
cmp dword [edi + 8], eax
jne 0x42d016
cmp byte [ebp + 0x14], 0
lea ebx, [esi + 0x178]
je 0x42cff3
push ebx
call fcn.004e7337
add esp, 4
test eax, eax
jne 0x42d0d7
mov eax, dword [ebx + 0x2c]
cmp eax, 0x7fffffff
je 0x42d0de
push 0
push dword [edi]
push dword [esi + 0xc]
call fcn.004f521b
add esp, 0xc
test eax, eax
jns 0x42d021
mov eax, dword [ebp + 0x14]
test al, al
je 0x42d016
push ebx
call fcn.004e7348
add esp, 4
pop ebx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
mov esi, dword [edi + 8]
push dword [eax + 0xc]
push esi
push 1
push dword [ebp + 8]
call fcn.004f4e8a
add esp, 0x10
cmp eax, esi
jne 0x42d006
cmp byte [ebp + 0x14], 0
je 0x42d04b
push ebx
call fcn.004e7348
add esp, 4
cmp dword [edi + 0x10], 0
je 0x42d0a6
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.00437d50
add esp, 0xc
cmp eax, dword [edi + 0x10]
je 0x42d0a6
call fcn.00418bb0
cmp eax, 2
jg 0x42d016
push str.CRC_mismatch__n
push 2
call fcn.004191f0
add esp, 8
test al, al
jne 0x42d016
push str.Fossilize_ERROR:_CRC_mismatch__n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
add esp, 8
xor al, al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x42d0cd
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042d0f0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 5
call fcn.004e7572
dec eax
push 6
mov dword [ebx + 0x2c], eax
call fcn.004e7572
int3
Function at 0x42d0f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50e595
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
cmp dword [edi + 0x14], eax
je 0x42d12e
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push esi
xor esi, esi
mov dword [ebp - 0x14], esi
mov al, byte [ebp + 0x14]
lea ecx, [ebx + 0x178]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], al
test al, al
je 0x42d172
push ecx
call fcn.004e7337
add esp, 4
test eax, eax
jne 0x42d2fc
mov eax, dword [ebx + 0x1a4]
cmp eax, 0x7fffffff
je 0x42d303
mov al, byte [ebp + 0x14]
mov byte [ebp - 4], 1
test al, al
je 0x42d23f
push dword [edi + 8]
call fcn.004e96c4
mov esi, eax
mov dword [ebp + 0x10], eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0
push dword [edi]
push dword [ebx + 0xc]
call fcn.004f521b
add esp, 0xc
test eax, eax
js 0x42d29e
push dword [ebx + 0xc]
push dword [edi + 8]
push 1
push dword [ebp + 0x10]
call fcn.004f4e8a
add esp, 0x10
cmp eax, dword [edi + 8]
jne 0x42d29e
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 0
je 0x42d1dd
lea eax, [ebx + 0x178]
push eax
call fcn.004e7348
add esp, 4
cmp dword [edi + 0x10], 0
je 0x42d2d4
push dword [edi + 8]
push dword [ebp + 0x10]
push 0
call fcn.00437d50
add esp, 0xc
cmp eax, dword [edi + 0x10]
je 0x42d2d4
call fcn.00418bb0
cmp eax, 2
jg 0x42d2b0
push str.CRC_mismatch__n
push 2
call fcn.004191f0
add esp, 8
test al, al
jne 0x42d2b0
push str.Fossilize_ERROR:_CRC_mismatch__n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
add esp, 8
jmp 0x42d2b0
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x16c]
mov dword [ebp + 0x10], eax
cmp dword [ebx + 0x170], ecx
jae 0x42d191
push ecx
push eax
call fcn.004f5e05
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x42d27c
mov dword [ebx + 0x16c], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x170], eax
jmp 0x42d191
push dword [ebx + 0x16c]
call fcn.004f4a6e
mov dword [ebx + 0x16c], 0
add esp, 4
mov dword [ebx + 0x170], 0
cmp byte [ebp + 0x14], 0
je 0x42d2b0
mov eax, dword [ebp - 0x18]
push eax
call fcn.004e7348
add esp, 4
xor bl, bl
test esi, esi
je 0x42d2bf
push esi
call fcn.004e96cd
add esp, 4
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push dword [edi + 8]
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
push eax
push dword [ebp + 8]
call fcn.004380d0
add esp, 0x10
test eax, eax
jne 0x42d2b0
cmp dword [ebp - 0x10], ebx
jne 0x42d2b0
mov bl, 1
jmp 0x42d2b2
push 5
call fcn.004e7572
dec eax
push 6
mov dword [ebx + 0x1a4], eax
call fcn.004e7572
int3
Function at 0x42d320
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x154], 1
jne 0x42d3cb
mov eax, dword [edi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x42d3cb
push dword [ebp + 8]
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
je 0x42d3cb
push ebx
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x42d3c4
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 4]
push ebx
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x42d3d6
call fcn.00418bb0
cmp eax, 2
jg 0x42d3bd
push str.Failed_to_write_metadata_block._n
push 2
call fcn.004191f0
add esp, 8
test al, al
jne 0x42d3bd
push str.Fossilize_ERROR:_Failed_to_write_metadata_block._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42dc60
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 4]
cmp dword [eax], 0
jne 0x42dceb
cmp dword [eax + 4], 0
jne 0x42dceb
push 0
push 0
push 0
push 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x42dd20
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x42dcb5
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x10]
mov ecx, dword [ebx + 4]
push esi
call fcn.0042e230
mov bl, al
test bl, bl
je 0x42dcda
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00418bb0
cmp eax, 2
jg 0x42dd20
push str.Cannot_use_imported_metadata_along_with_white__or_blacklists._n
push 2
call fcn.004191f0
add esp, 8
test al, al
jne 0x42dd20
push str.Fossilize_ERROR:_Cannot_use_imported_metadata_along_with_white__or_blacklists._n
push 2
call fcn.004f2743
add esp, 4
push eax
call fcn.00401d60
add esp, 8
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f980
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
cmp byte [edi + 0x174], 0
je 0x42fae0
cmp dword [edi + 0x168], 1
jne 0x42fae0
mov edx, dword [edi + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
test edx, edx
je 0x42f9dd
lea ebx, [ebp - 0x20]
push ebx
push ecx
push eax
push dword [ebp + 8]
push edx
call fcn.0042d3f0
add esp, 0x14
test al, al
je 0x42fae0
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
jmp 0x42fa40
mov eax, dword [ebp + 8]
shl eax, 5
add eax, edi
mov dword [ebp + 8], eax
lea ebx, [eax + 0x28]
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00404450
push eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
lea eax, [ebp - 8]
push eax
call fcn.00404930
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x42fa10
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x2c]
je 0x42fae0
mov eax, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], eax
test esi, esi
je 0x42fae0
mov ecx, dword [ebp + 0x1c]
mov edx, ecx
and edx, 1
je 0x42fa55
lea eax, [ebx + 0x10]
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x42fb07
cmp dword [esi], eax
jb 0x42fae0
shr ecx, 1
and ecx, 0xffffff01
mov dword [esi], eax
push ecx
test edx, edx
je 0x42faeb
lea eax, [edi + 0x178]
push eax
lea ecx, [ebp + 0xc]
call fcn.0042bb50
mov eax, dword [ebp - 0x20]
push 0
add eax, 0xfffffff0
push eax
push dword [edi + 0xc]
call fcn.004f521b
add esp, 0xc
test eax, eax
js 0x42facf
push dword [edi + 0xc]
mov esi, dword [ebp - 0x18]
add esi, 0x10
push esi
push 1
push ebx
call fcn.004f4e8a
add esp, 0x10
cmp eax, esi
jne 0x42facf
cmp byte [ebp + 0x10], 0
je 0x42fb09
push dword [ebp + 0xc]
call fcn.004e7348
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp byte [ebp + 0x10], 0
je 0x42fae0
push dword [ebp + 0xc]
call fcn.004e7348
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [ebp - 0x20]
push ecx
push eax
push ebx
mov ecx, edi
call fcn.0042cfa0
test al, al
je 0x42fae0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi], eax
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18