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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50b0a5
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 0x42d883
cmp dword [edi + 0x168], 1
jne case.0x42d8a0.2
sub eax, ecx
sar eax, 2
cmp eax, 1
ja case.0x42d8a0.2
mov eax, dword [edi + 0x168]
cmp eax, 4
ja case.default.0x42d8a0
jmp dword [eax*4 + 0x42dedc]
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 0x42d8d8
mov eax, dword [eax]
push 0x100
push ecx
push eax
call fcn.0042b6a0
add esp, 0xc
test eax, eax
js case.default.0x42d8a0
push 0x518ba8
jmp 0x42d973
cmp dword [edi + 0x24], 0x10
lea esi, [edi + 0x10]
mov eax, esi
jb 0x42d903
mov eax, dword [esi]
push 0x51c838
push eax
call fcn.004f0936
add esp, 8
mov dword [edi + 0xc], eax
test eax, eax
jne case.default.0x42d8a0
cmp dword [esi + 0x14], 0x10
jb 0x42d920
mov esi, dword [esi]
push 0x518bb0
push esi
call fcn.004f0936
jmp 0x42d979
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x42d938
mov eax, dword [eax]
push 0x518bb0
push eax
call fcn.004f0936
jmp 0x42d979
lea eax, [edi + 0x10]
mov dword [edi + 0xc], 0
cmp dword [eax + 0x14], 0x10
jb 0x42d957
mov eax, dword [eax]
push 0x180
push 0x8721
push eax
call fcn.0042b6a0
add esp, 0xc
test eax, eax
js case.default.0x42d8a0
push 0x518bb0
push eax
call fcn.004f2e18
mov dword [edi + 0xc], eax
add esp, 8
mov ecx, dword [edi + 0xc]
test ecx, ecx
je case.0x42d8a0.2
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x160]
cmp edx, dword [eax + 0x164]
je 0x42d9ba
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 0x42dea0
cmp eax, 4
je 0x42dea0
cmp eax, 1
jne 0x42d9e9
push 0x38
push 0
push 0
push ecx
call fcn.004f2f4b
mov ecx, dword [edi + 0xc]
add esp, 0x10
push 2
push 0
push ecx
call fcn.004f0f0b
push dword [edi + 0xc]
call fcn.004f15b2
push dword [edi + 0xc]
mov ebx, eax
mov dword [ebp - 0x20], ebx
call fcn.004f183f
add esp, 0x14
test ebx, ebx
je 0x42de74
mov cl, byte [0x5b0050]
test cl, cl
jne 0x42de74
push dword [edi + 0xc]
lea eax, [ebp - 0xe0]
push 0x10
push 1
push eax
call fcn.004f0b7a
add esp, 0x10
cmp eax, 0x10
jne case.0x42d8a0.2
lea ecx, [ebp - 0xe0]
mov edx, 0x51c1dc
lea esi, [eax - 5]
mov edi, edi
mov eax, dword [ecx]
cmp eax, dword [edx]
jne case.0x42d8a0.2
add ecx, 4
add edx, 4
sub esi, 4
jae 0x42da50
mov ax, word [ecx]
cmp ax, word [edx]
jne case.0x42d8a0.2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne case.0x42d8a0.2
movzx eax, byte [ebp - 0xd1]
sub eax, 5
cmp eax, 1
ja case.0x42d8a0.2
mov ecx, 0x10
mov eax, ebx
mov dword [ebp - 0x10], ecx
cmp ebx, ecx
jbe 0x42de42
mov al, byte [0x5b0050]
test al, al
jne case.0x42d8a0.2
lea esi, [ecx + 0x38]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x90], 0
cmp esi, ebx
ja 0x42de07
push dword [edi + 0xc]
lea eax, [ebp - 0x80]
push 0x38
push 1
push eax
call fcn.004f0b7a
add esp, 0x10
cmp eax, 0x38
jne case.0x42d8a0.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 0x42ddcd
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.004ee317
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp eax, 0xa
jae 0x42dda4
push 0x10
lea eax, [ebp - 0xb8]
push 0
push eax
call fcn.004ee341
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.0042f020
test al, al
je 0x42dda4
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 0x42dda4
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [eax + 0x30], 0x6666666
je 0x42ded1
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 0x42dd2f
fadd dword [0x5199b0]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
mov eax, dword [ebx + 0x1c]
fild dword [ebx + 0x1c]
test eax, eax
jns 0x42dd45
fadd dword [0x5199b0]
fstp dword [ebp - 0x14]
fdiv dword [ebp - 0x14]
fcompi st(1)
fstp st(0)
jbe 0x42dd7e
mov ecx, ebx
call fcn.0042b600
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 0x42dd84
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.0042b520
mov esi, dword [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
push 1
push esi
push dword [edi + 0xc]
call fcn.004f0f0b
add esp, 0xc
test eax, eax
js case.0x42d8a0.2
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
jb 0x42daa2
jmp 0x42de3f
call fcn.00417940
cmp eax, 1
jg 0x42de02
push str.Detected_sliced_file._Dropping_entries_from_here._n
push 1
call fcn.00417f70
add esp, 8
test al, al
jne 0x42de02
push str.Fossilize_WARN:_Detected_sliced_file._Dropping_entries_from_here._n
push 2
call fcn.004ee433
add esp, 4
push eax
call fcn.00401df0
add esp, 8
mov ebx, dword [ebp - 0x20]
jmp 0x42de3c
call fcn.00417940
cmp eax, 1
jg 0x42de3c
push str.Detected_sliced_file._Dropping_entries_from_here._n
push 1
call fcn.00417f70
add esp, 8
test al, al
jne 0x42de3c
push str.Fossilize_WARN:_Detected_sliced_file._Dropping_entries_from_here._n
push 2
call fcn.004ee433
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 0x42deb7
cmp ecx, ebx
je 0x42deb7
push 0
push eax
push dword [edi + 0xc]
call fcn.004f0f0b
add esp, 0xc
test eax, eax
jns 0x42deb7
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 0x51c1dc
call fcn.004f17dc
add esp, 0x10
cmp eax, 0x10
je 0x42deb7
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 0x51c1dc
call fcn.004f17dc
add esp, 0x10
cmp eax, 0x10
jne case.0x42d8a0.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
neg al
inc edx
add byte [edi + 0x610042d8], ah
fiadd word [edx]
sub eax, 0x450042d9
fld dword [edx]
push ebp
mov ebp, esp
sub esp, 0x698
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
cmp dword [esi + 0x1b0], 3
je 0x42e137
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x42df1a
mov eax, dword [esi + 8]
push 0
push eax
lea ebx, [esi + 0x20]
push ebx
call fcn.00437d10
add esp, 0xc
test eax, eax
je 0x42e128
push ebx
call fcn.00437cf0
push 0x200
mov dword [ebp - 8], eax
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.004e7c10
xor edi, edi
add esp, 0x10
cmp dword [ebp - 8], edi
jbe 0x42e0b8
jmp 0x42df60
mov al, byte [0x5b0050]
test al, al
jne 0x42e18c
push edi
push ebx
call fcn.00437fa0
add esp, 8
test eax, eax
jne 0x42e0ab
push 0x200
lea eax, [ebp - 0x248]
push eax
push edi
push ebx
call fcn.00437c80
lea eax, [ebp - 0x248]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42dfa0
sub eax, edx
cmp eax, 0x28
jne 0x42e0ab
mov al, byte [ebp - 0x248]
lea esi, [ebp - 0x248]
test al, al
je 0x42dfde
movzx eax, al
push eax
call fcn.004f1e97
add esp, 4
test eax, eax
je 0x42e0ab
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x42dfc2
lea eax, [ebp - 0x698]
push eax
push edi
push ebx
call fcn.00437c30
add esp, 0xc
test eax, eax
je 0x42e0ab
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x224]
push 0x10
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x2c]
push 0
push eax
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x30], 0
call fcn.004ee317
mov esi, eax
add esp, 0xc
cmp esi, 0xa
jae 0x42e0ab
push 0x10
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004ee341
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push edx
push eax
push esi
call fcn.0042f020
test al, al
je 0x42e0ab
mov eax, dword [ebp - 0x670]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
add ecx, 0x70
lea eax, [ebp - 0x10]
shl esi, 5
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x48]
add ecx, esi
push eax
call fcn.00429f70
inc edi
cmp edi, dword [ebp - 8]
jb 0x42df60
mov esi, dword [ebp - 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x42e0c3
mov eax, dword [eax]
push eax
push ebx
call fcn.0043a320
add esp, 8
test eax, eax
jne 0x42e118
call fcn.00417940
cmp eax, 2
jg 0x42e106
push str.Failed_to_initialize_ZIP_writer_from_reader._n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42e106
push str.Fossilize_ERROR:_Failed_to_initialize_ZIP_writer_from_reader._n
push 2
call fcn.004ee433
add esp, 4
push eax
call fcn.00401df0
add esp, 8
push ebx
call fcn.004370e0
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [esi + 0x1b4], 1
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x1b0], 1
je 0x42e1be
jmp 0x42e13a
lea ebx, [esi + 0x20]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x42e145
mov eax, dword [eax]
push 0
push 0
push eax
push ebx
call fcn.0043a190
add esp, 0x10
test eax, eax
jne 0x42e195
call fcn.00417940
cmp eax, 2
jg 0x42e18c
push str.Failed_to_open_ZIP_archive_for_writing._Cannot_serialize_anything_to_disk._n
push 2
call fcn.00417f70
add esp, 8
test al, al
jne 0x42e18c
push str.Fossilize_ERROR:_Failed_to_open_ZIP_archive_for_writing._Cannot_serialize_anything_to_disk._n
push 2
call fcn.004ee433
add esp, 4
push eax
call fcn.00401df0
add esp, 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x1b4], 1
add esi, 0x70
lea edi, [esi + 0x140]
cmp esi, edi
je 0x42e1be
lea esp, [esp]
mov ecx, esi
call fcn.00417210
add esi, 0x20
cmp esi, edi
jne 0x42e1b0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret