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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593fdd
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov byte [eax], 0
mov eax, dword [ecx + 0x30]
lea ebx, [esi*4]
mov dword [ebp - 0x34], ebx
mov edx, dword [ebx + eax]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
lea eax, [eax + edx*8]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x74]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.00418ca0
cmp dword [ebp - 0x70], 0x20
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x34]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x5c], eax
jbe 0x40cf6d
mov ebx, 0x80004001
jmp 0x40deec
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040cca0
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.00425580
test al, al
jne 0x40d04e
mov ebx, 0x80004001
jmp 0x40dea7
mov edx, dword [ebp + 0x14]
mov byte [ebp + 0x1b], 1
mov eax, dword [edx + 0x34]
movzx ecx, byte [eax + esi]
mov eax, dword [edx + 0x2c]
add ecx, dword [ebx + eax]
mov eax, dword [edx + 0x28]
mov edx, dword [eax + ecx*8]
mov esi, dword [eax + ecx*8 + 4]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x40d09f
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, esi
jb 0x40d08c
ja 0x40d082
cmp eax, edx
jbe 0x40d08e
mov ebx, 0x80004005
jmp 0x40dea7
cmp eax, edx
jne 0x40d09a
cmp ecx, esi
jne 0x40d09a
mov byte [ebp + 0x1b], 1
jmp 0x40d09f
xor al, al
mov byte [ebp + 0x1b], al
cmp byte [edi], 0
je 0x40d19c
mov esi, dword [ebp - 0xc4]
cmp esi, dword [edi + 8]
jne 0x40d19c
xor edx, edx
test esi, esi
je 0x40d0e6
mov ecx, dword [edi + 4]
mov edi, dword [ebp - 0xc8]
sub edi, ecx
jmp 0x40d0d0
mov eax, dword [edi + ecx]
cmp eax, dword [ecx]
jne 0x40d199
inc edx
add ecx, 4
cmp edx, esi
jb 0x40d0d0
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xb8]
cmp ebx, dword [edi + 0x14]
jne 0x40d19c
xor esi, esi
test ebx, ebx
je 0x40d12d
mov edi, dword [edi + 0x10]
mov ecx, dword [ebp - 0xbc]
lea edx, [edi + 4]
sub edi, ecx
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40d199
mov eax, dword [ecx + 4]
cmp eax, dword [edx]
jne 0x40d199
inc esi
add edx, 8
add ecx, 8
cmp esi, ebx
jb 0x40d110
mov edi, dword [ebp - 0x84]
xor edx, edx
test edi, edi
je 0x40d15f
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x88]
mov esi, dword [esi + 0x44]
sub esi, ecx
mov eax, dword [ecx]
cmp eax, dword [esi + ecx]
jne 0x40d199
mov eax, dword [ecx + 4]
cmp eax, dword [esi + ecx + 4]
jne 0x40d199
inc edx
add ecx, 8
cmp edx, edi
jb 0x40d147
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0xac]
cmp esi, dword [edi + 0x20]
jne 0x40d19c
xor edx, edx
test esi, esi
je 0x40d4c4
mov edi, dword [edi + 0x1c]
mov ecx, dword [ebp - 0xb0]
sub edi, ecx
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40d199
inc edx
add ecx, 4
cmp edx, esi
jb 0x40d182
mov edi, dword [ebp - 0x14]
jmp 0x40d4c4
mov edi, dword [ebp - 0x14]
mov byte [edi], 0
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x40d1b3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x60], 0
cmp byte [edi + 0x50], 0
push 0x84
je 0x40d2e3
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
test esi, esi
je 0x40d2bf
mov dword [esi + 4], vtable.NCoderMixer2::CMixer.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi], vtable.NCoderMixer2::CMixerMT.0
mov dword [esi + 4], vtable.NCoderMixer2::CMixerMT.1.0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
jmp 0x40d2c1
xor esi, esi
mov dword [edi + 0x58], esi
test esi, esi
je 0x40d2ce
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x40d2db
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x60], esi
mov ecx, dword [edi + 0x58]
jmp 0x40d329
call fcn.00546014
add esp, 4
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x40d303
push 0
mov ecx, eax
call fcn.00424e40
mov esi, eax
jmp 0x40d305
xor esi, esi
mov byte [ebp - 4], 2
mov dword [edi + 0x54], esi
test esi, esi
je 0x40d316
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x40d323
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x60], esi
mov ecx, dword [edi + 0x54]
lea eax, [ecx + 4]
neg ecx
lea edx, [ebp - 0xc8]
sbb ecx, ecx
and ecx, eax
mov dword [edi + 0x5c], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
test ebx, ebx
jne 0x40dea7
xor edi, edi
cmp dword [ebp - 0x70], edi
jbe 0x40d438
xor ecx, ecx
mov dword [ebp - 0x28], ecx
jmp 0x40d360
mov esi, dword [ebp - 0x74]
add esi, ecx
mov eax, dword [esi]
and eax, 0xffffff00
cmp eax, 0x40300
jne 0x40d37d
cmp dword [esi + 4], 0
je 0x40d889
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 8
push eax
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0042dfb0
mov ecx, dword [ebp - 0x48]
mov ebx, eax
mov edx, dword [ebp - 0x44]
add esp, 0x10
test ebx, ebx
jne 0x40d3bf
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x40d3e7
test ecx, ecx
jne 0x40d3f0
mov ebx, 0x80004001
mov byte [ebp - 4], 0xf
test edx, edx
je 0x40d3d0
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x40dea7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40dea7
test edx, edx
je 0x40d3ba
cmp dword [ebp - 0x3c], eax
jne 0x40d3ba
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x40d410
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x40d421
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x28]
inc edi
add ecx, 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], ecx
cmp edi, dword [ebp - 0x70]
jb 0x40d360
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
lea esi, [edi + 4]
mov ecx, esi
call fcn.0040ca40
add esi, 0x40
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x40d4c1
mov edi, dword [ebp - 0x84]
cmp edi, dword [esi + 8]
jbe 0x40d49f
push dword [esi]
call fcn.0054605b
xor ecx, ecx
mov dword [esi + 8], 0
mov eax, edi
mov dword [esi + 4], 0
mov edx, 8
mov dword [esi], 0
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
test edi, edi
je 0x40d4be
lea eax, [edi*8]
push eax
push dword [ebp - 0x88]
push dword [esi]
call fcn.0054ae00
add esp, 0xc
mov edi, dword [ebp - 0x14]
mov byte [edi], 1
mov ecx, dword [edi + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x40dea7
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x15], bl
mov dword [ebp - 0x50], ebx
mov eax, dword [eax + 0x2c]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x70], ebx
jbe 0x40d9ea
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ecx, ecx
shl eax, 3
mov dword [ebp - 0x28], eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x74]
add esi, ecx
push ebx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x54], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x40d536
mov ebx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
cmp byte [ebp - 0x15], 0
jne 0x40d5df
cmp byte [ebp + 0x40], 0
je 0x40d591
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5ac2ac
push ebx
mov byte [ebp - 4], 0x15
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d583
push dword [ebp + 0x44]
mov ecx, dword [eax]
push eax
mov byte [ebp - 0x15], 1
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40d951
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x40d591
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5ac2dc
push ebx
mov byte [ebp - 4], 0x19
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d5d1
push dword [ebp + 0x4c]
mov ecx, dword [eax]
push dword [ebp + 0x48]
mov byte [ebp - 0x15], 1
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40d957
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x40d5df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5ac27c
push ebx
mov byte [ebp - 4], 0x1d
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d627
push dword [esi + 0xc]
mov ecx, dword [eax]
push dword [esi + 8]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, 0x80070057
je 0x40d95d
test ebx, ebx
jne 0x40d962
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x40d635
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5ac3bc
push ebx
mov byte [ebp - 4], 0x23
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d76f
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x40d9b1
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push ecx
mov byte [ebp - 4], 0x26
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40d984
mov eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov byte [eax], 1
mov ecx, dword [ebx]
test ecx, ecx
je 0x40d6b5
mov eax, dword [ebx + 8]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.0054b380
add esp, 0xc
mov dword [ebx + 4], 0
mov eax, dword [ebp - 0x1c]
xor edi, edi
test eax, eax
je 0x40d6c9
push eax
mov ecx, ebx
call fcn.00435070
mov edi, dword [ebx + 4]
lea ebx, [edi + edi]
push ebx
mov dword [ebp - 0x30], ebx
call fcn.00546052
mov esi, eax
mov dword [ebp - 0x3c], ebx
add esp, 4
mov dword [ebp - 0x40], esi
xor ecx, ecx
mov byte [ebp - 4], 0x29
test edi, edi
je 0x40d706
lea ebx, [ebx]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + ecx*2]
mov byte [esi + ecx*2], al
shr eax, 8
mov byte [esi + ecx*2 + 1], al
inc ecx
cmp ecx, edi
jb 0x40d6f0
mov eax, dword [ebp - 0x10]
push ebx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x30]
test ebx, ebx
jne 0x40d968
test eax, eax
je 0x40d72d
push eax
push ebx
push esi
call fcn.0054b380
add esp, 0xc
push esi
call fcn.0054605b
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
je 0x40d760
push eax
call dword [ebp - 0x34]
add eax, eax
push eax
push 0
push dword [ebp - 0x1c]
call fcn.0054b380
mov edi, dword [ebp - 0x2c]
add esp, 0xc
push dword [ebp - 0x1c]
call edi
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x40d763
mov edi, dword [ebp - 0x2c]
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x40d77d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x78], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5ac2bc
push ebx
mov byte [ebp - 4], 0x2d
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d7be
mov cl, byte [ebp + 0x1b]
mov edx, dword [eax]
mov byte [ebp - 0x78], cl
movzx ecx, cl
push ecx
push eax
call dword [edx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40d9cd
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x40d7cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esi + 0x10]
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x54], edi
test ebx, ebx
je 0x40d805
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x54], edi
xor esi, esi
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x40d832
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x40d8ec
mov ebx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x68]
xor ecx, ecx
test eax, eax
je 0x40d85e
mov edx, dword [ebp - 0x6c]
cmp dword [edx + ecx*8], ebx
je 0x40d893
inc ecx
cmp ecx, eax
jb 0x40d854
mov eax, dword [ebp - 0x60]
xor edx, edx
test eax, eax
je 0x40d87a
mov ecx, dword [ebp - 0x64]
lea ebx, [ebx]
cmp dword [ecx + edx*4], ebx
je 0x40d8a9
inc edx
cmp edx, eax
jb 0x40d870
push esi
call fcn.0054605b
push edi
call fcn.0054605b
add esp, 8
mov ebx, 0x80004001
jmp 0x40dea7
test ecx, ecx
js 0x40d85e
mov eax, dword [ebp + 0x14]
mov ecx, dword [edx + ecx*8 + 4]
add ecx, dword [ebp - 0x58]
mov eax, dword [eax + 0x28]
lea ebx, [eax + ecx*8]
jmp 0x40d8d0
test edx, edx
js 0x40d87a
mov eax, dword [ebp - 0x10]
lea ebx, [edi + eax*8]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
mov ecx, dword [eax + edx*8 + 8]
sub ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 0xc]
sbb eax, dword [edi + edx*8 + 4]
mov edi, dword [ebp - 0x20]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
mov dword [eax + edx*4], ebx
inc edx
mov ebx, dword [ebp - 0x4c]
inc ebx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x4c], ebx
cmp edx, dword [ebp - 0x38]
jb 0x40d848
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x50]
test eax, eax
je 0x40d902
cmp ebx, dword [ebp - 0xa4]
jne 0x40d902
mov edx, eax
jmp 0x40d90b
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x78]
push esi
mov ecx, dword [eax + 0x5c]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
push esi
call fcn.0054605b
push edi
mov byte [ebp - 4], 2
call fcn.0054605b
mov ecx, dword [ebp - 0x7c]
inc ebx
add dword [ebp - 0x28], 8
add ecx, 0x18
add esp, 8
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x7c], ecx
cmp ebx, dword [ebp - 0x70]
jae 0x40d9e7
mov edi, dword [ebp - 0x2c]
jmp 0x40d513
mov byte [ebp - 4], 0x16
jmp 0x40d9d1
mov byte [ebp - 4], 0x1a
jmp 0x40d9d1
mov ebx, 0x80004001
mov byte [ebp - 4], 0x20
jmp 0x40d9d1
test eax, eax
je 0x40d978
push eax
push 0
push esi
call fcn.0054b380
add esp, 0xc
push esi
call fcn.0054605b
mov edi, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d9a9
push eax
call dword [ebp - 0x34]
add eax, eax
push eax
push 0
push dword [ebp - 0x1c]
call fcn.0054b380
add esp, 0xc
push dword [ebp - 0x1c]
call edi
xor eax, eax
mov dword [ebp - 0x1c], eax
push eax
call edi
mov eax, dword [ebp - 0x10]
jmp 0x40d9b6
mov ebx, 0x80004001
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x40dea7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40dea7
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40dea7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40dea7
mov edi, dword [ebp - 0x14]
cmp dword [ebp + 0x20], 0
je 0x40da01
mov ecx, dword [edi + 0x5c]
mov al, byte [ebp + 0x1b]
xor al, 1
movzx eax, al
mov edx, dword [ecx]
push eax
call dword [edx + 0x10]
xor eax, eax
xor esi, esi
mov dword [ebp + 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp + 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp + 0x30], eax
mov dword [ebp - 0x3c], eax
push 0x30
mov byte [ebp - 4], 0x34
call fcn.00546014
mov edi, eax
mov dword [ebp + 0x38], eax
add esp, 4
test edi, edi
je 0x40da48
mov dword [edi + 4], esi
lea eax, [edi + 0x18]
mov dword [edi], vtable.NArchive::N7z::CLockedInStream.0
push eax
mov dword [edi + 8], esi
call fcn.0040c310
add esp, 4
jmp 0x40da4d
xor edi, edi
mov dword [ebp + 0x38], edi
mov dword [ebp - 0x38], edi
test edi, edi
je 0x40da68
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40da65
inc dword [edi + 4]
jmp 0x40da68
push edi
call eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x35
mov dl, byte [eax + 0x50]
mov eax, dword [ebp - 0x60]
mov dword [ebp + 0x14], edx
cmp eax, 1
jbe 0x40daea
mov ebx, dword [ebp + 8]
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp - 0x24]
push 0
mov edx, dword [ebx]
mov ecx, dword [eax]
add ecx, dword [ebp + 0xc]
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x10]
push eax
push ecx
push ebx
call dword [edx + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x40de91
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40dabc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [edi + 8], ebx
test dl, dl
jne 0x40dae7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.004274c0
mov edx, dword [ebp + 0x14]
test al, al
movzx edx, dl
mov ecx, 1
cmovne edx, ecx
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov dword [ebp + 0x1c], ecx
test eax, eax
je 0x40dd80
mov ebx, dword [ebp - 0x24]
lea ebx, [ebx]
mov dword [ebp + 0x34], 0
mov esi, dword [ebp - 0x24]
shl ecx, 3
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 0x39
mov ebx, dword [ecx + ebx]
add ebx, dword [ebp + 0xc]
mov ecx, dword [ecx + esi + 4]
adc ecx, dword [ebp + 0x10]
mov dword [ebp + 0x3c], ecx
cmp eax, 1
jne 0x40db50
mov esi, dword [ebp + 8]
push 0
push 0
push ecx
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x40dd78
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0x34], esi
jmp 0x40dc08
push 0x20
test dl, dl
je 0x40db90
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
test esi, esi
je 0x40dbcf
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CLockedSequentialInStreamMT.0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40dbca
mov dword [esi + 4], 1
jmp 0x40dbd1
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
test esi, esi
je 0x40dbcf
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CLockedSequentialInStreamST.0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40dbca
mov dword [esi + 4], 1
jmp 0x40dbd1
push esi
call eax
jmp 0x40dbd1
xor esi, esi
mov dword [ebp + 0x34], esi
test edi, edi
je 0x40dbec
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40dbe9
inc dword [edi + 4]
jmp 0x40dbec
push edi
call eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40dbf9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
push 0x28
call fcn.00546014
mov edi, eax
add esp, 4
mov dword [ebp + 0x3c], edi
test edi, edi
je 0x40dc31
mov dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
mov dword [edi + 8], 0
jmp 0x40dc33
xor edi, edi
mov ebx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x30]
cmp ebx, edx
jne 0x40dcb1
cmp edx, 0x7fffffff
jae 0x40df53
mov eax, edx
mov ecx, 0x7fffffff
sub ecx, edx
shr eax, 2
inc eax
cmp eax, ecx
cmovbe ecx, eax
lea eax, [edx + ecx]
xor ecx, ecx
mov dword [ebp + 0x30], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
add esp, 4
mov ecx, eax
mov dword [ebp + 0x3c], ecx
test ebx, ebx
je 0x40dc97
lea eax, [ebx*4]
push eax
push dword [ebp + 0x40]
push ecx
call fcn.0054ae00
add esp, 0xc
push dword [ebp + 0x40]
call fcn.0054605b
mov eax, dword [ebp + 0x3c]
add esp, 4
mov dword [ebp + 0x40], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x3c], eax
push 4
call fcn.00546014
mov ebx, eax
add esp, 4
mov dword [ebp + 0x3c], ebx
test ebx, ebx
je 0x40dccc
mov dword [ebx], 0
jmp 0x40dcce
xor ebx, ebx
mov ecx, dword [ebp + 0x44]
mov eax, ecx
inc ecx
mov dword [ebp + 0x44], ecx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ecx + eax*4], ebx
test edi, edi
je 0x40dcf8
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40dcf5
inc dword [edi + 4]
jmp 0x40dcf8
push edi
call eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x40dd04
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], edi
test esi, esi
je 0x40dd10
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40dd1d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x24]
mov dword [edi + 8], esi
mov eax, dword [edx + ebx + 8]
sub eax, dword [edx + ebx]
mov ecx, dword [edx + ebx + 0xc]
sbb ecx, dword [edx + ebx + 4]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 0x3e
test esi, esi
je 0x40dd5b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x60]
inc ecx
mov byte [ebp - 4], 0x35
mov dword [ebp + 0x1c], ecx
cmp ecx, eax
jae 0x40dd7d
mov edi, dword [ebp + 0x38]
mov edx, dword [ebp + 0x14]
jmp 0x40db00
jmp 0x40de91
mov esi, dword [ebp + 0x44]
xor edi, edi
mov dword [ebp + 0x14], edi
test esi, esi
je 0x40dda9
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00546052
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
mov byte [ebp - 4], 0x3f
test esi, esi
je 0x40ddd3
sub dword [ebp + 0x40], edi
mov ecx, edi
mov edi, dword [ebp + 0x40]
lea esp, [esp]
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov eax, dword [eax]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x40ddc0
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x20], 0
je 0x40de74
xor esi, esi
mov dword [ebp + 0x40], esi
mov ebx, dword [ebp + 0x24]
mov byte [ebp - 4], 0x40
test ebx, ebx
je 0x40de43
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.00427580
test al, al
jne 0x40de43
push 0xc
call fcn.00546014
mov esi, eax
add esp, 4
mov dword [ebp + 0x44], esi
test esi, esi
je 0x40de3e
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CDecProgress.0
mov dword [esi + 8], ebx
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40de39
inc dword [esi + 4]
jmp 0x40de40
push esi
call eax
jmp 0x40de40
xor esi, esi
mov dword [ebp + 0x40], esi
mov eax, dword [ebp + 0x20]
lea edx, [ebp + 8]
push dword [ebp + 0x2c]
mov dword [ebp + 8], eax
test esi, esi
mov eax, dword [ebp - 0x14]
cmovne ebx, esi
push ebx
push edx
mov ecx, dword [eax + 0x5c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0x41
test esi, esi
je 0x40de85
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40de85
mov eax, dword [ebp - 0x14]
push dword [ebp + 0x28]
push edi
mov ecx, dword [eax + 0x54]
call fcn.00426cc0
mov ebx, eax
push edi
call fcn.0054605b
mov edi, dword [ebp + 0x38]
add esp, 4
mov byte [ebp - 4], 0x44
test edi, edi
je 0x40de9f
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x44]
call fcn.0040c750
push dword [ebp - 0x88]
call fcn.0054605b
push dword [ebp - 0x94]
call fcn.0054605b
push dword [ebp - 0xa0]
call fcn.0054605b
push dword [ebp - 0xb0]
call fcn.0054605b
push dword [ebp - 0xbc]
call fcn.0054605b
push dword [ebp - 0xc8]
call fcn.0054605b
add esp, 0x18
push dword [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.0054605b
push dword [ebp - 0x6c]
call fcn.0054605b
mov eax, dword [ebp - 0x74]
add esp, 8
test eax, eax
je 0x40df3d
push 0x40c890
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 0x45
push 0x18
push eax
call fcn.00545eff
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.00546060
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x48
push 0x5e8fe0
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x4c], 0x7e5
push eax
call fcn.0054b85e
int3