joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ac0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x401adb
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.004ee3fb
add esp, 4
push eax
call fcn.00401df0
push 2
call fcn.004ee3fb
push eax
call fcn.004ee7b8
add esp, 0x10
push 1
call fcn.004ea988
int3

Function at 0x401b10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50b28d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push edi
mov edi, ecx
cmp dword [edi + 0x70], 0
je 0x401c01
mov eax, dword [edi + 0x74]
push ebx
push esi
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea esi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401b60
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004019c0
mov dword [ebp - 4], 0
call fcn.004ea699
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov ebx, eax
lea eax, [ebp - 0x10]
cmovae esi, dword [ebp - 0x2c]
push 0xa
push eax
push esi
mov dword [ebx], 0
call fcn.004ee2b5
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x10]
je 0x401c2d
cmp dword [ebx], 0x22
pop esi
pop ebx
je 0x401c37
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x401beb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401bde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401c41
push edx
push ecx
call fcn.004e5ccb
mov eax, dword [ebp - 0x14]
add esp, 8
dec dword [edi + 0x70]
add dword [edi + 0x74], 4
mov ecx, dword [ebp - 0xc]
pop edi
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.004ee3fb
add esp, 4
push eax
call fcn.00401df0
push 2
call fcn.004ee3fb
push eax
call fcn.004ee7b8
add esp, 0x10
push 1
call fcn.004ea988
push str.invalid_stoul_argument
call fcn.004e34f1
push str.stoul_argument_out_of_range
call fcn.004e3531
call fcn.004ea5cf
int3
Function at 0x401c50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x401d77
cmp byte [esi + 0x78], 0
jne 0x401d77
mov eax, dword [esi + 0x74]
mov edx, dword [eax]
add eax, 4
mov dword [esi + 0x74], eax
lea eax, [ecx - 1]
mov dword [esi + 0x70], eax
mov dword [ebp - 4], edx
cmp byte [edx], 0x2d
je 0x401c9c
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x401c9c
mov dword [ebp - 4], edx
lea edx, [ebp - 4]
push edx
jmp 0x401d67
mov eax, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401cb6
sub eax, edi
lea ecx, [ebp - 0x24]
push eax
push edx
call fcn.004019c0
cmp dword [ebp - 0x10], 0x10
lea edi, [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov edx, 0x811c9dc5
cmovae edi, ebx
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
jbe 0x401cf4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x14]
jb 0x401ce2
push edx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.004011b0
mov edi, dword [eax + 4]
test edi, edi
jne 0x401d0e
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
jb 0x401d41
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x401d37
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401dba
push ecx
push ebx
call fcn.004e5ccb
add esp, 8
cmp edi, dword [esi + 4]
jne 0x401d5f
cmp byte [esi + 0x79], 0
je 0x401d80
mov ecx, dword [esi + 0x6c]
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x401dbf
lea edx, [ebp - 4]
push edx
jmp 0x401d67
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x401dbf
push esi
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
test ecx, ecx
jne 0x401c66
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push str.Fossilize_ERROR:_Invalid_argument._n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
push 2
call fcn.004ee3fb
push eax
call fcn.004ee7b8
mov ecx, dword [esi + 0x44]
add esp, 0x10
test ecx, ecx
je 0x401db1
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ea5cf
call fcn.004e34d4
int3

