Function at 0x40e130
Capabilities:
Check mutex on windows
Read file on windows
Write file on windows

Disassembly:
push edi
mov eax, 0x17cbc
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
call fcn.00457320
lea ebx, [ebp - 0x17c24]
lea edi, [ebp - 0x18]
sub esp, eax
mov dword [ebp - 0x17bfc], esp
mov dword [ebp - 0x17c28], ecx
mov dword [ebp - 0x17c04], edi
mov dword [ebp - 0x17c84], ebx
mov dword [ebp - 0x17c0c], 0x4f3670
mov dword [ebp - 0x17c08], 0x4f4b64
mov dword [ebp - 0x17c00], 0x40f651
mov dword [esp], ebx
call fcn.00458010
mov ebx, dword [ebp - 0x17c28]
mov edi, dword [ebx + 0xa8]
test edi, edi
je 0x40e241
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x40e241
mov eax, dword [ebx + 0x20]
sub eax, dword [ebx + 0x1c]
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jne 0x40e22b
mov eax, dword [ebx + 0xe0]
sub eax, dword [ebx + 0xdc]
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jne 0x40e22b
mov eax, dword [ebx + 0xa0]
sub eax, dword [ebx + 0x9c]
sar eax, 3
imul eax, eax, 0xaaaaaaab
test eax, eax
jne 0x40e22b
cmp byte [ebx + 0x74], 0
jne 0x40e22b
mov edx, dword [ebx + 0xf4]
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x17c2c], edx
xor edx, 0x5af3
mov dword [ebp - 0x17c30], eax
mov ebx, edx
xor eax, 0x107a3fff
or ebx, eax
je 0x411efa
mov dword [esp], str._repack__all_does_not_allow_partial_copy
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x17c28]
mov eax, dword [ecx + 4]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.0040b0a0
sub esp, 8
cmp edx, 0
mov dword [ebp - 0x17c68], eax
mov dword [ebp - 0x17c64], edx
jl 0x40ec26
jle 0x40ec19
mov edi, dword [ebp - 0x17c28]
mov ebx, dword [edi + 0x148]
mov eax, dword [edi + 0x144]
mov esi, ebx
mov dword [ebp - 0x17c30], ebx
sub esi, eax
sar esi, 3
imul esi, esi, 0xb6db6db7
test esi, esi
je 0x40f6b2
mov ebx, dword [eax + 0x14]
test ebx, ebx
js 0x40f625
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40e34c
mov ebx, edi
mov edi, dword [edi + 0x10c]
xor edx, edx
sub edi, dword [ebx + 0x108]
sar edi, 3
imul edi, edi, 0xaaaaaaab
nop
cmp ecx, edi
jae 0x40f686
test edx, edx
je 0x40e330
cmp dword [eax - 0x14], ecx
ja 0x40e362
je 0x40e378
mov ecx, dword [eax - 0x28]
add ecx, dword [eax - 0x38]
mov ebx, dword [eax - 0x24]
adc ebx, dword [eax - 0x34]
cmp dword [eax + 4], ebx
jge 0x40e320
mov dword [esp], str.unordered_blocks
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
nop
jg 0x40e330
cmp dword [eax], ecx
jb 0x40e308
lea esi, [esi]
lea edi, [edi]
add edx, 1
cmp edx, esi
je 0x40e38e
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x40f625
add eax, 0x38
mov ecx, dword [eax + 0x24]
test ecx, ecx
jne 0x40e2e0
mov dword [esp], str.block_starts_at_fragment_0
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov dword [esp], str.unordered_frags
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov dword [esp], str.empty_block
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov ebx, dword [ebp - 0x17c28]
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x40ec40
mov eax, dword [ebx + 0x154]
sub eax, dword [ebx + 0x150]
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp eax, 1
jbe 0x40f69c
cmp byte [ebx + 0x2c], 0
jne 0x40eab7
lea eax, [ebp - 0x17958]
mov dword [esp], edx
mov dword [ebp - 0x17c20], 0xffffffff
mov dword [ebp - 0x17c58], eax
mov ecx, eax
call fcn.00401630
mov eax, dword [ebp - 0x17c58]
sub esp, 4
mov dword [esp], eax
mov dword [ebp - 0x17c20], 4
call fcn.004047f0
mov byte [ebp - 0x17c30], al
mov eax, dword [ebp - 0x17958]
lea esi, [ebp - 0x17950]
mov dword [ebp - 0x17c40], esi
cmp eax, esi
je 0x40e426
mov dword [esp], eax
call fcn.004f28f0
cmp byte [ebp - 0x17c30], 0
jne 0x40f63b
mov eax, dword [ebp - 0x17c28]
lea ebx, [ebp - 0x17a00]
lea esi, [ebp - 0x179c8]
mov dword [ebp - 0x17c38], ebx
mov dword [ebp - 0x17c50], esi
mov eax, dword [eax + 0x150]
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
mov edi, edx
xor eax, 0x20
or edi, eax
je 0x40ead7
mov esi, dword [ebp - 0x17c28]
mov eax, dword [esi + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x17c28], esi
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.004089a0
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov edi, dword [ebp - 0x17c38]
mov dword [esp + 8], edi
mov esi, dword [ebp - 0x17c28]
mov eax, dword [esi + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x34]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 7
call fcn.004067d0
sub esp, 0x14
mov dword [ebp - 0x17c54], 0x70
mov dword [ebp - 0x17c4c], 1
mov eax, dword [ebp - 0x17c28]
mov edx, dword [eax + 0x150]
mov eax, dword [eax + 0x154]
mov dword [ebp - 0x17c30], eax
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp dword [ebp - 0x17c4c], eax
jae 0x40ea12
mov eax, dword [ebp - 0x17c54]
sub eax, 0x38
lea esi, [edx + eax]
mov dword [ebp - 0x17c60], eax
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ebx, edx
xor ebx, dword [ebp - 0x179ac]
mov ecx, eax
xor ecx, dword [ebp - 0x179b0]
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
mov eax, ebx
or eax, ecx
jne 0x4108a1
mov edx, dword [esi + 0x18]
sub edx, dword [ebp - 0x17c30]
lea eax, [edx - 0x46]
mov dword [ebp - 0x17c30], edx
cmp eax, 0xb9
ja 0x4108b7
mov eax, dword [ebp - 0x179c0]
lea edx, [ebp - 0x17a70]
mov dword [ebp - 0x17a70], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov edi, dword [ebp - 0x17c30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 4], 0x50c040
mov dword [esp + 8], edi
mov dword [ebp - 0x17c20], 8
mov dword [ebp - 0x17c40], eax
call eax
mov eax, dword [ebp - 0x17a70]
sub esp, 0x14
test eax, eax
mov dword [ebp - 0x17c38], eax
je 0x40e983
mov ecx, dword [ebp - 0x179c4]
test ecx, ecx
je 0x40e624
mov eax, dword [ebp - 0x179b0]
mov edx, dword [ebp - 0x179ac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x17c38]
mov dword [esp], 0x50c040
mov dword [esp + 4], eax
mov dword [ebp - 0x17c20], 8
call fcn.0042bca0
sub esp, 0x10
mov eax, dword [ebp - 0x17c38]
cdq
add dword [ebp - 0x179b0], eax
adc dword [ebp - 0x179ac], edx
mov edi, dword [ebp - 0x17c38]
cmp dword [ebp - 0x17c30], edi
jne 0x4108cd
mov eax, dword [ebp - 0x17c30]
cmp byte [eax + 0x50c01c], 9
jne 0x4108e3
cmp byte [eax + 0x50c02a], 0xfd
jne 0x4108e3
movzx eax, byte [eax + 0x50c03f]
cmp eax, 0xff
jne 0x4108e3
mov edi, dword [ebp - 0x17c30]
mov ecx, dword [0x4f9f24]
lea edx, [edi - 0x22]
mov dword [edx + 0x50c040], ecx
mov edx, dword [0x4f9f28]
mov eax, edi
add eax, 0x50c01e
cmp dword [ebp - 0x17950], 0xffffffff
mov dword [eax + 4], edx
mov edx, dword [0x4f9f2c]
mov dword [eax + 8], edx
mov edx, dword [0x4f9f30]
mov dword [eax + 0xc], edx
mov edx, dword [0x4f9f34]
mov dword [eax + 0x10], edx
mov edx, dword [0x4f9f38]
mov dword [eax + 0x14], edx
mov edx, dword [0x4f9f3c]
mov dword [eax + 0x18], edx
mov edx, dword [0x4f9f40]
mov dword [eax + 0x1c], edx
movzx edx, word [0x4f9f44]
mov word [eax + 0x20], dx
mov eax, edi
je 0x40ea00
add eax, 0x50c040
mov dword [ebp - 0x17c30], 0x50c040
mov dword [ebp - 0x17c40], eax
mov esi, eax
jmp 0x40e72d
lea edx, [eax + 1]
movzx ebx, byte [ebp - 0x17c38]
mov esi, dword [ebp - 0x17c40]
mov dword [ebp - 0x17940], edx
mov byte [ebp + eax - 0x1793c], bl
mov eax, dword [ebp - 0x17c30]
cmp eax, esi
je 0x40e880
add eax, 1
mov edx, dword [ebp - 0x17950]
mov dword [ebp - 0x17c30], eax
movzx eax, byte [eax - 1]
cmp edx, 0xffffffff
mov byte [ebp - 0x17c38], al
je 0x40e860
mov eax, dword [ebp - 0x17940]
cmp eax, 0xffff
jbe 0x40e710
mov esi, dword [ebp - 0x17954]
test esi, esi
je 0x40e972
lea eax, [ebp - 0x17a38]
mov dword [ebp - 0x17a38], 0
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [ebp - 0x17c20], 8
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov eax, dword [ebp - 0x17a38]
sub esp, 0x10
xor ebx, ebx
mov edx, eax
xor eax, eax
add eax, ecx
mov ecx, dword [ebp - 0x17954]
adc edx, ebx
add eax, dword [ebp - 0x17948]
adc edx, dword [ebp - 0x17944]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x17940]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1793c]
mov dword [ebp - 0x17c48], eax
mov dword [esp], eax
call fcn.0042bca0
mov edx, dword [ebp - 0x17950]
mov eax, dword [ebp - 0x17940]
sub esp, 0x10
lea edi, [ebp - 0x17a58]
mov dword [ebp - 0x17a58], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x17c48]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [ebp - 0x17c20], 8
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
mov edx, 1
xor eax, eax
jmp 0x40e713
mov eax, dword [ebp - 0x17c30]
add dword [ebp - 0x17948], 1
adc dword [ebp - 0x17944], 0
cmp eax, esi
jne 0x40e73b
lea esi, [esi]
mov eax, dword [ebp - 0x17c28]
mov ebx, dword [ebp - 0x17c60]
mov eax, dword [eax + 0x150]
mov edx, dword [eax + ebx + 0x24]
mov eax, dword [eax + ebx + 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 8
call fcn.00405b90
mov edi, dword [ebp - 0x17c28]
add dword [ebp - 0x17c4c], 1
sub esp, 8
mov esi, dword [ebp - 0x17c4c]
mov ecx, dword [ebp - 0x17c68]
mov ebx, dword [ebp - 0x17c64]
mov eax, dword [edi + 0x150]
mov edi, dword [edi + 0x154]
mov edx, edi
mov dword [ebp - 0x17c30], edi
sub edx, eax
sar edx, 3
imul edx, edx, 0xb6db6db7
cmp esi, edx
jae 0x40e909
mov ebx, dword [ebp - 0x17c54]
mov ecx, dword [eax + ebx + 0x10]
mov ebx, dword [eax + ebx + 0x14]
sub ecx, dword [ebp - 0x179b0]
sbb ebx, dword [ebp - 0x179ac]
mov dword [ebp - 0x17c30], ecx
mov dword [ebp - 0x17c2c], ebx
movq xmm2, qword [ebp - 0x17c30]
movq qword [esp], xmm2
mov edx, dword [ebp - 0x17c58]
mov eax, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 8
call fcn.00405e60
xor edx, dword [ebp - 0x17c2c]
xor eax, dword [ebp - 0x17c30]
add dword [ebp - 0x17c54], 0x38
mov edi, edx
or edi, eax
je 0x40e4f4
mov dword [esp], 0x4f9f47
call fcn.00402a80
lea edi, [ebp - 0x1793c]
mov dword [ebp - 0x17c48], edi
jmp 0x40e80b
mov dword [esp], 0
mov dword [esp + 4], 0
mov ecx, dword [ebp - 0x17c50]
call fcn.00405b90
lea edx, [ebp - 0x17a88]
sub esp, 8
mov eax, dword [ebp - 0x179c0]
mov dword [ebp - 0x17a88], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edx
mov esi, dword [ebp - 0x17c30]
mov dword [esp + 4], 0x50c040
mov dword [esp], eax
mov dword [esp + 8], esi
call dword [ebp - 0x17c40]
mov eax, dword [ebp - 0x17a88]
sub esp, 0x14
test eax, eax
mov dword [ebp - 0x17c38], eax
je 0x40e637
jmp 0x40e5e3
cdq
add dword [ebp - 0x17948], edi
adc dword [ebp - 0x17944], edx
jmp 0x40e880
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 8
call fcn.00403710
mov ecx, dword [ebp - 0x17c58]
call fcn.00467ea0
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
fild qword [ebp - 0x17c30]
mov dword [esp], str._____1.0f_n
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov ecx, dword [ebp - 0x17c58]
call fcn.004655d0
lea ecx, [ebp - 0x17954]
call fcn.00464aa0
mov ecx, dword [ebp - 0x17c50]
call fcn.00464e40
mov dword [ebp - 0x17c30], 0
mov eax, dword [ebp - 0x17c84]
mov dword [esp], eax
call fcn.004580a0
mov eax, dword [ebp - 0x17c30]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov dword [esp], edx
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00404930
mov eax, dword [ebp - 0x17c28]
mov edx, dword [eax + 0x34]
jmp 0x40e3c7
mov edi, dword [ebp - 0x17c28]
lea eax, [ebp - 0x179c0]
mov dword [ebp - 0x17c38], eax
mov dword [ebp - 0x179c8], eax
mov edx, dword [edi + 8]
mov eax, dword [edi + 4]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00401570
sub esp, 8
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x17c50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c58]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 5
call fcn.00405600
mov eax, dword [ebp - 0x17958]
mov dword [ebp - 0x17c20], 6
call fcn.00403620
mov dword [ebp - 0x17c30], eax
mov eax, dword [ebp - 0x17958]
cmp eax, dword [ebp - 0x17c40]
je 0x40eb71
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x179c8]
cmp eax, dword [ebp - 0x17c38]
je 0x40eb87
mov dword [esp], eax
call fcn.004f28f0
cmp dword [ebp - 0x17c30], 0xffffffff
je 0x411ee4
mov dword [ebp - 0x17958], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0x17c58]
mov dword [esp + 8], 0x20
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x17a00]
mov dword [ebp - 0x17c38], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c30]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
cmp dword [ebp - 0x17958], 0x20
jne 0x411ed8
mov eax, dword [ebp - 0x17c30]
xor byte [ebp - 0x17a00], 0x4d
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
jmp 0x40e46a
cmp dword [ebp - 0x17c68], 0
ja 0x40e282
mov dword [esp], str.archive_not_found
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
lea esi, [esi]
pxor xmm0, xmm0
mov eax, dword [sym.imp.KERNEL32.dll_CreateMutexW]
fldz
lea esi, [ebx + 0x118]
mov dword [ebp - 0x17a30], 0
mov dword [ebp - 0x17a2c], ebx
mov dword [ebp - 0x17a28], 0xffffffff
fstp qword [ebp - 0x17a20]
mov dword [ebp - 0x17c70], esi
mov dword [ebp - 0x17a24], esi
movaps xmmword [ebp - 0x17a18], xmm0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x17c20], 0xffffffff
mov dword [ebp - 0x17c30], eax
call eax
sub esp, 0xc
mov dword [ebp - 0x17a38], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [ebp - 0x17c30]
mov dword [ebp - 0x17a34], eax
mov eax, dword [ebp - 0x17c28]
sub esp, 0xc
mov eax, dword [eax + 0x120]
cmp eax, dword [ebp - 0x17c70]
mov dword [ebp - 0x179c8], eax
je 0x411ec9
mov dword [ebp - 0x17c48], 0
mov dword [ebp - 0x17c50], 0
jmp 0x40ed2a
mov dword [esp], eax
call fcn.004ea300
cmp eax, dword [ebp - 0x17c70]
mov dword [ebp - 0x179c8], eax
je 0x40f250
mov esi, dword [eax + 0x2c]
or esi, dword [eax + 0x28]
mov dword [eax + 0x40], 0xffffffff
mov dword [eax + 0x44], 0xffffffff
je 0x40ed10
lea ecx, [eax + 0x10]
mov dword [esp], 0x4f906e
mov dword [ebp - 0x17c20], 0xc
call fcn.00473d20
sub esp, 4
test eax, eax
je 0x40f025
mov edx, dword [ebp - 0x179c8]
lea eax, [ebp - 0x17bd0]
lea ecx, [ebp - 0x17bd8]
mov dword [ebp - 0x17bd8], eax
mov ebx, dword [edx + 0x14]
mov eax, dword [edx + 0x10]
add ebx, eax
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [ebp - 0x17c20], 0xc
call fcn.00401570
lea esi, [ebp - 0x17bd8]
sub esp, 8
lea eax, [ebp - 0x17958]
mov dword [esp + 4], esi
mov edi, dword [ebp - 0x17c28]
mov ecx, eax
mov dword [esp], edi
mov dword [ebp - 0x17c20], 9
call fcn.004071f0
mov eax, dword [ebp - 0x17bd8]
lea esi, [ebp - 0x17bd0]
sub esp, 8
cmp eax, esi
je 0x40ede2
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x179c8]
mov edi, dword [ebp - 0x17c28]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
movzx ebx, byte [ecx + edx - 1]
mov edx, dword [edi + 0xa8]
test edx, edx
mov byte [ebp - 0x17c30], bl
je 0x40f14f
cmp byte [ebp - 0x17c30], 0x2f
je 0x40f237
mov esi, dword [ebp - 0x17c28]
mov eax, dword [esi + 0x148]
sub eax, dword [esi + 0x144]
sar eax, 3
imul eax, eax, 0xb6db6db7
test eax, eax
je 0x40f00d
mov edi, dword [ebp - 0x179c8]
sub eax, 1
mov dword [ebp - 0x17c30], eax
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
mov ecx, edi
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
sub eax, edx
sar eax, 2
test eax, eax
je 0x40efed
mov dword [ebp - 0x17c38], 0
mov dword [ebp - 0x17c40], 0
mov eax, dword [ebp - 0x17c38]
mov esi, dword [edx + eax*4]
test esi, esi
je 0x40f030
mov eax, dword [ebp - 0x17c28]
mov edx, dword [eax + 0x108]
mov eax, dword [eax + 0x10c]
mov dword [ebp - 0x17c4c], eax
sub eax, edx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jae 0x40f030
lea eax, [esi + esi*2]
cmp dword [edx + eax*8 + 0x14], 0xffffffff
jl 0x40f030
mov ebx, dword [ebp - 0x17c40]
cmp dword [ebp - 0x17c30], ebx
mov eax, dword [ebp - 0x17c28]
mov ebx, dword [eax + 0x144]
mov eax, dword [eax + 0x148]
je 0x40f0d8
mov ecx, eax
mov dword [ebp - 0x17c30], eax
sub ecx, ebx
sar ecx, 3
imul eax, ecx, 0xb6db6db7
mov dword [ebp - 0x17c40], eax
mov eax, dword [ebp - 0x17c40]
xor ecx, ecx
mov dword [ebp - 0x17c4c], edi
mov edi, ecx
sub eax, 1
mov dword [ebp - 0x17c30], eax
cmp edi, dword [ebp - 0x17c30]
jae 0x40f0bd
mov eax, dword [ebp - 0x17c30]
lea ecx, [eax + edi + 1]
shr ecx, 1
imul eax, ecx, 0x38
mov eax, dword [ebx + eax + 0x24]
cmp esi, eax
jb 0x40f0a2
mov edi, dword [ebp - 0x17c30]
add edi, 1
jmp 0x40ef6b
lea edx, [edi + ecx]
shr edx, 1
imul eax, edx, 0x38
mov eax, dword [ebx + eax + 0x24]
cmp esi, eax
jb 0x40f0a6
mov ecx, edx
cmp dword [ebp - 0x17c30], ecx
ja 0x40ef55
imul edx, ecx, 0x38
mov edi, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c40], ecx
add edx, ebx
lea ecx, [esi + 1]
sub ecx, eax
cmp ecx, dword [edx + 0x28]
jbe 0x40ef91
mov dword [edx + 0x28], ecx
mov eax, dword [edx + 0x1c]
mov ecx, eax
sub ecx, dword [edx + 0x18]
sar ecx, 2
test ecx, ecx
je 0x40efa5
cmp dword [eax - 4], edi
je 0x40efc6
cmp eax, dword [edx + 0x20]
je 0x40f380
test eax, eax
je 0x40efc0
mov ecx, dword [ebp - 0x179c8]
mov dword [eax], ecx
mov edi, dword [ebp - 0x179c8]
add eax, 4
mov dword [edx + 0x1c], eax
mov ebx, dword [edi + 0x44]
add dword [ebp - 0x17c38], 1
mov ecx, edi
test ebx, ebx
js 0x40efed
mov edx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
sub eax, edx
sar eax, 2
cmp dword [ebp - 0x17c38], eax
jb 0x40ee83
add dword [ebp - 0x17c50], 1
movq xmm1, qword [ecx + 0x30]
movq xmm0, qword [ebp - 0x17a18]
paddq xmm0, xmm1
movq qword [ebp - 0x17a18], xmm0
mov eax, dword [ebp - 0x17958]
lea esi, [ebp - 0x17950]
cmp eax, esi
je 0x40f025
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x179c8]
jmp 0x40ed10
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call sub.msvcrt.dll_fflush
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x179c8]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call fcn.00403710
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str.:_bad_frag_IDs__skipping..._n
add eax, 0x40
mov dword [esp], eax
call fcn.00462d60
mov ecx, dword [ebp - 0x179c8]
mov dword [ecx + 0x40], 0xffffffff
mov dword [ecx + 0x44], 0xffffffff
jmp 0x40efed
mov edx, ecx
mov ecx, edi
lea eax, [edx - 1]
mov edi, ecx
mov dword [ebp - 0x17c30], eax
cmp edi, dword [ebp - 0x17c30]
jb 0x40ef2f
mov ecx, edi
mov edi, dword [ebp - 0x17c4c]
imul edx, ecx, 0x38
mov dword [ebp - 0x17c40], ecx
add edx, ebx
mov eax, dword [edx + 0x24]
jmp 0x40ef84
sub eax, ebx
sar eax, 3
imul eax, eax, 0xb6db6db7
mov edx, eax
mov dword [ebp - 0x17c40], eax
mov dword [ebp - 0x17c58], eax
mov eax, dword [ebp - 0x17c30]
cmp edx, eax
jbe 0x40ef0a
mov edx, eax
imul eax, eax, 0x38
mov dword [ebp - 0x17c54], eax
add eax, ebx
mov dword [ebp - 0x17c4c], eax
mov eax, dword [eax + 0x24]
cmp esi, eax
jb 0x40ef0a
add edx, 1
cmp edx, dword [ebp - 0x17c58]
jae 0x40f138
mov edx, dword [ebp - 0x17c54]
cmp esi, dword [ebx + edx + 0x5c]
jae 0x40ef0a
mov ebx, dword [ebp - 0x17c30]
mov edx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c40], ebx
jmp 0x40ef84
cmp byte [edi + 0xd4], 0
jne 0x40ee0d
cmp byte [edi + 0x2c], 0
je 0x411de8
cmp bl, 0x2f
je 0x411de8
mov edx, dword [ebp - 0x17958]
mov ecx, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0xa
call fcn.00407d00
sub esp, 8
test al, al
je 0x411dc7
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0xd0]
test ecx, ecx
jle 0x40f1f6
mov ecx, dword [ebp - 0x179c8]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 0x28]
mov edx, dword [ecx + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x17958]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call fcn.00404b60
add dword [ebp - 0x17c48], 1
jmp 0x40f00d
mov dword [esp], 0x4f9f4b
call fcn.00462d40
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17958]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call fcn.00403710
mov dword [esp], 0x4f9a81
call fcn.00462d40
jmp 0x40f1a8
mov eax, dword [ebp - 0x179c8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
jmp 0x40f00d
mov ecx, dword [ebp - 0x17c48]
mov eax, dword [ebp - 0x17c28]
test ecx, ecx
movzx eax, byte [eax + 0x2c]
setne byte [ebp - 0x17c30]
movzx ebx, byte [ebp - 0x17c30]
cmp al, bl
jae 0x411dc0
mov eax, dword [ebp - 0x17c48]
mov dword [esp], str._d__existing_files_skipped___force_overwrites_._n
mov dword [esp + 4], eax
call fcn.00462d40
mov edi, dword [ebp - 0x17c28]
movzx eax, byte [ebp - 0x17c30]
and al, byte [edi + 0x2c]
test al, al
je 0x40f2b8
mov eax, dword [ebp - 0x17c48]
mov dword [esp], str._d_identical_files_skipped._n
mov dword [esp + 4], eax
call fcn.00462d40
mov edi, dword [ebp - 0x17c28]
mov edx, dword [edi + 0xa8]
test edx, edx
je 0x411c0d
mov eax, dword [edi + 0x154]
sub eax, dword [edi + 0x150]
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp eax, 1
jbe 0x411bf7
mov ebx, dword [edi + 0x148]
mov eax, dword [edi + 0x144]
mov edx, ebx
mov dword [ebp - 0x17c30], ebx
sub edx, eax
sar edx, 3
imul edx, edx, 0xb6db6db7
test edx, edx
je 0x40f3a9
mov ebx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
cmp ebx, 0
jl 0x40f369
jle 0x4121a5
add eax, 0x28
xor esi, esi
mov dword [ebp - 0x17c40], 0
mov dword [ebp - 0x17c3c], 0
mov edi, dword [eax]
test edi, edi
je 0x40f34d
add dword [ebp - 0x17c40], ecx
adc dword [ebp - 0x17c3c], ebx
add esi, 1
cmp esi, edx
je 0x40f3bd
add eax, 0x38
mov ebx, dword [eax - 0x14]
mov ecx, dword [eax - 0x18]
cmp ebx, 0
jg 0x40f33b
jl 0x40f369
cmp ecx, 0
ja 0x40f33b
mov dword [esp], str.empty_block
mov dword [ebp - 0x17c20], 0xc
call fcn.00402a80
nop
lea eax, [ebp - 0x179c8]
lea ecx, [edx + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call fcn.004d6ff0
sub esp, 4
mov edi, dword [ebp - 0x179c8]
jmp 0x40efc6
mov dword [ebp - 0x17c40], 0
mov dword [ebp - 0x17c3c], 0
mov ebx, dword [ebp - 0x17c28]
lea eax, [ebp - 0x179c8]
mov dword [ebp - 0x17c50], eax
mov ecx, eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x17c28], ebx
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xc
call fcn.004089a0
mov eax, dword [ebp - 0x17c28]
sub esp, 8
cmp byte [eax + 0x2c], 0
je 0x411b7d
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xe
call fcn.00404930
xor eax, eax
mov dword [ebp + eax - 0x17a00], 0
add eax, 4
cmp eax, 0x20
jb 0x40f426
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x411b6c
lea eax, [ebp - 0x17a00]
mov dword [esp + 4], 0x20
mov dword [ebp - 0x17c38], eax
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xe
call fcn.0042ce50
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xcc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea esi, [ebp - 0x17958]
mov ebx, dword [ebp - 0x17c38]
mov dword [esp + 4], eax
mov ecx, esi
mov dword [esp + 8], ebx
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xe
mov dword [ebp - 0x17c58], esi
call fcn.004067d0
mov ecx, dword [ebp - 0x17c58]
sub esp, 0x14
mov dword [ebp - 0x17c20], 0xf
call fcn.00467ea0
mov dword [ebp - 0x17c98], eax
mov dword [ebp - 0x17c9c], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x150]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov esi, dword [ebp - 0x17c58]
mov dword [esp], esi
call fcn.004084c0
mov ecx, dword [ebp - 0x17c58]
call fcn.00467ea0
mov dword [ebp - 0x17c48], eax
mov eax, dword [ebp - 0x17c28]
mov dword [ebp - 0x17c44], edx
mov dword [ebp - 0x17c30], 0
mov ecx, dword [eax + 0x148]
mov edx, dword [eax + 0x144]
mov eax, ecx
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
test eax, eax
jne 0x40f5a2
jmp 0x4109ad
mov eax, ecx
add dword [ebp - 0x17c30], 1
sub eax, edx
mov ebx, dword [ebp - 0x17c30]
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp ebx, eax
jae 0x4109ad
imul eax, dword [ebp - 0x17c30], 0x38
mov dword [ebp - 0x17c38], eax
add eax, edx
mov esi, dword [eax + 0x28]
test esi, esi
je 0x40f580
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 0xf
call fcn.00406160
mov ebx, dword [ebp - 0x17c28]
mov esi, dword [ebp - 0x17c38]
sub esp, 8
mov eax, dword [ebx + 0x144]
mov edx, dword [eax + esi + 0x14]
mov eax, dword [eax + esi + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [ebp - 0x17c58]
mov eax, dword [ebp - 0x17c50]
call fcn.00405e60
mov ebx, dword [ebp - 0x17c28]
mov ecx, dword [ebx + 0x148]
mov edx, dword [ebx + 0x144]
jmp 0x40f580
mov dword [esp], str.negative_block_size
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov dword [esp], str.index_file_exists
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
add ebp, 0x18
mov eax, dword [ebp - 0x17c1c]
cmp dword [ebp - 0x17c20], 0x32
mov dword [ebp - 0x17c30], eax
mov eax, dword [ebp - 0x17c18]
mov dword [ebp - 0x17c38], eax
ja case.default.0x40f67f
mov eax, dword [ebp - 0x17c20]
jmp dword [eax*4 + 0x4fa1b8]
mov dword [esp], str.block_start_too_high
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov dword [esp], str.no_journaling_data
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov ebx, edi
jmp 0x40e394
lea ecx, [ebp - 0x17954]
call fcn.00464aa0
lea ecx, [ebp - 0x179c8]
call fcn.00464e40
mov eax, dword [ebp - 0x17c30]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.004583a0
mov eax, dword [ebp - 0x17bd8]
lea edx, [ebp - 0x17bd0]
cmp eax, edx
je 0x40f6ff
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17a38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x17c20], 0
mov dword [ebp - 0x17c38], eax
call eax
mov eax, dword [ebp - 0x17a34]
sub esp, 4
mov dword [esp], eax
call dword [ebp - 0x17c38]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.004583a0
mov eax, dword [ebp - 0x17bc0]
lea edx, [ebp - 0x17bb8]
cmp eax, edx
je 0x40f764
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17958]
lea edx, [ebp - 0x17950]
cmp eax, edx
jne 0x40f6f7
jmp 0x40f6ff
mov eax, dword [ebp - 0x17ba8]
lea edx, [ebp - 0x17ba0]
cmp eax, edx
je 0x40f78e
mov dword [esp], eax
call fcn.004f28f0
lea ecx, [ebp - 0x179c8]
call fcn.00464e40
jmp 0x40f6ff
mov eax, dword [ebp - 0x17b30]
lea edx, [ebp - 0x17b28]
cmp eax, edx
je 0x40f7b6
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b60]
lea edx, [ebp - 0x17b58]
cmp eax, edx
je 0x40f7ce
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b78]
lea edx, [ebp - 0x17b70]
cmp eax, edx
je 0x40f7e6
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b90]
lea edx, [ebp - 0x17b88]
cmp eax, edx
je 0x40f7fe
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b48]
lea edx, [ebp - 0x17b40]
cmp eax, edx
je case.0x40f67f.4
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17a50]
mov dword [ebp - 0x17a58], 0x508fa4
mov dword [ebp - 0x17a54], 0x508fc4
test eax, eax
je 0x40f83c
mov dword [esp], eax
call fcn.004628a0
lea ecx, [ebp - 0x17954]
call fcn.00464aa0
jmp 0x40f78e
mov eax, dword [ebp - 0x17a70]
lea edx, [ebp - 0x17a68]
cmp eax, edx
jne 0x40f80e
jmp case.0x40f67f.4
mov eax, dword [ebp - 0x17aa0]
lea edx, [ebp - 0x17a98]
cmp eax, edx
je case.0x40f67f.2
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ad0]
lea edx, [ebp - 0x17ac8]
cmp eax, edx
je case.0x40f67f.1
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ae8]
lea edx, [ebp - 0x17ae0]
cmp eax, edx
je case.0x40f67f.0
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b00]
lea edx, [ebp - 0x17af8]
cmp eax, edx
je 0x40f8be
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ab8]
lea edx, [ebp - 0x17ab0]
cmp eax, edx
jne 0x40f80e
jmp case.0x40f67f.4
mov eax, dword [ebp - 0x17b18]
lea edx, [ebp - 0x17b10]
cmp eax, edx
jne 0x40f80e
jmp case.0x40f67f.4
mov edx, dword [ebp - 0x17c30]
mov eax, dword [ebp - 0x17c38]
cmp eax, 1
je 0x40f92b
mov dword [ebp - 0x17c30], edx
lea ecx, [ebp - 0x17a00]
call fcn.00464e40
mov ebx, dword [ebp - 0x17c74]
test ebx, ebx
je 0x40f6ff
mov eax, dword [ebp - 0x17c74]
jmp 0x40f6f7
mov dword [esp], edx
call fcn.004f2bd0
mov dword [ebp - 0x17c30], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x17a38]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x25
call ebx
mov ecx, dword [ebp - 0x17c30]
sub esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov dword [esp], str.Skipping_block:__s_n
mov dword [esp + 4], eax
call fcn.00462d40
mov eax, dword [ebp - 0x17a38]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
call fcn.004f2ea0
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0x148]
mov eax, dword [eax + 0x144]
mov edx, ecx
add dword [ebp - 0x17c80], 1
sub edx, eax
mov esi, dword [ebp - 0x17c80]
sar edx, 3
imul edx, edx, 0xb6db6db7
cmp esi, edx
jae 0x4100f4
imul edx, dword [ebp - 0x17c80], 0x38
lea edi, [eax + edx]
mov ebx, dword [edi + 0xc]
mov dword [ebp - 0x17c30], edi
test ebx, ebx
jns 0x40f9a5
mov edx, dword [edi + 0x28]
test edx, edx
je 0x40f9a5
lea eax, [ebp - 0x17a00]
mov dword [ebp - 0x17c38], eax
mov ecx, eax
mov eax, dword [ebp - 0x17c30]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1f
call fcn.00406160
lea eax, [ebp - 0x17958]
sub esp, 8
mov dword [ebp - 0x17c20], 0x1f
mov ecx, eax
mov dword [ebp - 0x17c58], eax
call fcn.0042d370
mov eax, dword [ebp - 0x17c58]
lea ebx, [ebp - 0x178e4]
mov ecx, ebx
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x2c
call fcn.0042f650
pxor xmm0, xmm0
lea esi, [ebp - 0x94]
sub esp, 4
mov dword [ebp - 0x17c20], 0x2d
mov ecx, esi
movups xmmword [ebp - 0xa4], xmm0
call fcn.0042d370
mov edi, dword [ebp - 0x17c38]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x178e0], edi
mov dword [esp], 0
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 0x20
call fcn.0042fe30
sub esp, 4
test al, al
je 0x4100de
lea eax, [ebp - 0x17a4c]
mov dword [ebp - 0x17a50], 0
mov byte [ebp - 0x17a4c], 0
mov dword [ebp - 0x17a58], 0x508e50
mov dword [ebp - 0x17a54], eax
mov eax, dword [ebp - 0x17c30]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4100b0
lea eax, [ebp - 0x17a58]
mov dword [ebp - 0x17c48], 0
mov dword [ebp - 0x17c4c], eax
jmp 0x40fc22
mov edi, dword [ebp - 0x17c78]
test edi, edi
je 0x40fc87
lea ecx, [ebp - 0x179c8]
mov dword [ebp - 0x17c20], 0x21
call fcn.00425e20
lea eax, [ebp - 0x179c8]
mov dword [ebp - 0x17ab8], 0x508e08
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x17c6c]
mov dword [ebp - 0x17ab4], eax
lea eax, [ebp - 0x17ab8]
mov dword [ebp - 0x94], eax
mov dword [esp], 0xffffffff
mov ecx, dword [ebp - 0x17c58]
call fcn.00443830
lea eax, [ebp - 0x17aa0]
sub esp, 4
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c58]
call fcn.00430870
movzx eax, byte [ebp - 0x17aa0]
sub esp, 4
cmp al, 1
je 0x40ffe5
test al, al
jne 0x410078
mov eax, dword [ebp - 0x17c30]
mov esi, dword [ebp - 0x17c70]
add dword [eax + 0x30], 1
mov eax, dword [ebp - 0x17c7c]
cmp eax, esi
je 0x40fbc6
add dword [eax + 0x40], 1
adc dword [eax + 0x44], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4f906e
lea ecx, [ebp - 0x17a54]
mov eax, dword [ebp - 0x17a50]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [ebp - 0x17c20], 0x21
call fcn.004d8dc0
mov ebx, dword [ebp - 0x17c30]
add dword [ebp - 0x17c48], 1
sub esp, 0x10
add dword [ebp - 0x17c78], 1
mov eax, dword [ebp - 0x17c48]
cmp dword [ebx + 0x28], eax
jbe 0x41008e
mov eax, dword [ebp - 0x17c4c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 0x21
call fcn.00430470
sub esp, 4
test al, al
je 0x4100d2
mov dword [esp], 0
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 0x21
call fcn.00430690
sub esp, 4
lea ecx, [ebp - 0x17a54]
mov dword [esp], 0x4f906e
call fcn.00473d20
sub esp, 4
test eax, eax
je 0x40fb10
mov eax, dword [ebp - 0x17c30]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov esi, eax
mov dword [ebp - 0x17c38], eax
sub esi, edi
sar esi, 2
test esi, esi
je 0x40fec1
xor edx, edx
mov dword [ebp - 0x17c40], edi
jmp 0x40fcbd
add edx, 1
cmp edx, esi
je 0x40fec1
lea eax, [edx*4]
mov dword [ebp - 0x17c38], eax
mov eax, dword [ebp - 0x17c40]
mov ecx, dword [eax + edx*4]
mov ebx, dword [ecx + 0x48]
mov eax, dword [ecx + 0x4c]
sub eax, ebx
sar eax, 2
test eax, eax
je 0x40fcb2
mov edi, dword [ebp - 0x17c30]
mov eax, dword [ebp - 0x17c48]
add eax, dword [edi + 0x24]
cmp dword [ebx], eax
jne 0x40fcb2
cmp dword [ecx + 0x2c], 0
jl 0x40fcb2
jle 0x40ff01
mov eax, dword [ecx + 0x44]
or eax, dword [ecx + 0x40]
jne 0x40fcb2
cmp edx, esi
jae 0x40fec1
mov eax, dword [ebp - 0x17c6c]
cmp eax, 0xffffffff
je 0x40fd44
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x21
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x17c30]
mov ebx, dword [ebp - 0x17c38]
sub esp, 4
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + ebx]
lea eax, [ebp - 0x17a80]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x17a88], eax
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x17a88]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0x33
call fcn.00401570
lea eax, [ebp - 0x17a88]
sub esp, 8
lea ecx, [ebp - 0x179c8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x22
call fcn.004071f0
mov eax, dword [ebp - 0x17a88]
lea esi, [ebp - 0x17a80]
sub esp, 8
cmp eax, esi
je 0x40fdba
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c30]
mov edi, dword [ebp - 0x17c38]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi]
mov dword [ebp - 0x17c7c], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x17a38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x17c20], 0x2f
call eax
mov eax, dword [ebp - 0x17c28]
sub esp, 8
mov esi, dword [eax + 0xd0]
test esi, esi
jle 0x410031
cmp byte [eax + 0xd4], 0
je 0x40ff10
mov dword [ebp - 0x17c6c], 0xffffffff
mov eax, dword [ebp - 0x17a38]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x23
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x179c8]
lea edx, [ebp - 0x179c0]
sub esp, 4
cmp eax, edx
je 0x40fb1e
mov dword [esp], eax
call fcn.004f28f0
jmp 0x40fb1e
mov eax, dword [ebp - 0x17a88]
lea edx, [ebp - 0x17a80]
cmp eax, edx
je case.0x40f67f.26
mov dword [esp], eax
call fcn.004f28f0
mov dword [ebp - 0x17c6c], 0xffffffff
mov eax, dword [ebp - 0x17a54]
lea edx, [ebp - 0x17a4c]
mov dword [ebp - 0x17a58], 0x508e50
cmp eax, edx
je case.0x40f67f.7
mov dword [esp], eax
call fcn.004f28f0
lea eax, [ebp - 0x17958]
mov ecx, eax
call fcn.00465ee0
mov edx, dword [ebp - 0x17c30]
mov eax, dword [ebp - 0x17c38]
jmp 0x40f8fc
mov eax, dword [ebp - 0x17c6c]
cmp eax, 0xffffffff
je 0x410020
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x21
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x17c70]
sub esp, 4
mov dword [ebp - 0x17c6c], 0xffffffff
mov dword [ebp - 0x17c7c], eax
jmp 0x40fb1e
cmp dword [ecx + 0x28], 0
jbe 0x40fcb2
jmp 0x40fd01
lea eax, [ebp - 0x17a68]
mov edx, dword [ebp - 0x179c4]
lea ecx, [ebp - 0x17a70]
mov dword [ebp - 0x17a70], eax
mov eax, dword [ebp - 0x179c8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0x31
call fcn.00401570
lea eax, [ebp - 0x17a70]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x24
call fcn.00404fd0
mov eax, dword [ebp - 0x17a70]
lea ebx, [ebp - 0x17a68]
cmp eax, ebx
je 0x40ff99
mov dword [esp], eax
call fcn.004f28f0
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x179c8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x32
call fcn.00404500
cmp eax, 0xffffffff
mov dword [ebp - 0x17c6c], eax
jne 0x40fe22
mov eax, dword [ebp - 0x179c8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x23
call fcn.004049f0
jmp 0x40fe18
lea ecx, [ebp - 0x179c8]
call fcn.004272e0
mov dword [esp + 4], eax
lea eax, [ebp - 0x17a9f]
mov dword [esp + 8], 0x14
mov dword [esp], eax
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x40fba4
mov dword [esp], str.checksum_failed
call fcn.00402a80
nop
mov eax, dword [ebp - 0x17c70]
mov dword [ebp - 0x17c7c], eax
jmp 0x40fb1e
mov dword [esp], 0x4f9a7e
call fcn.00462d40
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x179c8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x30
call fcn.00403710
mov dword [esp], 0x4f9a81
call fcn.00462d40
mov eax, dword [ebp - 0x17c28]
jmp 0x40fe0b
mov dword [esp], str.unknown_checksum_type
mov dword [ebp - 0x17c20], 0x21
call fcn.00402a80
mov eax, dword [ebp - 0x17a54]
lea esi, [ebp - 0x17a4c]
mov dword [ebp - 0x17a58], 0x508e50
cmp eax, esi
je 0x4100b0
mov dword [esp], eax
call fcn.004f28f0
mov ecx, dword [ebp - 0x17c58]
call fcn.00465ee0
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0x148]
mov eax, dword [eax + 0x144]
jmp 0x40f9a5
mov dword [esp], str.segment_not_found
call fcn.00402a80
mov dword [esp], str.block_not_found
mov dword [ebp - 0x17c20], 0x20
call fcn.00402a80
mov eax, dword [ebp - 0x17c6c]
cmp eax, 0xffffffff
je 0x410115
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x26
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov ebx, dword [ebp - 0x17c78]
test ebx, ebx
je 0x410135
mov eax, dword [ebp - 0x17c78]
mov dword [esp], str._u_streaming_segments_extracted_n
mov dword [esp + 4], eax
call fcn.00462d40
mov ecx, dword [ebp - 0x17c88]
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x17c30], 0
test ecx, ecx
mov dword [ebp - 0x17c38], eax
je 0x410196
mov dword [esp + 4], 0xffffffff
mov edi, dword [ebp - 0x17c74]
mov eax, dword [ebp - 0x17c30]
mov eax, dword [edi + eax*4]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x26
call dword [ebp - 0x17c38]
add dword [ebp - 0x17c30], 1
sub esp, 8
mov eax, dword [ebp - 0x17c30]
cmp eax, dword [ebp - 0x17c88]
jne 0x410154
mov eax, dword [ebp - 0x17c28]
cmp byte [eax + 0xd4], 0
jne 0x4103cd
mov eax, dword [eax + 0x120]
mov ebx, dword [ebp - 0x17c70]
cmp ebx, eax
mov dword [ebp - 0x17c38], eax
je 0x410360
mov dword [ebp - 0x17c30], ebx
mov eax, ebx
jmp 0x4101e2
cmp dword [ebp - 0x17c38], eax
mov dword [ebp - 0x17c30], eax
je 0x4103d9
mov dword [esp], eax
call fcn.004ea2b0
mov edx, dword [eax + 0x44]
test edx, edx
js 0x4101d0
mov edi, dword [eax + 0x2c]
or edi, dword [eax + 0x28]
je 0x4101d0
lea ecx, [eax + 0x10]
mov dword [esp], 0x4f906e
mov dword [ebp - 0x17c20], 0x26
call fcn.00473d20
sub esp, 4
test eax, eax
je 0x4102f8
mov eax, dword [ebp - 0x17c30]
lea esi, [ebp - 0x17a50]
mov dword [esp], eax
call fcn.004ea2b0
mov dword [ebp - 0x17a58], esi
mov esi, dword [eax + 0x14]
lea ecx, [ebp - 0x17a58]
mov edx, dword [eax + 0x10]
add esi, edx
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [ebp - 0x17c20], 0x26
call fcn.00401570
lea edi, [ebp - 0x17a58]
sub esp, 8
lea eax, [ebp - 0x17958]
mov dword [esp + 4], edi
mov esi, dword [ebp - 0x17c28]
mov ecx, eax
mov dword [esp], esi
mov dword [ebp - 0x17c20], 0x27
call fcn.004071f0
mov eax, dword [ebp - 0x17a58]
lea ebx, [ebp - 0x17a50]
sub esp, 8
cmp eax, ebx
je 0x4102a3
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c30]
mov dword [esp], eax
call fcn.004ea2b0
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
cmp byte [ecx + edx - 1], 0x2f
je 0x4106da
mov ecx, dword [eax + 0x38]
mov ebx, dword [eax + 0x3c]
xor edx, edx
mov esi, edx
mov eax, ecx
and eax, 0x1ff
xor eax, 0x177
or esi, eax
je 0x41069d
mov eax, dword [ebp - 0x17958]
lea edi, [ebp - 0x17950]
cmp eax, edi
je 0x4102f8
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x120]
mov dword [ebp - 0x17c38], eax
mov eax, dword [ebp - 0x17c30]
mov dword [esp], eax
call fcn.004ea2b0
jmp 0x4101d0
mov eax, dword [ebp - 0x17a70]
lea edx, [ebp - 0x17a68]
cmp eax, edx
je case.0x40f67f.22
mov dword [esp], eax
call fcn.004f28f0
mov dword [ebp - 0x17c6c], 0xffffffff
mov eax, dword [ebp - 0x179c8]
lea edx, [ebp - 0x179c0]
cmp eax, edx
je case.0x40f67f.8
mov dword [esp], eax
call fcn.004f28f0
jmp case.0x40f67f.8
mov dword [ebp - 0x17c30], 0
lea ecx, [ebp - 0x17a00]
call fcn.00464e40
lea eax, [ebp - 0x17c24]
mov dword [ebp - 0x17c84], eax
mov eax, dword [ebp - 0x17c74]
test eax, eax
je 0x410393
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17a38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x17c20], 0
mov dword [ebp - 0x17c38], eax
call eax
mov eax, dword [ebp - 0x17a34]
sub esp, 4
mov dword [esp], eax
call dword [ebp - 0x17c38]
sub esp, 4
jmp 0x40ea97
mov eax, dword [eax + 0x120]
mov dword [ebp - 0x17c38], eax
mov eax, dword [ebp - 0x17c38]
cmp dword [ebp - 0x17c70], eax
je 0x410360
mov dword [ebp - 0x17c30], eax
lea eax, [ebp - 0x17958]
mov dword [ebp - 0x17c38], 0
mov dword [ebp - 0x17c48], 0
mov dword [ebp - 0x17c58], eax
lea eax, [ebp - 0x17950]
mov dword [ebp - 0x17c40], eax
jmp 0x410458
mov eax, dword [ebp - 0x179c8]
lea esi, [ebp - 0x179c0]
cmp eax, esi
je 0x410438
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c30]
mov dword [esp], eax
call fcn.004ea300
cmp eax, dword [ebp - 0x17c70]
mov dword [ebp - 0x17c30], eax
je 0x4105fd
mov eax, dword [ebp - 0x17c40]
mov edi, dword [ebp - 0x17c30]
mov dword [ebp - 0x17958], eax
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 0x26
call fcn.00401570
mov ebx, dword [ebp - 0x17c58]
sub esp, 8
lea ecx, [ebp - 0x179c8]
mov dword [esp + 4], ebx
mov ebx, dword [ebp - 0x17c28]
mov dword [esp], ebx
mov dword [ebp - 0x17c20], 0x2a
call fcn.004071f0
sub esp, 8
mov eax, dword [ebp - 0x17958]
cmp eax, dword [ebp - 0x17c40]
je 0x4104d2
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c30]
mov edi, dword [eax + 0x44]
test edi, edi
js 0x410420
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x17c50], eax
or eax, esi
mov dword [ebp - 0x17c4c], esi
je 0x410420
lea ecx, [ebp - 0x179c8]
mov dword [esp], 0x4f906e
mov dword [ebp - 0x17c20], 0x2b
call fcn.00473d20
sub esp, 4
test eax, eax
mov eax, dword [ebp - 0x179c8]
je 0x410426
mov edx, dword [ebp - 0x179c4]
cmp byte [eax + edx - 1], 0x2f
je 0x410426
mov ebx, dword [ebp - 0x17c30]
add dword [ebp - 0x17c48], 1
mov edx, dword [ebx + 0x4c]
sub edx, dword [ebx + 0x48]
sar edx, 2
cmp dword [ebx + 0x40], edx
je 0x410426
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x2b
call sub.msvcrt.dll_fflush
add dword [ebp - 0x17c38], 1
mov eax, dword [ebp - 0x17c38]
cmp eax, 1
je 0x410680
mov edi, dword [ebp - 0x17c30]
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x48]
sar eax, 2
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x40]
mov dword [esp + 4], str._u__u
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00462d60
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x179c8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x2b
call fcn.00403710
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 0x4f9a81
add eax, 0x40
mov dword [esp], eax
call fcn.00462d60
jmp 0x410420
mov esi, dword [ebp - 0x17c38]
test esi, esi
je 0x410360
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x26
call sub.msvcrt.dll_fflush
mov eax, dword [ebp - 0x17c94]
fld dword [0x4fac74]
mov dword [esp + 0x1c], eax
fdivr qword [ebp - 0x17a20]
fstp qword [esp + 0x14]
mov esi, dword [ebp - 0x17c38]
mov dword [esp + 0x10], esi
mov eax, dword [ebp - 0x17c48]
mov dword [esp + 4], str._nExtracted__u_of__u_files_OK___u_errors__using__1.3f_MB_x__d_threads_n
mov dword [esp + 0xc], eax
sub eax, esi
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call fcn.00462d60
mov dword [ebp - 0x17c30], 1
jmp 0x41036a
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], str._nFailed__extracted_total_fragments__file_:_n
add eax, 0x40
mov dword [esp], eax
call fcn.00462d60
jmp 0x41058a
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x17958]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x28
call fcn.00404b60
jmp 0x4102e0
mov esi, dword [eax + 0x3c]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x38]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x17c3c], esi
mov dword [ebp - 0x17c44], edx
mov dword [ebp - 0x17c48], eax
lea eax, [ebp - 0x179c8]
mov edx, dword [ebp - 0x17954]
mov dword [ebp - 0x17c40], ebx
mov esi, eax
lea eax, [ebp - 0x179c0]
mov ecx, esi
mov dword [ebp - 0x17c38], eax
mov dword [ebp - 0x179c8], eax
mov eax, dword [ebp - 0x17958]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0x28
mov dword [ebp - 0x17c50], esi
call fcn.00401570
sub esp, 8
movq xmm4, qword [ebp - 0x17c40]
movq qword [esp + 0xc], xmm4
movq xmm5, qword [ebp - 0x17c48]
movq qword [esp + 4], xmm5
mov eax, dword [ebp - 0x17c50]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x29
call fcn.00404fd0
mov eax, dword [ebp - 0x179c8]
cmp eax, dword [ebp - 0x17c38]
je 0x4102e0
mov dword [esp], eax
call fcn.004f28f0
jmp 0x4102e0
ud2
mov eax, dword [ebp - 0x17a38]
lea edx, [ebp - 0x17a30]
cmp eax, edx
je 0x40f6c4
mov dword [esp], eax
call fcn.004f28f0
jmp 0x40f6c4
lea ecx, [ebp - 0x178e4]
call fcn.00466690
lea eax, [ebp - 0x17958]
mov ecx, eax
call fcn.0042d5b0
mov edx, dword [ebp - 0x17c30]
mov eax, dword [ebp - 0x17c38]
jmp 0x40f8fc
mov eax, dword [ebp - 0x17958]
lea edx, [ebp - 0x17950]
cmp eax, edx
je 0x40f6cf
mov dword [esp], eax
call fcn.004f28f0
jmp 0x40f6cf
mov eax, dword [ebp - 0x17958]
lea edx, [ebp - 0x17950]
cmp eax, edx
je 0x41081f
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x179c8]
lea edx, [ebp - 0x179c0]
cmp eax, edx
jne 0x4107fa
jmp 0x40f6cf
call fcn.004f2ea0
jmp case.0x40f67f.13
mov eax, dword [ebp - 0x17a58]
lea edx, [ebp - 0x17a50]
cmp eax, edx
je case.0x40f67f.13
mov dword [esp], eax
call fcn.004f28f0
jmp case.0x40f67f.13
mov eax, dword [ebp - 0x179c8]
lea edx, [ebp - 0x179c0]
cmp eax, edx
je case.0x40f67f.15
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17958]
lea edx, [ebp - 0x17950]
cmp eax, edx
jne 0x410852
jmp case.0x40f67f.13
mov eax, dword [ebp - 0x179c8]
lea edx, [ebp - 0x179c0]
cmp eax, edx
jne 0x410852
jmp case.0x40f67f.13
mov dword [esp], str.Im_lost
mov dword [ebp - 0x17c20], 8
call fcn.00402a80
mov dword [esp], str.bad_C_block_size
mov dword [ebp - 0x17c20], 8
call fcn.00402a80
mov dword [esp], str.EOF_in_header
mov dword [ebp - 0x17c20], 8
call fcn.00402a80
mov edi, dword [ebp - 0x17c30]
test edi, edi
jle 0x41095f
mov dword [ebp - 0x17c38], 0
mov edi, dword [ebp - 0x17c38]
mov eax, 0x66666667
mov ebx, edi
imul edi
mov eax, edx
mov edx, edi
sar edx, 0x1f
sar eax, 2
sub eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ebx, eax
mov eax, 0xa
cmp ebx, 9
mov ebx, 0x20
cmovne eax, ebx
mov dword [esp + 8], eax
movzx eax, byte [edi + 0x50c040]
mov dword [ebp - 0x17c38], edi
mov dword [esp], str._d_c
mov dword [esp + 4], eax
call fcn.00462d40
add dword [ebp - 0x17c38], 1
mov edi, dword [ebp - 0x17c38]
cmp dword [ebp - 0x17c30], edi
jne 0x4108fd
mov eax, dword [ebp - 0x17c28]
mov ebx, dword [ebp - 0x17c60]
mov eax, dword [eax + 0x150]
fild qword [eax + ebx + 0x10]
fstp qword [ebp - 0x17bf0]
fld qword [ebp - 0x17bf0]
mov dword [esp], str.at__1.0f_n
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov dword [esp], str.C_block_in_weird_format
mov dword [ebp - 0x17c20], 8
call fcn.00402a80
fild qword [ebp - 0x17c40]
mov dword [esp], str.Data__1.0f___
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov ecx, dword [ebp - 0x17c58]
mov dword [ebp - 0x17c20], 0xf
call fcn.00467ea0
sub eax, dword [ebp - 0x17c48]
sbb edx, dword [ebp - 0x17c44]
mov dword [ebp - 0x17c90], eax
mov dword [ebp - 0x17c8c], edx
fild qword [ebp - 0x17c90]
mov dword [esp], str._1.0f_n
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0x148]
mov edx, dword [eax + 0x144]
mov eax, ecx
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
test eax, eax
je 0x410faa
mov dword [ebp - 0x17c54], 0
imul eax, dword [ebp - 0x17c54], 0x38
mov dword [ebp - 0x17c4c], eax
add eax, edx
mov ebx, dword [eax + 0x28]
test ebx, ebx
je 0x410f88
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x17a58], 0x508fa4
mov dword [ebp - 0x17a54], 0x508fc4
mov dword [ebp - 0x17a50], 0
mov dword [ebp - 0x17a4c], 0
mov dword [ebp - 0x17a48], 0
mov dword [ebp - 0x17a44], 0
mov dword [ebp - 0x17a40], 0xffffffff
mov dword [ebp - 0x17a3c], pe_nt_image_headers32
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c38], 4
movzx eax, byte [ebp - 0x17c30]
lea ecx, [ebp - 0x17a58]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x10
call fcn.00465fd0
mov edx, dword [ebp - 0x17c2c]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
shrd eax, edx, 8
shr edx, 8
sub dword [ebp - 0x17c38], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
jne 0x410ac9
mov esi, dword [ebp - 0x17c28]
mov eax, dword [ebp - 0x17c4c]
add eax, dword [esi + 0x144]
mov edi, dword [eax + 0x2c]
test edi, edi
je 0x410de2
mov edx, dword [eax + 0x24]
test edx, edx
je 0x410db2
mov edi, dword [esi + 0x10c]
mov eax, dword [esi + 0x108]
mov ecx, edi
mov dword [ebp - 0x17c30], edi
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp edx, ecx
jae 0x410db2
mov dword [ebp - 0x17c48], 0
lea edx, [edx + edx*2]
xor ecx, ecx
lea ebx, [edx*8]
mov edx, dword [ebp - 0x17a48]
add eax, ebx
mov dword [ebp - 0x17c38], ebx
mov dword [ebp - 0x17c30], eax
mov eax, edx
add eax, 0x14
setb cl
cmp eax, dword [ebp - 0x17a40]
ja 0x411ae4
test ecx, ecx
jne 0x411ae4
mov ebx, dword [ebp - 0x17a4c]
cmp eax, ebx
jbe 0x410c13
mov ecx, dword [ebp - 0x17a3c]
mov esi, ebx
lea esi, [esi]
lea esi, [ecx + esi*2]
cmp eax, esi
jae 0x410bc0
cmp ebx, esi
mov dword [ebp - 0x17c40], esi
jae 0x410c13
test esi, esi
je 0x410dc8
mov eax, dword [ebp - 0x17a50]
test eax, eax
je 0x411676
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x411afa
mov edx, dword [ebp - 0x17a48]
mov dword [ebp - 0x17a50], eax
mov eax, dword [ebp - 0x17c40]
mov dword [ebp - 0x17a4c], eax
mov edi, dword [ebp - 0x17c30]
test edi, edi
je 0x410c45
add edx, dword [ebp - 0x17a50]
mov eax, dword [edi]
mov dword [edx], eax
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0x17a48]
mov eax, dword [ebp - 0x17c28]
mov esi, dword [ebp - 0x17c38]
add edx, 0x14
mov dword [ebp - 0x17a48], edx
mov dword [ebp - 0x17c38], 4
mov eax, dword [eax + 0x108]
mov eax, dword [eax + esi + 0x14]
mov dword [ebp - 0x17c30], eax
sar eax, 0x1f
mov dword [ebp - 0x17c2c], eax
mov eax, edx
xor ecx, ecx
add eax, 1
setb cl
cmp eax, dword [ebp - 0x17a40]
mov ebx, eax
ja 0x411aa9
test ecx, ecx
jne 0x411aa9
mov esi, dword [ebp - 0x17a4c]
cmp eax, esi
jbe 0x410d50
mov ecx, dword [ebp - 0x17a3c]
mov edi, esi
lea edi, [ecx + edi*2]
cmp eax, edi
jae 0x410cb3
cmp esi, edi
mov dword [ebp - 0x17c40], edi
mov eax, dword [ebp - 0x17a50]
jae 0x410d07
test eax, eax
je 0x410dcf
mov edi, dword [ebp - 0x17c40]
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_realloc
test eax, eax
je 0x411ace
mov edx, dword [ebp - 0x17a48]
mov edi, dword [ebp - 0x17c40]
mov dword [ebp - 0x17a50], eax
lea ebx, [edx + 1]
mov dword [ebp - 0x17a4c], edi
mov esi, dword [ebp - 0x17c30]
mov edi, dword [ebp - 0x17c2c]
mov dword [ebp - 0x17a48], ebx
mov ebx, esi
mov byte [eax + edx], bl
mov eax, esi
mov edx, edi
shrd eax, edi, 8
shr edx, 8
sub dword [ebp - 0x17c38], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
je 0x410d60
mov edx, dword [ebp - 0x17a48]
jmp 0x410c7d
mov eax, dword [ebp - 0x17a50]
jmp 0x410d07
mov edi, dword [ebp - 0x17c28]
mov eax, dword [ebp - 0x17c4c]
add dword [ebp - 0x17c48], 1
mov ebx, dword [ebp - 0x17c48]
add eax, dword [edi + 0x144]
cmp dword [eax + 0x2c], ebx
jbe 0x410de2
mov edx, ebx
add edx, dword [eax + 0x24]
je 0x410db2
mov eax, dword [edi + 0x108]
mov edi, dword [edi + 0x10c]
mov ecx, edi
mov dword [ebp - 0x17c30], edi
sub ecx, eax
sar ecx, 3
imul ecx, ecx, 0xaaaaaaab
cmp edx, ecx
jb 0x410b6c
mov dword [esp], str.frag_out_of_range
mov dword [ebp - 0x17c20], 0x10
call fcn.00402a80
xor eax, eax
jmp 0x410c01
mov eax, dword [ebp - 0x17c40]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
jmp 0x410ce4
mov edx, dword [eax + 0x24]
lea eax, [ebp - 0x17b48]
xor ecx, ecx
mov dword [ebp - 0x17c20], 0x10
call fcn.004016f0
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x154]
mov edx, dword [eax - 0x38]
mov ecx, dword [eax - 0x34]
lea eax, [ebp - 0x17b90]
mov dword [ebp - 0x17c20], 0x11
call fcn.00401950
lea edx, [ebp - 0x17b90]
lea eax, [ebp - 0x17b78]
mov dword [ebp - 0x17c20], 0x12
call fcn.00401670
lea eax, [ebp - 0x17b78]
mov dword [esp + 8], 0x4fa017
mov dword [esp + 4], eax
lea eax, [ebp - 0x17b60]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x13
call fcn.004ef6f0
lea eax, [ebp - 0x17b30]
lea ebx, [ebp - 0x17b48]
lea esi, [ebp - 0x17b60]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x14
call fcn.004ef800
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x4f906f
mov eax, dword [ebp - 0x17b30]
mov dword [esp + 8], 0x4f9961
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x17c58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x17a58]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x15
call fcn.0044abc0
mov eax, dword [ebp - 0x17b30]
lea edx, [ebp - 0x17b28]
cmp eax, edx
je 0x410ef0
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b60]
lea edx, [ebp - 0x17b58]
cmp eax, edx
je 0x410f08
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b78]
lea edx, [ebp - 0x17b70]
cmp eax, edx
je 0x410f20
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b90]
lea edx, [ebp - 0x17b88]
cmp eax, edx
je 0x410f38
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b48]
lea edx, [ebp - 0x17b40]
cmp eax, edx
je 0x410f50
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17a50]
mov dword [ebp - 0x17a58], 0x508fa4
mov dword [ebp - 0x17a54], 0x508fc4
test eax, eax
je 0x410f76
mov dword [esp], eax
call fcn.004628a0
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0x148]
mov edx, dword [eax + 0x144]
mov eax, ecx
add dword [ebp - 0x17c54], 1
sub eax, edx
mov edi, dword [ebp - 0x17c54]
sar eax, 3
imul eax, eax, 0xb6db6db7
cmp edi, eax
jb 0x410a43
mov eax, dword [ebp - 0x17c28]
mov dword [ebp - 0x17a58], 0x508fa4
mov dword [ebp - 0x17a54], 0x508fc4
mov dword [ebp - 0x17a50], 0
mov dword [ebp - 0x17a4c], 0
mov dword [ebp - 0x17a48], 0
mov eax, dword [eax + 0x120]
mov dword [ebp - 0x17a44], 0
mov dword [ebp - 0x17a40], 0xffffffff
mov dword [ebp - 0x17a3c], pe_nt_image_headers32
mov dword [ebp - 0x17c54], 0
mov dword [ebp - 0x17c38], eax
mov edi, dword [ebp - 0x17c70]
cmp eax, edi
je 0x411689
cmp dword [eax + 0x2c], 0
jl 0x4114a7
jle 0x411abf
mov ebx, dword [eax + 0x44]
test ebx, ebx
js 0x4114a7
mov ebx, eax
lea eax, [ebp - 0x17b10]
lea ecx, [ebp - 0x17b18]
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x17b18], eax
mov eax, dword [ebx + 0x10]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0x1d
call fcn.00401570
lea eax, [ebp - 0x17b18]
sub esp, 8
lea ecx, [ebp - 0x17a70]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x16
call fcn.004071f0
mov eax, dword [ebp - 0x17b18]
lea ebx, [ebp - 0x17b10]
sub esp, 8
cmp eax, ebx
je 0x4110b7
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17c38]
mov dword [ebp - 0x17c40], 8
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x17c30], eax
lea eax, [ebp - 0x17a58]
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c4c], eax
movzx eax, byte [ebp - 0x17c30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
mov edx, dword [ebp - 0x17c2c]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
shrd eax, edx, 8
shr edx, 8
sub dword [ebp - 0x17c40], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
jne 0x4110e5
mov eax, dword [ebp - 0x17a70]
mov dword [ebp - 0x17c48], eax
mov dword [esp], eax
call sub.msvcrt.dll_strlen
test eax, eax
mov dword [ebp - 0x17c40], eax
jle 0x41120c
mov edx, dword [ebp - 0x17a48]
add eax, edx
mov ecx, eax
setb al
cmp ecx, dword [ebp - 0x17a40]
movzx eax, al
ja 0x411b21
test eax, eax
jne 0x411b21
mov eax, dword [ebp - 0x17a4c]
cmp ecx, eax
jbe 0x411b37
mov ebx, dword [ebp - 0x17a3c]
mov esi, eax
lea esi, [ebx + esi*2]
cmp ecx, esi
jae 0x41118b
cmp eax, esi
mov dword [ebp - 0x17c30], esi
jae 0x411b37
test esi, esi
je 0x411b65
mov eax, dword [ebp - 0x17a50]
test eax, eax
je 0x411b58
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_realloc
test eax, eax
je 0x411b42
mov edx, dword [ebp - 0x17a48]
mov esi, dword [ebp - 0x17c30]
mov dword [ebp - 0x17a50], eax
mov dword [ebp - 0x17a4c], esi
mov edi, dword [ebp - 0x17c40]
add eax, edx
mov dword [esp + 8], edi
mov ebx, dword [ebp - 0x17c48]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sub.msvcrt.dll_memcpy
mov edi, dword [ebp - 0x17c40]
add dword [ebp - 0x17a48], edi
mov dword [esp], 1
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.004661c0
mov eax, dword [ebp - 0x17a48]
mov dword [ebp - 0x17c5c], 0
sub esp, 4
lea edx, [eax + 1]
mov dword [ebp - 0x17a48], edx
mov edx, dword [ebp - 0x17a50]
mov byte [edx + eax], 0
mov eax, dword [ebp - 0x17c38]
mov edx, dword [ebp - 0x17c5c]
movzx eax, byte [eax + 0x38]
mov edi, edx
mov dword [ebp - 0x17c60], eax
mov eax, dword [ebp - 0x17c60]
xor eax, 0x75
or edi, eax
je 0x4119e6
mov eax, dword [ebp - 0x17c60]
mov edx, dword [ebp - 0x17c5c]
mov dword [ebp - 0x17c30], 4
xor eax, 0x77
mov esi, edx
or esi, eax
je 0x41194a
mov dword [esp], 1
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.004661c0
mov eax, dword [ebp - 0x17a48]
sub esp, 4
sub dword [ebp - 0x17c30], 1
lea edx, [eax + 1]
mov dword [ebp - 0x17a48], edx
mov edx, dword [ebp - 0x17a50]
mov byte [edx + eax], 0
jne 0x41129a
mov esi, dword [ebp - 0x17c38]
mov dword [ebp - 0x17c2c], 0
mov dword [ebp - 0x17c40], 4
mov eax, dword [esi + 0x4c]
sub eax, dword [esi + 0x48]
sar eax, 2
mov dword [ebp - 0x17c30], eax
movzx eax, byte [ebp - 0x17c30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
mov edx, dword [ebp - 0x17c2c]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
shrd eax, edx, 8
shr edx, 8
sub dword [ebp - 0x17c40], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
jne 0x411304
mov eax, dword [ebp - 0x17c38]
mov dword [ebp - 0x17c48], 0
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x17c30], eax
sub eax, edx
sar eax, 2
test eax, eax
je 0x41148f
mov eax, dword [ebp - 0x17c48]
mov dword [ebp - 0x17c40], 4
mov eax, dword [edx + eax*4]
xor edx, edx
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c30], eax
mov ecx, dword [ebp - 0x17a48]
xor edx, edx
mov eax, ecx
add eax, 1
setb dl
cmp eax, dword [ebp - 0x17a40]
mov ebx, eax
ja 0x41191e
test edx, edx
jne 0x41191e
mov esi, dword [ebp - 0x17a4c]
cmp eax, esi
jbe 0x411900
mov edx, dword [ebp - 0x17a3c]
mov edi, esi
lea edi, [edx + edi*2]
cmp eax, edi
jae 0x4113d4
cmp esi, edi
mov dword [ebp - 0x17c4c], edi
mov eax, dword [ebp - 0x17a50]
jae 0x411428
test eax, eax
je 0x41190b
mov edi, dword [ebp - 0x17c4c]
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_realloc
test eax, eax
je 0x411934
mov ecx, dword [ebp - 0x17a48]
mov esi, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17a50], eax
lea ebx, [ecx + 1]
mov dword [ebp - 0x17a4c], esi
mov esi, dword [ebp - 0x17c30]
mov edi, dword [ebp - 0x17c2c]
mov dword [ebp - 0x17a48], ebx
mov ebx, esi
mov edx, edi
mov byte [eax + ecx], bl
mov eax, esi
shr edx, 8
shrd eax, edi, 8
sub dword [ebp - 0x17c40], 1
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c30], eax
jne 0x411398
mov eax, dword [ebp - 0x17c38]
add dword [ebp - 0x17c48], 1
mov esi, dword [ebp - 0x17c48]
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x17c30], eax
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x411377
mov eax, dword [ebp - 0x17a70]
lea edx, [ebp - 0x17a68]
cmp eax, edx
je 0x4114a7
mov dword [esp], eax
call fcn.004f28f0
cmp dword [ebp - 0x17a48], 0x3e80
jbe 0x41165d
add dword [ebp - 0x17c54], 1
xor ecx, ecx
mov dword [ebp - 0x17c20], 0x1d
mov eax, dword [ebp - 0x17c54]
mov edx, eax
lea eax, [ebp - 0x17ab8]
call fcn.004016f0
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x154]
mov edx, dword [eax - 0x38]
mov ecx, dword [eax - 0x34]
lea eax, [ebp - 0x17b00]
mov dword [ebp - 0x17c20], 0x18
call fcn.00401bb0
lea edx, [ebp - 0x17b00]
lea eax, [ebp - 0x17ae8]
mov dword [ebp - 0x17c20], 0x19
call fcn.00401670
lea eax, [ebp - 0x17ae8]
mov dword [esp + 8], 0x4fa019
mov dword [esp + 4], eax
lea eax, [ebp - 0x17ad0]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1a
call fcn.004ef6f0
lea eax, [ebp - 0x17aa0]
lea ebx, [ebp - 0x17ab8]
lea esi, [ebp - 0x17ad0]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1b
call fcn.004ef800
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x4f906f
mov eax, dword [ebp - 0x17aa0]
mov dword [esp + 8], 0x4fa01b
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x17c58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x17a58]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1c
call fcn.0044abc0
mov eax, dword [ebp - 0x17aa0]
lea edx, [ebp - 0x17a98]
cmp eax, edx
je 0x4115d1
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ad0]
lea edx, [ebp - 0x17ac8]
cmp eax, edx
je 0x4115e9
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ae8]
lea edx, [ebp - 0x17ae0]
cmp eax, edx
je 0x411601
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17b00]
lea edx, [ebp - 0x17af8]
cmp eax, edx
je 0x411619
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17ab8]
lea edx, [ebp - 0x17ab0]
cmp eax, edx
je 0x411631
mov dword [esp], eax
call fcn.004f28f0
mov eax, dword [ebp - 0x17a44]
mov dword [ebp - 0x17a48], 0
test eax, eax
je 0x41164f
mov dword [ebp - 0x17a44], 0
mov edi, dword [ebp - 0x17c70]
cmp dword [ebp - 0x17c38], edi
je 0x411697
mov eax, dword [ebp - 0x17c38]
mov dword [esp], eax
call fcn.004ea300
mov dword [ebp - 0x17c38], eax
jmp 0x411016
mov eax, dword [ebp - 0x17c40]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
jmp 0x410bf3
mov eax, dword [ebp - 0x17a48]
test eax, eax
jne 0x4114b7
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1d
call fcn.00403710
fild qword [ebp - 0x17c68]
mov dword [esp], 0x4fa01d
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov ebx, dword [sym.imp.msvcrt.dll__iob]
lea eax, [ebx + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
call fcn.00403710
mov ecx, dword [ebp - 0x17c58]
call fcn.00467ea0
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
fild qword [ebp - 0x17c30]
mov dword [esp], str.__1.0f_n
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov eax, dword [ebp - 0x17950]
cmp eax, 0xffffffff
je 0x411a8c
mov edi, dword [ebp - 0x17954]
test edi, edi
je 0x411b10
lea edx, [ebp - 0x17be0]
mov dword [ebp - 0x17be0], 0
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [esp + 8], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, eax
mov eax, dword [ebp - 0x17be0]
sub esp, 0x10
xor ebx, ebx
mov edx, eax
xor eax, eax
add eax, ecx
mov ecx, dword [ebp - 0x17954]
adc edx, ebx
add eax, dword [ebp - 0x17948]
adc edx, dword [ebp - 0x17944]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x17940]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1793c]
mov dword [ebp - 0x17c48], eax
mov dword [esp], eax
call fcn.0042bca0
mov eax, dword [ebp - 0x17950]
sub esp, 0x10
mov edx, dword [ebp - 0x17940]
lea ecx, [ebp - 0x17be4]
mov dword [ebp - 0x17be4], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov edi, dword [ebp - 0x17c48]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [ebp - 0x17c20], 0x1d
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, dword [ebp - 0x17c9c]
lea edx, [ebp - 0x17bdc]
sub esp, 0x14
mov dword [ebp - 0x17940], 0
mov eax, dword [ebp - 0x17950]
mov dword [ebp - 0x17bdc], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov esi, dword [ebp - 0x17c98]
mov dword [esp], eax
mov dword [esp + 4], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
sub esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x14], 1
movq xmm3, qword [ebp - 0x17c90]
movq qword [esp + 0xc], xmm3
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0x150]
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c58]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1d
call fcn.004084c0
mov ecx, dword [ebp - 0x17c58]
call fcn.004655d0
mov eax, dword [ebp - 0x17a50]
mov dword [ebp - 0x17a58], 0x508fa4
mov dword [ebp - 0x17a54], 0x508fc4
test eax, eax
je 0x4118d7
mov dword [esp], eax
call fcn.004628a0
lea ecx, [ebp - 0x17954]
call fcn.00464aa0
mov ecx, dword [ebp - 0x17c50]
call fcn.00464e40
mov dword [ebp - 0x17c30], 0
jmp 0x410393
mov eax, dword [ebp - 0x17a50]
jmp 0x411428
mov eax, dword [ebp - 0x17c4c]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
jmp 0x411405
mov dword [esp], str.StringBuffer_overflow
mov dword [ebp - 0x17c20], 0x17
call fcn.00402a80
mov dword [esp], str.Out_of_memory
mov dword [ebp - 0x17c20], 0x17
call fcn.00402a80
mov eax, 5
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
sub esp, 4
xor eax, eax
sub dword [ebp - 0x17c30], 1
jne 0x41194f
mov eax, dword [ebp - 0x17c38]
mov dword [ebp - 0x17c40], 5
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c30], eax
movzx eax, byte [ebp - 0x17c30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
mov edx, dword [ebp - 0x17c2c]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
shrd eax, edx, 8
shr edx, 8
sub dword [ebp - 0x17c40], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
jne 0x411997
jmp 0x4112db
mov dword [ebp - 0x17c30], 4
mov eax, 3
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
sub esp, 4
xor eax, eax
sub dword [ebp - 0x17c30], 1
jne 0x4119f5
mov eax, dword [ebp - 0x17c38]
mov dword [ebp - 0x17c40], 3
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x17c2c], edx
mov dword [ebp - 0x17c30], eax
movzx eax, byte [ebp - 0x17c30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x17c4c]
mov dword [ebp - 0x17c20], 0x17
call fcn.00465fd0
mov edx, dword [ebp - 0x17c2c]
mov eax, dword [ebp - 0x17c30]
sub esp, 4
shrd eax, edx, 8
shr edx, 8
sub dword [ebp - 0x17c40], 1
mov dword [ebp - 0x17c30], eax
mov dword [ebp - 0x17c2c], edx
jne 0x411a3d
jmp 0x4112db
mov eax, dword [ebp - 0x17c98]
mov dword [ebp - 0x17948], eax
mov eax, dword [ebp - 0x17c9c]
mov dword [ebp - 0x17944], eax
jmp 0x41185e
mov dword [esp], str.StringBuffer_overflow
mov dword [ebp - 0x17c20], 0x10
call fcn.00402a80
cmp dword [eax + 0x28], 0
jbe 0x4114a7
jmp 0x411034
mov dword [esp], str.Out_of_memory
mov dword [ebp - 0x17c20], 0x10
call fcn.00402a80
mov dword [esp], str.StringBuffer_overflow
mov dword [ebp - 0x17c20], 0x10
call fcn.00402a80
mov dword [esp], str.Out_of_memory
mov dword [ebp - 0x17c20], 0x10
call fcn.00402a80
lea esi, [ebp - 0x1793c]
mov dword [ebp - 0x17c48], esi
jmp 0x4117ce
mov dword [esp], str.StringBuffer_overflow
mov dword [ebp - 0x17c20], 0x17
call fcn.00402a80
mov eax, dword [ebp - 0x17a50]
jmp 0x4111e2
mov dword [esp], str.Out_of_memory
mov dword [ebp - 0x17c20], 0x17
call fcn.00402a80
mov dword [esp], esi
call sub.msvcrt.dll_malloc
jmp 0x4111c2
xor eax, eax
jmp 0x4111d6
lea edi, [ebp - 0x17a00]
mov dword [ebp - 0x17c38], edi
jmp 0x40f47f
mov eax, dword [eax + 0xa8]
lea ecx, [ebp - 0x17ba8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xe
call fcn.00401630
lea eax, [ebp - 0x17ba8]
sub esp, 4
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xd
call fcn.004047f0
mov byte [ebp - 0x17c30], al
mov eax, dword [ebp - 0x17ba8]
lea edx, [ebp - 0x17ba0]
cmp eax, edx
je 0x411bd4
mov dword [esp], eax
call fcn.004f28f0
cmp byte [ebp - 0x17c30], 0
je 0x40f406
mov dword [esp], str.repack_output_exists
mov dword [ebp - 0x17c20], 0xe
call fcn.00402a80
mov dword [esp], str.cannot_repack_streaming_archive
mov dword [ebp - 0x17c20], 0xc
call fcn.00402a80
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x10], eax
mov edi, dword [ebp - 0x17c50]
mov dword [esp + 0xc], edi
fild qword [ebp - 0x17a18]
fstp qword [ebp - 0x17bf0]
fld qword [ebp - 0x17bf0]
mov dword [esp], str.Extracting__1.6f_MB_in__d_files__threads__d_n
fdiv dword [0x4fac74]
fstp qword [esp + 4]
call fcn.00462d40
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4121d3
cmp eax, 0x3fffffff
ja 0x4121c4
shl eax, 2
mov dword [ebp - 0x17c30], eax
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xc
call fcn.004f2930
mov ebx, eax
mov eax, dword [ebp - 0x17c30]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [ebp - 0x17c74], ebx
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x17c30]
sar eax, 2
test eax, eax
mov dword [ebp - 0x17c48], eax
mov dword [ebp - 0x17c94], eax
mov dword [ebp - 0x17c88], eax
je 0x411d2c
mov ebx, dword [ebp - 0x17c74]
lea eax, [ebp - 0x17a38]
mov dword [ebp - 0x17c30], 0
mov dword [ebp - 0x17c38], eax
mov dword [ebp - 0x17c40], ebx
mov eax, dword [ebp - 0x17c38]
mov dword [esp + 4], 0x408f60
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c40]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x2e
call fcn.00402c60
add dword [ebp - 0x17c30], 1
add dword [ebp - 0x17c40], 4
mov edi, dword [ebp - 0x17c30]
cmp edi, dword [ebp - 0x17c48]
jne 0x411ce6
mov edi, dword [ebp - 0x17c28]
lea ecx, [ebp - 0x17a00]
mov eax, dword [edi + 0x58]
mov dword [esp + 4], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x17c28], edi
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0x1e
call fcn.004089a0
sub esp, 8
cmp dword [ebp - 0x179f8], 0xffffffff
je 0x410135
mov eax, dword [ebp - 0x17c28]
mov ecx, dword [eax + 0x148]
mov eax, dword [eax + 0x144]
mov edx, ecx
sub edx, eax
sar edx, 3
imul edx, edx, 0xb6db6db7
test edx, edx
je 0x410135
mov ebx, dword [ebp - 0x17c70]
mov dword [ebp - 0x17c80], 0
mov dword [ebp - 0x17c6c], 0xffffffff
mov dword [ebp - 0x17c78], 0
mov dword [ebp - 0x17c7c], ebx
jmp 0x40f9c7
and eax, ebx
jmp 0x40f29e
mov eax, dword [ebp - 0x17c28]
mov edx, dword [eax + 0xa8]
test edx, edx
jne 0x40ee1a
cmp byte [eax + 0xd4], 0
jne 0x40ee1a
mov eax, dword [ebp - 0x17c28]
cmp byte [eax + 0x2c], 0
jne 0x40ee0d
lea eax, [ebp - 0x17bb8]
mov edx, dword [ebp - 0x17954]
lea ecx, [ebp - 0x17bc0]
mov dword [ebp - 0x17bc0], eax
mov eax, dword [ebp - 0x17958]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [ebp - 0x17c20], 0xa
call fcn.00401570
lea eax, [ebp - 0x17bc0]
sub esp, 8
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xb
call fcn.004047f0
mov byte [ebp - 0x17c38], al
mov eax, dword [ebp - 0x17bc0]
lea ebx, [ebp - 0x17bb8]
cmp eax, ebx
je 0x411e67
mov dword [esp], eax
call fcn.004f28f0
cmp byte [ebp - 0x17c38], 0
je 0x40ee0d
mov eax, dword [ebp - 0x17c28]
mov esi, dword [eax + 0xd0]
test esi, esi
jg 0x40f1ea
mov dword [esp], 0x4f9f4e
call fcn.00462d40
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17958]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xa
call fcn.00403710
mov dword [esp], 0x4f9a81
call fcn.00462d40
jmp 0x40f1ea
mov dword [ebp - 0x17c50], 0
jmp 0x40f2b8
mov dword [esp], str.cannot_read_salt
call fcn.00402a80
mov dword [esp], str.cannot_read_part_1
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.00402a80
mov eax, dword [ebp - 0x17c28]
mov dword [esp], 0x4f906e
mov dword [ebp - 0x17c20], 0xffffffff
lea ecx, [eax + 0x5c]
call fcn.00473d20
sub esp, 4
test eax, eax
mov dword [ebp - 0x17c30], eax
jne 0x40e22b
mov ebx, dword [ebp - 0x17c28]
lea eax, [ebp - 0x179c8]
mov dword [ebp - 0x17c50], eax
mov ecx, eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x17c28], ebx
mov dword [esp], eax
mov dword [ebp - 0x17c20], 0xffffffff
call fcn.004089a0
mov eax, dword [ebp - 0x17c28]
sub esp, 8
cmp byte [eax + 0x2c], 0
je 0x411f87
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 1
call fcn.00404930
lea eax, [ebp - 0x17a38]
mov esi, eax
mov eax, dword [ebp - 0x17c28]
mov ecx, esi
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 1
mov dword [ebp - 0x17c38], esi
call fcn.00401630
mov eax, dword [ebp - 0x17c38]
sub esp, 4
mov dword [esp], eax
mov dword [ebp - 0x17c20], 2
call fcn.004047f0
mov byte [ebp - 0x17c38], al
mov eax, dword [ebp - 0x17a38]
lea edx, [ebp - 0x17a30]
cmp eax, edx
je 0x411fee
mov dword [esp], eax
call fcn.004f28f0
cmp byte [ebp - 0x17c38], 0
jne 0x41218f
xor eax, eax
mov dword [ebp + eax - 0x17a00], 0
add eax, 4
cmp eax, 0x20
jb 0x411ffd
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xcc]
test eax, eax
je 0x4121b3
lea eax, [ebp - 0x17a00]
mov dword [esp + 4], 0x20
mov dword [ebp - 0x17c38], eax
mov dword [esp], eax
mov dword [ebp - 0x17c20], 1
call fcn.0042ce50
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xcc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea ebx, [ebp - 0x17958]
mov edi, dword [ebp - 0x17c38]
mov dword [esp + 4], eax
mov ecx, ebx
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
mov dword [ebp - 0x17c20], 1
mov dword [ebp - 0x17c58], ebx
call fcn.004067d0
sub esp, 0x14
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
mov edx, dword [ebp - 0x17c58]
mov eax, dword [ebp - 0x17c50]
mov dword [ebp - 0x17c20], 3
call fcn.00405e60
mov esi, dword [sym.imp.msvcrt.dll__iob]
lea eax, [esi + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.00403710
fild qword [ebp - 0x179b0]
fstp qword [ebp - 0x17bf0]
fld qword [ebp - 0x17bf0]
mov dword [esp], 0x4f9e33
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov edi, dword [sym.imp.msvcrt.dll__iob]
lea eax, [edi + 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x17c28]
mov eax, dword [eax + 0xa8]
mov dword [esp], eax
call fcn.00403710
mov ecx, dword [ebp - 0x17c58]
call fcn.00467ea0
mov dword [ebp - 0x17c38], eax
mov dword [ebp - 0x17c34], edx
fild qword [ebp - 0x17c38]
mov dword [esp], str._____1.0f_n
fadd dword [0x4fac6c]
fstp qword [esp + 4]
call fcn.00462d40
mov ecx, dword [ebp - 0x17c58]
call fcn.004655d0
lea eax, [ebp - 0x17954]
mov ecx, eax
call fcn.00464aa0
mov ecx, dword [ebp - 0x17c50]
call fcn.00464e40
jmp 0x40ea97
mov dword [esp], str.output_file_exists
mov dword [ebp - 0x17c20], 1
call fcn.00402a80
cmp ecx, 0
jbe 0x40f369
jmp 0x40f322
lea esi, [ebp - 0x17a00]
mov dword [ebp - 0x17c38], esi
jmp 0x412056
mov dword [ebp - 0x17c20], 0xc
call fcn.004ea1a0
mov dword [ebp - 0x17c94], 0
mov dword [ebp - 0x17c74], 0
mov dword [ebp - 0x17c88], 0
jmp 0x411d2c