Function at 0x42d860
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50bcd5
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x160]
mov eax, dword [edx + 0x164]
cmp ecx, eax
je 0x42d8a3
cmp dword [edi + 0x168], 1
jne case.0x42d8c0.2
sub eax, ecx
sar eax, 2
cmp eax, 1
ja case.0x42d8c0.2
mov eax, dword [edi + 0x168]
cmp eax, 4
ja case.default.0x42d8c0
jmp dword [eax*4 + 0x42defc]
mov dword [edi + 0xc], 0
mov ecx, 0x10
mov eax, dword [edx + 0x160]
mov esi, 0x20
cmp eax, dword [edx + 0x164]
lea eax, [edi + 0x10]
cmove ecx, esi
or ecx, 0x8000
cmp dword [eax + 0x14], 0x10
jb 0x42d8f8
mov eax, dword [eax]
push pe_nt_image_headers32
push ecx
push eax
call fcn.0042b6c0
add esp, 0xc
test eax, eax
js case.default.0x42d8c0
push 0x519ba8
jmp 0x42d993
cmp dword [edi + 0x24], 0x10
lea esi, [edi + 0x10]
mov eax, esi
jb 0x42d923
mov eax, dword [esi]
push 0x51d838
push eax
call fcn.004f0937
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
jne case.default.0x42d8c0
cmp dword [esi + 0x14], 0x10
jb 0x42d940
mov esi, dword [esi]
push 0x519bb0
push esi
call fcn.004f0937
jmp 0x42d999
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x42d958
mov eax, dword [eax]
push 0x519bb0
push eax
call fcn.004f0937
jmp 0x42d999
lea eax, [edi + 0x10]
mov dword [edi + 0xc], 0
cmp dword [eax + 0x14], 0x10
jb 0x42d977
mov eax, dword [eax]
push 0x180
push 0x8721
push eax
call fcn.0042b6c0
add esp, 0xc
test eax, eax
js case.default.0x42d8c0
push 0x519bb0
push eax
call fcn.004f2e48
mov dword [edi + 0xc], eax
add esp, 8
mov ecx, dword [edi + 0xc]
test ecx, ecx
je case.0x42d8c0.2
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x160]
cmp edx, dword [eax + 0x164]
je 0x42d9da
mov eax, dword [edx]
mov dword [edi + 8], eax
mov al, 1
mov byte [edi + 0x174], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x168]
cmp eax, 3
je 0x42dec0
cmp eax, 4
je 0x42dec0
cmp eax, 1
jne 0x42da09
push 0x38
push 0
push 0
push ecx
call fcn.004f2f7e
mov ecx, dword [edi + 0xc]
add esp, 0x10
push 2
push 0
push ecx
call fcn.004f0f0c
push dword [edi + 0xc]
call fcn.004f15aa
push dword [edi + 0xc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
call fcn.004f1837
add esp, 0x14
test ebx, ebx
je 0x42de94
mov cl, byte [0x5b1160]
test cl, cl
jne 0x42de94
push dword [edi + 0xc]
lea eax, [ebp - 0xe0]
push 0x10
push 1
push eax
call fcn.004f0b7b
add esp, 0x10
cmp eax, 0x10
jne case.0x42d8c0.2
lea ecx, [ebp - 0xe0]
mov edx, 0x51d1dc
lea esi, [eax - 5]
mov edi, edi
mov eax, dword [ecx]
cmp eax, dword [edx]
jne case.0x42d8c0.2
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42da70
mov ax, word [ecx]
cmp ax, word [edx]
jne case.0x42d8c0.2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne case.0x42d8c0.2
movzx eax, byte [ebp - 0xd1]
sub eax, 5
cmp eax, 1
ja case.0x42d8c0.2
mov ecx, 0x10
mov eax, ebx
mov dword [ebp - 0x10], ecx
cmp ebx, ecx
jbe 0x42de62
mov al, byte [0x5b1160]
test al, al
jne case.0x42d8c0.2
lea esi, [ecx + 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x90], 0
cmp esi, ebx
ja 0x42de27
push dword [edi + 0xc]
lea eax, [ebp - 0x80]
push 0x38
push 1
push eax
call fcn.004f0b7b
add esp, 0x10
cmp eax, 0x38
jne case.0x42d8c0.2
movzx eax, byte [ebp - 0x56]
mov edx, esi
movzx esi, byte [ebp - 0x55]
movzx ebx, byte [ebp - 0x51]
movzx ecx, byte [ebp - 0x4d]
shl esi, 8
or esi, eax
shl ebx, 8
movzx eax, byte [ebp - 0x57]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [ebp - 0x58]
shl esi, 8
or esi, eax
mov dword [ebp - 0x10], edx
movzx eax, byte [ebp - 0x52]
or ebx, eax
mov dword [ebp - 0x90], esi
movzx eax, byte [ebp - 0x53]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp - 0x54]
shl ebx, 8
or ebx, eax
movzx eax, byte [ebp - 0x4e]
or ecx, eax
mov dword [ebp - 0x8c], ebx
movzx eax, byte [ebp - 0x4f]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x50]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x4a]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x88], ecx
movzx ecx, byte [ebp - 0x49]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x4b]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x4c]
shl ecx, 8
or ecx, eax
lea eax, [esi + edx]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp - 0x20]
ja 0x42dded
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x5c]
push 0x10
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa4]
push 0
push eax
mov byte [ebp - 0x94], 0
mov byte [ebp - 0xa8], 0
call fcn.004ee2b5
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jae 0x42ddc4
push 0x10
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004ee2df
add esp, 0xc
mov dword [ebp - 0x30], edx
mov ecx, eax
mov dword [ebp - 0xc8], esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
push edx
push ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, edi
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 0
call fcn.0042f040
test al, al
je 0x42ddc4
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
shl eax, 5
push ecx
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 0x28]
add ecx, edi
call fcn.00404540
mov ecx, dword [ebp - 0x1c]
push eax
mov dword [ebp - 0x28], eax
add ecx, 0x28
lea eax, [ebp - 0x34]
add ecx, edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004049a0
cmp dword [ebp - 0x38], 0
jne 0x42ddc4
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [eax + 0x30], 0x6666666
je 0x42def1
add eax, 0x2c
mov dword [ebp - 0x48], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
call fcn.004e5c9b
mov edx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x44], eax
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x1c], eax
mov ebx, dword [ebp - 0x1c]
add ebx, 0x28
mov dword [ebp - 4], 1
add ebx, edi
fld dword [ebx]
mov eax, dword [ebx + 8]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
jns 0x42dd4f
fadd dword [0x51a9b0]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
mov eax, dword [ebx + 0x1c]
fild dword [ebx + 0x1c]
test eax, eax
jns 0x42dd65
fadd dword [0x51a9b0]
fstp dword [ebp - 0x14]
fdiv dword [ebp - 0x14]
fcompi st(1)
fstp st(0)
jbe 0x42dd9e
mov ecx, ebx
call fcn.0042b620
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
mov esi, dword [ebp - 0x28]
add eax, 8
push esi
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.004049a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x42dda4
mov ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x28]
push dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0
push ecx
push esi
mov ecx, ebx
call fcn.0042b540
mov esi, dword [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
push 1
push esi
push dword [edi + 0xc]
call fcn.004f0f0c
add esp, 0xc
test eax, eax
js case.0x42d8c0.2
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jb 0x42dac2
jmp 0x42de5f
call fcn.00417940
cmp eax, 1
jg 0x42de22
push str.Detected_sliced_file._Dropping_entries_from_here._n
push 1
call fcn.00417f70
add esp, 8
test al, al
jne 0x42de22
push str.Fossilize_WARN:_Detected_sliced_file._Dropping_entries_from_here._n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
add esp, 8
mov ebx, dword [ebp - 0x20]
jmp 0x42de5c
call fcn.00417940
cmp eax, 1
jg 0x42de5c
push str.Detected_sliced_file._Dropping_entries_from_here._n
push 1
call fcn.00417f70
add esp, 8
test al, al
jne 0x42de5c
push str.Fossilize_WARN:_Detected_sliced_file._Dropping_entries_from_here._n
push 2
call fcn.004ee3fb
add esp, 4
push eax
call fcn.00401df0
add esp, 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x168], 0
jne 0x42ded7
cmp ecx, ebx
je 0x42ded7
push 0
push eax
push dword [edi + 0xc]
call fcn.004f0f0c
add esp, 0xc
test eax, eax
jns 0x42ded7
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push dword [edi + 0xc]
push 0x10
push 1
push 0x51d1dc
call fcn.004f17d4
add esp, 0x10
cmp eax, 0x10
je 0x42ded7
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ecx
push 0x10
push 1
push 0x51d1dc
call fcn.004f17d4
add esp, 0x10
cmp eax, 0x10
jne case.0x42d8c0.2
mov ecx, dword [ebp - 0xc]
mov al, 1
mov byte [edi + 0x174], 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push str.unordered_map_set_too_long
call fcn.004e3511
nop
push ss
fld dword [edx]
invalid