Function at 0x404540
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 0x404eb0
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], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x404ece
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x404ef4
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x404ee0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.00404910
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 0x405b20
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
test esi, esi
je 0x405b4b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x405b34
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret
Function at 0x40a230
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.0040a240
Function at 0x40fa40
Capabilities:
Encode data using xor
Hash data using fnv

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

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b668
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 0x41539d
push 0x14
call fcn.004e5c9b
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x415395
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 0x415397
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 0x417440
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 pe_nt_image_headers32
push 0x1b3
xor eax, 0xaf63bd4c
mov ecx, dword [esi + 0xc]
xor ecx, 0x8601b7df
push eax
push ecx
call fcn.004e5f60
xor eax, dword [esi + 0x18]
xor edx, 0
push pe_nt_image_headers32
push 0x1b3
push edx
push eax
call fcn.004e5f60
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 0x4174a6
push ecx
lea ecx, [ebp - 8]
call fcn.004281e0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
jmp 0x4174bd
push pe_nt_image_headers32
push 0x1b3
push edx
push eax
call fcn.004e5f60
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov ecx, dword [esi + 0x10]
pop esi
test ecx, ecx
je 0x4174d8
push ecx
lea ecx, [ebp - 8]
call fcn.004281e0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push pe_nt_image_headers32
push 0x1b3
push edx
push eax
call fcn.004e5f60
mov esp, ebp
pop ebp
ret
Function at 0x417620
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.00417040
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 0x417833
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 0x41782e
mov bl, byte [edi + 1]
test bl, bl
je 0x41782e
mov ah, byte [edi + 2]
mov byte [ebp - 1], ah
test ah, ah
je 0x41782e
mov bh, byte [edi + 3]
add edi, 4
test bh, bh
je 0x41782e
mov al, dl
sub al, 0x41
cmp al, 0x19
ja 0x4176a6
movsx ecx, dl
sub ecx, 0x41
jmp 0x4176da
mov al, dl
sub al, 0x61
cmp al, 0x19
ja 0x4176b6
movsx ecx, dl
sub ecx, 0x47
jmp 0x4176da
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x4176c6
movsx ecx, dl
add ecx, 4
jmp 0x4176da
cmp dl, 0x2b
jne 0x4176d2
mov ecx, 0x3e
jmp 0x4176da
xor ecx, ecx
cmp dl, 0x2f
cmove ecx, esi
mov al, bl
sub al, 0x41
cmp al, 0x19
ja 0x4176ea
movsx esi, bl
sub esi, 0x41
jmp 0x417723
mov al, bl
sub al, 0x61
cmp al, 0x19
ja 0x4176fa
movsx esi, bl
sub esi, 0x47
jmp 0x417723
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x41770a
movsx esi, bl
add esi, 4
jmp 0x417723
cmp bl, 0x2b
jne 0x417716
mov esi, 0x3e
jmp 0x417723
xor esi, esi
mov edx, 0x3f
cmp bl, 0x2f
cmove esi, edx
mov al, ah
sub al, 0x41
cmp al, 0x19
ja 0x417733
movsx edx, ah
sub edx, 0x41
jmp 0x41776c
mov al, ah
sub al, 0x61
cmp al, 0x19
ja 0x417743
movsx edx, ah
sub edx, 0x47
jmp 0x41776c
mov al, ah
sub al, 0x30
cmp al, 9
ja 0x417753
movsx edx, ah
add edx, 4
jmp 0x41776c
cmp ah, 0x2b
jne 0x41775f
mov edx, 0x3e
jmp 0x41776c
xor edx, edx
cmp ah, 0x2f
mov eax, 0x3f
cmove edx, eax
mov al, bh
sub al, 0x41
cmp al, 0x19
ja 0x41777c
movsx eax, bh
sub eax, 0x41
jmp 0x4177b1
mov al, bh
sub al, 0x61
cmp al, 0x19
ja 0x41778c
movsx eax, bh
sub eax, 0x47
jmp 0x4177b1
mov al, bh
sub al, 0x30
cmp al, 9
ja 0x41779c
movsx eax, bh
add eax, 4
jmp 0x4177b1
cmp bh, 0x2b
jne 0x4177a8
mov eax, 0x3e
jmp 0x4177b1
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 0x4177d8
cmp bh, 0x3d
jne 0x4177d8
mov edx, dword [ebp - 0xc]
mov eax, 1
shr ecx, 0x10
jmp 0x4177ff
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 0x4177f9
mov eax, 2
jmp 0x417801
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 0x417662
ja 0x41782e
cmp ebx, dword [ebp + 0x10]
jb 0x417662
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418e30
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 ebx, 0x405
mov dword [ebp - 0x10], eax
mov ecx, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 4]
mov word [ebp - 0xe], bx
push eax
mov dword [ebp - 0x1c], 0xb
call fcn.00412990
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
shl ecx, 5
add ecx, dword [esi + 8]
cmp eax, ecx
je 0x418e7e
add eax, 0x10
jmp 0x418e99
xor eax, eax
mov dword [0x5b1150], eax
mov dword [0x5b1154], eax
mov dword [0x5b1158], eax
mov dword [0x5b115c], eax
mov eax, 0x5b1150
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x418ea7
mov eax, dword [eax + 8]
push 0x10
push 0
push eax
call fcn.004ee2df
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], bx
push eax
mov dword [ebp - 0x14], 0x51bd00
mov dword [ebp - 0x1c], 3
call fcn.00412990
mov edi, dword [esi]
mov ecx, edi
mov ebx, dword [esi + 8]
mov eax, dword [ebp - 4]
shl ecx, 5
add ecx, ebx
cmp eax, ecx
je 0x418efb
add eax, 0x10
jmp 0x418f1b
xor eax, eax
mov dword [0x5b1150], eax
mov dword [0x5b1154], eax
mov dword [0x5b1158], eax
mov dword [0x5b115c], eax
mov eax, 0x5b1150
mov edi, dword [esi]
mov ebx, dword [esi + 8]
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
mov eax, 0x405
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], str.hash
push eax
mov dword [ebp - 0x1c], 4
call fcn.00412990
mov eax, dword [ebp - 8]
shl edi, 5
add edi, ebx
cmp eax, edi
je 0x418f5f
add eax, 0x10
jmp 0x418f7a
xor eax, eax
mov dword [0x5b1150], eax
mov dword [0x5b1154], eax
mov dword [0x5b1158], eax
mov dword [0x5b115c], eax
mov eax, 0x5b1150
mov ecx, 0x1000
test word [eax + 0xe], cx
jne 0x418f88
mov eax, dword [eax + 8]
push 0x10
push 0
push eax
call fcn.004ee2df
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 pe_nt_image_headers32
push 0x1b3
xor ecx, 0x8601b7df
push eax
push ecx
call fcn.004e5f60
xor eax, dword [ebp + 0xc]
xor edx, 0
push pe_nt_image_headers32
push 0x1b3
push edx
push eax
call fcn.004e5f60
xor eax, dword [ebp - 4]
xor edx, 0
push pe_nt_image_headers32
push 0x1b3
push edx
push eax
call fcn.004e5f60
push pe_nt_image_headers32
push 0x1b3
xor edx, 0
xor eax, esi
push edx
push eax
call fcn.004e5f60
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 0x4281e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
push pe_nt_image_headers32
push 0x1b3
push dword [edi + 4]
push dword [edi]
call fcn.004e5f60
mov ebx, dword [ebp + 8]
xor eax, 0xff
xor edx, 0
mov dword [edi], eax
mov dword [edi + 4], edx
mov al, byte [ebx]
inc ebx
mov byte [ebp + 0xb], al
test al, al
je 0x428254
push esi
jmp 0x428220
push pe_nt_image_headers32
push 0x1b3
push dword [edi + 4]
push dword [edi]
call fcn.004e5f60
mov ecx, eax
lea ebx, [ebx + 1]
movzx eax, byte [ebp + 0xb]
mov esi, edx
cdq
xor ecx, eax
xor esi, edx
mov dword [edi], ecx
mov dword [edi + 4], esi
mov al, byte [ebx - 1]
mov byte [ebp + 0xb], al
test al, al
jne 0x428220
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42bd40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50bc25
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 0x42bd7e
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 - 0x18], esi
mov al, byte [ebp + 0x14]
lea ecx, [ebx + 0x178]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp + 0x17], al
mov byte [ebp - 0x1c], al
test al, al
je 0x42bdb4
push ecx
call fcn.004e387d
add esp, 4
test eax, eax
jne 0x42bf39
mov al, byte [ebp + 0x17]
mov byte [ebp - 4], 1
test al, al
je 0x42be7c
push dword [edi + 8]
call fcn.004e5cfc
mov esi, eax
mov dword [ebp + 0x10], eax
add esp, 4
mov dword [ebp - 0x18], esi
push 0
push dword [edi]
push dword [ebx + 0xc]
call fcn.004f0f0c
add esp, 0xc
test eax, eax
js 0x42bedb
push dword [ebx + 0xc]
mov ebx, dword [ebp + 0x10]
push dword [edi + 8]
push 1
push ebx
call fcn.004f0b7b
add esp, 0x10
cmp eax, dword [edi + 8]
jne 0x42bedb
cmp byte [ebp + 0x17], 0
mov byte [ebp - 4], 0
je 0x42be1c
push dword [ebp - 0x14]
call fcn.004e38a2
add esp, 4
cmp dword [edi + 0x10], 0
je 0x42bf10
push dword [edi + 8]
push ebx
push 0
call fcn.00436c40
add esp, 0xc
cmp eax, dword [edi + 0x10]
je 0x42bf10
call fcn.00417940
cmp eax, 2
jg 0x42beec
push str.CRC_mismatch__n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42beec
push str.Fossilize_ERROR:_CRC_mismatch__n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
add esp, 8
jmp 0x42beec
mov ecx, dword [edi + 8]
mov eax, dword [ebx + 0x16c]
mov dword [ebp + 0x10], eax
cmp dword [ebx + 0x170], ecx
jae 0x42bdd3
push ecx
push eax
call fcn.004f1a2d
add esp, 8
mov dword [ebp + 0x10], eax
test eax, eax
je 0x42beb9
mov dword [ebx + 0x16c], eax
mov eax, dword [edi + 8]
mov dword [ebx + 0x170], eax
jmp 0x42bdd3
push dword [ebx + 0x16c]
call fcn.004f075f
mov dword [ebx + 0x16c], 0
add esp, 4
mov dword [ebx + 0x170], 0
cmp byte [ebp + 0x17], 0
je 0x42beec
push dword [ebp - 0x14]
call fcn.004e38a2
add esp, 4
xor bl, bl
test esi, esi
je 0x42befb
push esi
call fcn.004e5d05
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 eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp + 8]
call fcn.00436fa0
add esp, 0x10
test eax, eax
jne 0x42beec
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
jne 0x42beec
mov bl, 1
jmp 0x42beee
push eax
call fcn.004e395b
int3
Function at 0x42bf40
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 0x42bfeb
mov eax, dword [edi]
call dword [eax + 0x28]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x42bfeb
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 0x42bfeb
push ebx
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x42bfe4
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 4]
push ebx
mov eax, dword [eax + 0x2c]
call eax
test al, al
jne 0x42bff6
call fcn.00417940
cmp eax, 2
jg 0x42bfdd
push str.Failed_to_write_metadata_block._n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42bfdd
push str.Fossilize_ERROR:_Failed_to_write_metadata_block._n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
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 0x42c880
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 0x42c90b
cmp dword [eax + 4], 0
jne 0x42c90b
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 0x42c940
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x42c8d5
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.0042ce30
mov bl, al
test bl, bl
je 0x42c8fa
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.00417940
cmp eax, 2
jg 0x42c940
push str.Cannot_use_imported_metadata_along_with_white__or_blacklists._n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42c940
push str.Fossilize_ERROR:_Cannot_use_imported_metadata_along_with_white__or_blacklists._n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
add esp, 8
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
pop ebp
jmp fcn.00431c90
Function at 0x431f10
Capabilities:
Create process on windows
Read file via mapping
Resume thread

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

Function at 0x433d10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c0af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [ebp - 0x10], esi
call fcn.004e3fac
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
test eax, eax
je 0x433d9b
push eax
push esi
call fcn.004e42d1
mov ecx, dword [ebp - 0xc]
add esp, 8
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.004e3551
int3

Function at 0x435af0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x435b04
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x435b48
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x435b41
cmp dword [esi + 0x14], 0x10
jb 0x435b26
mov esi, dword [esi]
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004f5b00
add esp, 8
test eax, eax
js 0x435b41
mov eax, dword [ebp - 0x32]
shr eax, 0xe
and al, 1
jne 0x435b48
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4363d0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x4363e1
mov eax, dword [eax]
push esi
push 0xffffffffffffffff
push 0x80
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x436409
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 8]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret