Function at 0x427990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov edi, ecx
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x42ef80
mov eax, dword fs:[0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov dword [0x507320], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 0x10], eax
mov esi, dword [ebp + 0x34]
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp - 0x50]
mov ecx, ebx
push eax
call fcn.00428cf0
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x50]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [edi + 0x20], eax
mov dword [edi + 0x38], esi
mov eax, dword [ebp + 0x30]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x30], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edi
mov ecx, edi
push ebx
call fcn.00428ea0
mov edi, 3
test al, al
je 0x428756
mov eax, dword [ebp - 0x20]
lea ecx, [eax + 0x34]
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [eax + 0x38]
push dword [eax + 0x30]
mov dword [ebp - 0x24], ecx
push ecx
push dword [eax + 4]
push dword [eax]
call fcn.0041ae90
mov edi, 3
add esp, 0x24
test al, al
je 0x428756
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebx + 0x38]
test edi, edi
je 0x427aa7
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + 1]
add ecx, 3
cmp edx, 0x18
mov esi, 0x1a
cmovbe esi, ecx
mov eax, dword [ebx + 0x10]
add esi, edi
mov dword [ebp - 0x28], eax
mul esi
mov ecx, eax
mov eax, dword [ebx + 0x14]
imul eax, esi
add edx, eax
mov eax, dword [ebp + 8]
xor edi, edi
cmp eax, ecx
sbb edi, edx
jae 0x427abc
xor ecx, ecx
xor edx, edx
div esi
and eax, 0xfffffffc
jmp 0x427ac1
mov dword [ebx + 0x18], 0
mov byte [ebx + 0x190], 0
xor eax, eax
jmp 0x427b78
mov cl, 1
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x18], eax
mov byte [ebx + 0x190], cl
cmp eax, 0x2000001
jb 0x427ae4
mov dword [ebx + 0x18], 0x2000000
mov byte [ebx + 0x190], 0
mov eax, 0x2000000
cmp dword [ebx + 8], 5
jl 0x427b78
push str._DEBUG__Process_chunk_size:
push dword [ebx]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x18]
call fcn.004019c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0xd
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427b57
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427b57
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x28]
call fcn.00407670
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0xc
call fcn.004a880e
add esp, 4
mov edx, dword [ebp - 0x20]
lea ecx, [edx + 0xa0]
mov dword [ebp - 0x2c], ecx
mov dword [eax], ecx
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x28]
mov dword [eax + 8], ecx
lea ecx, [edx + 0x88]
mov dword [ebp - 0x38], eax
add eax, 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x10], 0x10
lea edx, [ebp - 0x38]
mov dword [ebp - 0x28], ecx
push edx
push eax
call fcn.004540b0
mov ebx, eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x427c13
mov eax, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 0x1000
jb 0x427c09
mov edx, dword [ecx - 4]
sub ecx, edx
add ecx, 0xfffffffc
cmp ecx, 0x20
jae 0x4288c9
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.004a8843
add esp, 8
test bl, bl
je 0x4283ec
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x427c32
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004590a0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
lea ecx, [eax + 1]
shr ecx, 1
xor edx, edx
cmp eax, 0x18
cmovb edx, ecx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x2c]
push 0
push edx
push 0
call fcn.00459b40
mov edi, 8
test al, al
je 0x428756
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 3
jl 0x4281e5
push str.Block_size:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00410870
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0xc
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427ce2
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427ce2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x2c]
call fcn.00407670
push str.Source_file_count:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x20]
call fcn.004019c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0xb
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427d69
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427d69
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x2c]
call fcn.00407670
push str.Source_block_count:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
call fcn.004019c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0xa
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427df0
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427df0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x2c]
call fcn.00407670
push str.Recovery_block_count:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x38]
call fcn.004019c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 9
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427e77
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427e77
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x2c]
call fcn.00407670
push str.Recovery_file_count:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x24]
push dword [eax]
call fcn.004019c0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 8
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427efd
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427efd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 4
jl 0x428178
push str.Data_hash_method:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov dword [ebp - 0x24], eax
push dword [0x50d880]
call fcn.0045e760
add esp, 4
push eax
push dword [ebp - 0x24]
call fcn.00401560
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 7
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x427fa4
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x427fa4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
push str.Multiply_method:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0xf8]
push dword [ecx + 8]
push eax
call fcn.00401560
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 6
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x428036
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x428036
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 5
jl 0x428178
push str._DEBUG__Compute_tile_size:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0xfc]
call fcn.004019c0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 5
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4280d0
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4280d0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
push str._DEBUG__Compute_block_grouping:
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0xbc]
call fcn.004019c0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42815d
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42815d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 3
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4281ca
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4281ca
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x24]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x24]
call fcn.00407670
mov dword [ebp - 0x24], esp
mov eax, dword [ebp + 0xc]
push eax
sub esp, 0x18
mov edx, esp
mov dword [edx + 4], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov esi, dword [eax + 0x10]
cmp dword [eax + 0x14], 0xf
jbe 0x428211
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
lea edi, [edx + 4]
cmp esi, 0xf
ja 0x428229
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov eax, 0xf
jmp 0x428298
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x44], esi
mov eax, esi
or eax, 0xf
cmp eax, 0x7fffffff
mov ecx, 0x7fffffff
cmovb ecx, eax
cmp ecx, 0xfff
mov dword [ebp - 0x40], ecx
jb 0x42826b
lea eax, [ecx + 0x24]
push eax
call fcn.004a880e
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x428277
lea eax, [ecx + 1]
push eax
call fcn.004a880e
add esp, 4
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov esi, dword [ebp - 0x44]
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x3c]
push eax
call fcn.004c4690
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x14], esi
mov dword [edx + 0x18], eax
lea eax, [ebp - 0x50]
mov dword [edx], eax
call fcn.00429270
mov esp, dword [ebp - 0x24]
test al, al
je 0x428751
push 0x18
call fcn.004a880e
add esp, 4
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x24]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x40], ecx
cmp dword [eax + 0x7c], 0x15555555
je 0x4288ce
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x2c], eax
push 0xc
call fcn.004a880e
add esp, 4
mov ecx, dword [ebp - 0x24]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x20]
add dword [edx + 0x7c], 1
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
mov ecx, dword [edx + 0x40]
lea eax, [edx + 0x48]
push dword [edx + 0x14]
push dword [edx + 0x10]
push eax
call fcn.0041b0f0
test al, al
je 0x4283ec
push 8
call fcn.004a880e
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x44], eax
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx]
add edx, 0x20
mov ecx, eax
push edx
call fcn.0040ca60
mov edi, 7
test al, al
je 0x428756
mov ecx, dword [ebp - 0x20]
call fcn.004295b0
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x18]
call fcn.004297c0
test al, al
je 0x428751
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x38]
mov eax, ecx
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x428642
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
add eax, eax
push eax
call fcn.004a8874
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x24]
test eax, eax
js 0x4288db
lea ecx, [eax + eax]
cmp eax, 0x800
mov dword [ebp - 0x2c], ecx
jb 0x4283f6
cmp eax, 0x7fffffef
jae 0x4288e0
lea eax, [ecx + 0x23]
push eax
call fcn.004a880e
add esp, 4
mov ebx, eax
add ebx, 0x23
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x428401
mov edi, 7
jmp 0x428756
push ecx
call fcn.004a880e
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x24]
lea edi, [ebx + eax*2]
push dword [ebp - 0x2c]
push 0
push ebx
call fcn.004c4c10
add esp, 0xc
mov esi, dword [ebp - 0x20]
cmp dword [esi + 0x38], 0
je 0x42843c
xor ecx, ecx
mov ax, 1
mov edx, eax
add dx, word [esi + 0x3c]
add edx, 0xffffffff
mov word [ebx + ecx*2], dx
movzx ecx, ax
add eax, 1
cmp dword [esi + 0x38], ecx
ja 0x428424
sub edi, ebx
mov dword [ebp - 0x40], edi
mov eax, edi
sar eax, 1
mov dword [ebp - 0x10], 0xe
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ebx
push ebx
push eax
call fcn.00454710
mov edi, 8
mov dword [ebp - 0x24], 0
test al, al
je 0x428606
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x184], 0
mov dword [ebx + 0x180], 0
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
mov edi, esi
imul edi, edx
mov eax, ecx
mul edx
add edx, edi
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x18c], edx
xor eax, eax
xor edx, edx
cmp eax, ecx
mov edi, eax
mov eax, edx
sbb eax, esi
jae 0x428510
mov ebx, dword [ebx + 0x18]
mov dword [ebp - 0x2c], edi
sub ecx, edi
mov dword [ebp - 0x24], edx
sbb esi, edx
cmp ebx, ecx
mov eax, 0
sbb eax, esi
jb 0x4284cc
mov ebx, ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], ebx
push ebx
call fcn.00454650
test al, al
je 0x4285f3
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x44]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call fcn.0042a650
test al, al
je 0x4285e5
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x24]
adc edx, 0
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
jmp 0x4284a8
cmp dword [ebx + 8], 3
jl 0x428590
push str.Writing_recovery_packets
mov eax, dword [ebp - 0x20]
push dword [eax]
call fcn.00401560
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 0xf
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x428575
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x428575
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0xe
movsx eax, bl
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x28]
call fcn.00407670
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x6c]
cmp ecx, dword [eax + 0x70]
je 0x4285b5
mov dword [ebp - 0x28], ecx
call fcn.004423a0
test al, al
mov ecx, dword [ebp - 0x28]
je 0x4285e5
add ecx, 0x78
mov eax, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x70]
jne 0x42859b
cmp byte [eax + 0x190], 0
je 0x428601
mov cl, 1
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + 0x48]
cmp ecx, dword [eax + 0x4c]
je 0x428606
mov dword [ebp - 0x28], ecx
mov ecx, dword [ecx]
call fcn.00430150
mov ecx, dword [ebp - 0x28]
add ecx, 4
mov eax, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x4c]
jne 0x4285cb
jmp 0x428606
mov edi, 6
mov dword [ebp - 0x24], 0
jmp 0x428606
mov dword [ebp - 0x24], 0
mov edi, 8
jmp 0x428606
mov al, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x428638
cmp ecx, 0x1000
jb 0x42862e
mov eax, dword [edx - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x4288c9
add ecx, 0x23
mov edx, eax
push ecx
push edx
call fcn.004a8843
add esp, 8
cmp byte [ebp - 0x24], 0
je 0x428756
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x78]
mov edx, dword [eax]
cmp edx, eax
je 0x42867d
mov eax, dword [ecx + 0x40]
mov eax, dword [eax]
add eax, 0x20
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], edx
mov ecx, dword [edx + 8]
push dword [ebp - 0x24]
call fcn.0040cd20
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 0x78]
mov edx, eax
jne 0x428660
cmp dword [ecx + 8], 3
jl 0x42870c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x10], 0
push str.Writing_verification_packets
push eax
call fcn.00401560
add esp, 8
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 2
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4286f1
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4286f1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x28]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x28]
call fcn.00407670
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x80]
mov esi, eax
mov esi, dword [esi]
cmp esi, eax
je 0x42880f
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x28], esi
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x10], 0
push esi
push edx
push eax
call fcn.0040cd00
test al, al
je 0x428751
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x80]
mov esi, dword [ebp - 0x28]
jmp 0x428717
mov edi, 6
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x4287fa
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x4c]
cmp esi, edi
jne 0x428792
jmp 0x4287c4
push ebx
push ecx
call fcn.004a8843
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
cmp edi, esi
je 0x4287c1
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x42877a
mov ecx, dword [esi]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jb 0x428770
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4288c9
add eax, 0x24
mov ebx, eax
mov ecx, edx
jmp 0x428770
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
sub eax, esi
cmp eax, 0x1000
mov edi, dword [ebp - 0x20]
jb 0x4287e9
mov ecx, dword [esi - 4]
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x20
jae 0x4288c9
add eax, 0x23
mov esi, ecx
push eax
push esi
call fcn.004a8843
add esp, 8
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x30
mov ecx, dword [edx + 0x60]
cmp ecx, dword [edx + 0x64]
je 0x428834
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], ecx
call fcn.004112a0
mov ecx, dword [ebp - 0x28]
add ecx, 0x40
mov edx, dword [ebp - 0x20]
cmp ecx, dword [edx + 0x64]
jne 0x42881e
xor edi, edi
cmp dword [edx + 8], 2
jl 0x428756
mov eax, dword [edx]
mov dword [ebp - 0x10], 0
push str.Done
push eax
call fcn.00401560
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [ecx + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x38]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4288a7
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4288a7
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [ebp - 0x10], 0
movsx eax, bl
mov ecx, dword [ebp - 0x20]
push eax
call fcn.004083b0
mov ecx, dword [ebp - 0x20]
call fcn.00407670
xor edi, edi
jmp 0x428756
call fcn.004cc578
push str.list_too_long
call fcn.004ac71e
add esp, 4
call fcn.00417760
call fcn.00407020
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0x24
add ebp, 0xc
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x42890f
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42890f
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esp, 0x24
pop ebp
ret