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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b6d2
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0x2c]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov byte [eax], 0
mov eax, dword [edi + 0x30]
lea ebx, [esi*4]
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx + eax]
shl eax, 3
add eax, dword [edi + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, edi
call fcn.004190c0
cmp dword [ebp - 0x6c], 0x20
mov eax, dword [edi + 0x34]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x58], eax
jbe 0x40d30a
mov ebx, 0x80004001
jmp 0x40e254
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 - 0xa4], 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
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040d040
add esp, 8
lea ecx, [ebp - 0xc4]
call fcn.00425cc0
test al, al
jne 0x40d3e8
mov ebx, 0x80004001
jmp 0x40e20f
mov eax, dword [edi + 0x34]
mov edx, dword [edi + 0x28]
mov byte [ebp + 0x1b], 1
movzx ecx, byte [eax + esi]
mov eax, dword [edi + 0x2c]
add ecx, dword [ebx + eax]
mov esi, dword [edx + ecx*8]
mov edx, dword [edx + ecx*8 + 4]
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x40d436
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, edx
jb 0x40d423
ja 0x40d419
cmp eax, esi
jbe 0x40d425
mov ebx, 0x80004005
jmp 0x40e20f
cmp eax, esi
jne 0x40d431
cmp ecx, edx
jne 0x40d431
mov byte [ebp + 0x1b], 1
jmp 0x40d436
xor al, al
mov byte [ebp + 0x1b], al
mov ebx, dword [ebp - 0x1c]
cmp byte [ebx], 0
je 0x40d507
mov esi, dword [ebp - 0xc0]
cmp esi, dword [ebx + 8]
jne 0x40d507
xor edx, edx
test esi, esi
je 0x40d475
mov edi, dword [ebx + 4]
mov ecx, dword [ebp - 0xc4]
sub edi, ecx
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x40d507
inc edx
add ecx, 4
cmp edx, esi
jb 0x40d462
mov esi, dword [ebp - 0xb4]
cmp esi, dword [ebx + 0x14]
jne 0x40d507
xor ecx, ecx
test esi, esi
je 0x40d4aa
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + ecx*8]
cmp eax, dword [edi + ecx*8]
jne 0x40d507
mov eax, dword [edx + ecx*8 + 4]
cmp eax, dword [edi + ecx*8 + 4]
jne 0x40d507
inc ecx
cmp ecx, esi
jb 0x40d493
mov edi, dword [ebp - 0x80]
xor ecx, ecx
test edi, edi
je 0x40d4d7
mov edx, dword [ebx + 0x44]
mov esi, dword [ebp - 0x84]
lea esp, [esp]
mov eax, dword [esi + ecx*8]
cmp eax, dword [edx + ecx*8]
jne 0x40d507
mov eax, dword [esi + ecx*8 + 4]
cmp eax, dword [edx + ecx*8 + 4]
jne 0x40d507
inc ecx
cmp ecx, edi
jb 0x40d4c0
mov edx, dword [ebp - 0xa8]
cmp edx, dword [ebx + 0x20]
jne 0x40d507
xor ecx, ecx
test edx, edx
je 0x40d825
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebp - 0xac]
mov eax, dword [edi + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x40d507
inc ecx
cmp ecx, edx
jb 0x40d4f5
jmp 0x40d825
mov byte [ebx], 0
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x40d51e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x60], 0
cmp byte [ebx + 0x50], 0
push 0x84
je 0x40d64d
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x40d633
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
mov dword [ebx + 0x58], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40d638
xor esi, esi
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x40d645
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x60], esi
mov ecx, dword [ebx + 0x58]
jmp 0x40d693
call fcn.0055c4f4
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x40d66d
push 0
mov ecx, eax
call fcn.00425570
mov esi, eax
jmp 0x40d66f
xor esi, esi
mov byte [ebp - 4], 2
mov dword [ebx + 0x54], esi
test esi, esi
je 0x40d680
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x40d68d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x60], esi
mov ecx, dword [ebx + 0x54]
lea eax, [ecx + 4]
neg ecx
lea edx, [ebp - 0xc4]
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x5c], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, eax
test ebx, ebx
jne 0x40e20f
xor edi, edi
cmp dword [ebp - 0x6c], edi
jbe 0x40d79f
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x70]
add esi, ecx
mov eax, dword [esi]
and eax, 0xffffff00
cmp eax, 0x40300
jne 0x40d6e2
cmp dword [esi + 4], 0
je 0x40dbdf
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 8
push eax
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0042e960
mov ecx, dword [ebp - 0x4c]
mov ebx, eax
mov edx, dword [ebp - 0x48]
add esp, 0x10
test ebx, ebx
jne 0x40d724
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x40d74c
test ecx, ecx
jne 0x40d755
mov ebx, 0x80004001
mov byte [ebp - 4], 0xf
test edx, edx
je 0x40d735
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x10
test ecx, ecx
je 0x40e20f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x40e20f
test edx, edx
je 0x40d71f
cmp dword [ebp - 0x40], eax
jne 0x40d71f
mov ebx, dword [ebp - 0x1c]
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x40d775
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x13
test ecx, ecx
je 0x40d786
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
inc edi
add ecx, 0x18
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x6c]
jb 0x40d6c5
jmp 0x40d7a2
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc4]
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.0040cde0
add esi, 0x40
lea eax, [ebp - 0x84]
cmp eax, esi
je 0x40d822
mov edi, dword [ebp - 0x80]
cmp edi, dword [esi + 8]
jbe 0x40d803
push dword [esi]
call fcn.0055c53b
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.0055c532
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
test edi, edi
je 0x40d822
lea eax, [edi*8]
push eax
push dword [ebp - 0x84]
push dword [esi]
call fcn.00560500
add esp, 0xc
mov byte [ebx], 1
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
jne 0x40e20f
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x54], ebx
mov eax, dword [eax + 0x2c]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x6c], ebx
jbe 0x40dd3f
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ecx, ecx
shl eax, 3
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x70]
add esi, ecx
mov ecx, dword [ebp - 0x1c]
push ebx
mov dword [ebp - 0x2c], esi
mov ecx, dword [ecx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x20], ebx
test ebx, ebx
jne 0x40d897
mov ebx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
cmp byte [ebp - 0x11], 0
jne 0x40d940
cmp byte [ebp + 0x40], 0
je 0x40d8f2
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5b82bc
push ebx
mov byte [ebp - 4], 0x15
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d8e4
push dword [ebp + 0x44]
mov ecx, dword [eax]
push eax
mov byte [ebp - 0x11], 1
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40dca6
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x40d8f2
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 0x5b82ec
push ebx
mov byte [ebp - 4], 0x19
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d932
push dword [ebp + 0x4c]
mov ecx, dword [eax]
push dword [ebp + 0x48]
mov byte [ebp - 0x11], 1
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40dcaf
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x40d940
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 0x5b828c
push ebx
mov byte [ebp - 4], 0x1d
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d988
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 0x40dcb5
test ebx, ebx
jne 0x40dcba
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x40d996
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 0x5b83cc
push ebx
mov byte [ebp - 4], 0x23
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40dacf
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x40dd09
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push ecx
mov byte [ebp - 4], 0x26
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x40dcdc
mov eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov byte [eax], 1
mov ecx, dword [ebx]
test ecx, ecx
je 0x40da16
mov eax, dword [ebx + 8]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.00560a80
add esp, 0xc
mov dword [ebx + 4], 0
mov eax, dword [ebp - 0x18]
xor edi, edi
test eax, eax
je 0x40da2a
push eax
mov ecx, ebx
call fcn.00435c90
mov edi, dword [ebx + 4]
lea ebx, [edi + edi]
push ebx
mov dword [ebp - 0x34], ebx
call fcn.0055c532
mov esi, eax
mov dword [ebp - 0x40], ebx
add esp, 4
mov dword [ebp - 0x44], esi
xor ecx, ecx
mov byte [ebp - 4], 0x29
test edi, edi
je 0x40da66
jmp 0x40da50
mov eax, dword [ebp - 0x18]
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 0x40da50
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 - 0x34]
test ebx, ebx
jne 0x40dcc0
test eax, eax
je 0x40da8d
push eax
push ebx
push esi
call fcn.00560a80
add esp, 0xc
push esi
call fcn.0055c53b
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x40dac0
push eax
call dword [ebp - 0x38]
add eax, eax
push eax
push 0
push dword [ebp - 0x18]
call fcn.00560a80
mov edi, dword [ebp - 0x30]
add esp, 0xc
push dword [ebp - 0x18]
call edi
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x40dac3
mov edi, dword [ebp - 0x30]
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x2c
test eax, eax
je 0x40dadd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5b82cc
push ebx
mov byte [ebp - 4], 0x2d
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40db20
mov ecx, dword [eax]
mov bl, byte [ebp + 0x1b]
mov byte [ebp - 0x74], bl
mov edx, dword [ecx + 0xc]
movzx ecx, bl
push ecx
push eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x40dd25
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x30
test eax, eax
je 0x40db2e
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 - 0x20], ebx
mov dword [ebp - 0x2c], edi
test ebx, ebx
je 0x40db61
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055c532
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
xor esi, esi
mov byte [ebp - 4], 0x31
mov dword [ebp - 0x34], esi
test ebx, ebx
je 0x40db8e
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055c532
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0x32
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x40dc41
mov ebx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x64]
xor eax, eax
test ecx, ecx
je 0x40dbba
mov edx, dword [ebp - 0x68]
cmp dword [edx + eax*8], ebx
je 0x40dbe9
inc eax
cmp eax, ecx
jb 0x40dbb0
mov eax, dword [ebp - 0x5c]
xor edx, edx
test eax, eax
je 0x40dbd0
mov ecx, dword [ebp - 0x60]
cmp dword [ecx + edx*4], ebx
je 0x40dc01
inc edx
cmp edx, eax
jb 0x40dbc6
push esi
call fcn.0055c53b
push edi
call fcn.0055c53b
add esp, 8
mov ebx, 0x80004001
jmp 0x40e20f
test eax, eax
js 0x40dbba
mov edx, dword [edx + eax*8 + 4]
mov ecx, dword [ebp + 0x14]
add edx, dword [ebp - 0x3c]
shl edx, 3
mov ecx, dword [ecx + 0x28]
add edx, ecx
jmp 0x40dc28
test edx, edx
js 0x40dbd0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [eax + edx*8 + 8]
sub ecx, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 0xc]
sbb eax, dword [ebx + edx*8 + 4]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x50]
lea edx, [edi + edx*8]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x10]
mov eax, esi
inc ebx
mov dword [ebp - 0x50], ebx
mov dword [eax + ecx*4], edx
inc ecx
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x20]
jb 0x40dba4
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x54]
test eax, eax
je 0x40dc57
cmp ebx, dword [ebp - 0xa0]
jne 0x40dc57
mov edx, eax
jmp 0x40dc60
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x74]
push esi
mov ecx, dword [eax + 0x5c]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
push esi
call fcn.0055c53b
push edi
mov byte [ebp - 4], 2
call fcn.0055c53b
mov ecx, dword [ebp - 0x78]
inc ebx
add dword [ebp - 0x24], 8
add ecx, 0x18
add esp, 8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x78], ecx
cmp ebx, dword [ebp - 0x6c]
jae 0x40dd3f
mov edi, dword [ebp - 0x30]
jmp 0x40d874
mov byte [ebp - 4], 0x16
jmp 0x40dd29
mov byte [ebp - 4], 0x1a
jmp 0x40dd29
mov ebx, 0x80004001
mov byte [ebp - 4], 0x20
jmp 0x40dd29
test eax, eax
je 0x40dcd0
push eax
push 0
push esi
call fcn.00560a80
add esp, 0xc
push esi
call fcn.0055c53b
mov edi, dword [ebp - 0x30]
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40dd01
push eax
call dword [ebp - 0x38]
add eax, eax
push eax
push 0
push dword [ebp - 0x18]
call fcn.00560a80
add esp, 0xc
push dword [ebp - 0x18]
call edi
xor eax, eax
mov dword [ebp - 0x18], eax
push eax
call edi
mov eax, dword [ebp - 0x10]
jmp 0x40dd0e
mov ebx, 0x80004001
mov byte [ebp - 4], 0x2a
test eax, eax
je 0x40e20f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40e20f
mov byte [ebp - 4], 0x2e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40e20f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40e20f
cmp dword [ebp + 0x20], 0
mov ebx, dword [ebp - 0x1c]
je 0x40dd5b
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov al, byte [ebp + 0x1b]
xor al, 1
movzx eax, al
push eax
call edx
xor eax, eax
xor esi, esi
mov dword [ebp + 0x40], eax
mov dword [ebp - 0x48], eax
mov dword [ebp + 0x44], esi
mov dword [ebp - 0x44], esi
mov dword [ebp + 0x30], eax
mov dword [ebp - 0x40], eax
push 0x30
mov byte [ebp - 4], 0x34
call fcn.0055c4f4
mov edi, eax
mov dword [ebp + 0x38], eax
add esp, 4
test edi, edi
je 0x40dda2
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.0040c670
add esp, 4
jmp 0x40dda7
xor edi, edi
mov dword [ebp + 0x38], edi
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x40ddc6
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40ddc3
inc dword [edi + 4]
jmp 0x40ddc6
push edi
call eax
mov dl, byte [ebx + 0x50]
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x36
mov dword [ebp + 0x14], edx
cmp eax, 1
jbe 0x40de47
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp - 0x28]
push 0
add ecx, dword [eax]
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x10]
push eax
push ecx
push ebx
call edx
mov ebx, eax
test ebx, ebx
jne 0x40e1f9
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40de19
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [edi + 8], ebx
test dl, dl
jne 0x40de44
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.00427c40
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 - 0x5c]
xor ecx, ecx
mov dword [ebp + 0x1c], ecx
test eax, eax
je 0x40e0e0
jmp 0x40de60
mov dword [ebp + 0x34], 0
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
shl ecx, 3
mov dword [ebp + 0x18], ecx
mov byte [ebp - 4], 0x3a
add ebx, dword [ecx + esi]
mov ecx, dword [ecx + esi + 4]
adc ecx, dword [ebp + 0x10]
mov dword [ebp + 0x3c], ecx
cmp eax, 1
jne 0x40deb0
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 0x40e0d8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0x34], esi
jmp 0x40df68
push 0x20
test dl, dl
je 0x40def0
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x40df2f
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 0x40df2a
mov dword [esi + 4], 1
jmp 0x40df31
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x40df2f
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 0x40df2a
mov dword [esi + 4], 1
jmp 0x40df31
push esi
call eax
jmp 0x40df31
xor esi, esi
mov dword [ebp + 0x34], esi
test edi, edi
je 0x40df4c
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40df49
inc dword [edi + 4]
jmp 0x40df4c
push edi
call eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x40df59
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.0055c4f4
mov edi, eax
add esp, 4
mov dword [ebp + 0x3c], edi
test edi, edi
je 0x40df91
mov dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
mov dword [edi + 8], 0
jmp 0x40df93
xor edi, edi
mov ebx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x30]
cmp ebx, edx
jne 0x40e011
cmp edx, 0x7fffffff
jae 0x40e2bb
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.0055c532
add esp, 4
mov ecx, eax
mov dword [ebp + 0x3c], ecx
test ebx, ebx
je 0x40dff7
lea eax, [ebx*4]
push eax
push dword [ebp + 0x40]
push ecx
call fcn.00560500
add esp, 0xc
push dword [ebp + 0x40]
call fcn.0055c53b
mov eax, dword [ebp + 0x3c]
add esp, 4
mov dword [ebp + 0x40], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x40], eax
push 4
call fcn.0055c4f4
mov ebx, eax
add esp, 4
mov dword [ebp + 0x3c], ebx
test ebx, ebx
je 0x40e02c
mov dword [ebx], 0
jmp 0x40e02e
xor ebx, ebx
mov ecx, dword [ebp + 0x44]
mov eax, ecx
inc ecx
mov dword [ebp + 0x44], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x40]
mov dword [ecx + eax*4], ebx
test edi, edi
je 0x40e058
mov eax, dword [edi]
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40e055
inc dword [edi + 4]
jmp 0x40e058
push edi
call eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x40e064
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], edi
test esi, esi
je 0x40e070
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x40e07d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp - 0x28]
mov dword [edi + 8], esi
mov ecx, dword [edx + ebx + 8]
sub ecx, dword [edx + ebx]
mov eax, dword [edx + ebx + 0xc]
sbb eax, dword [edx + ebx + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 0x3f
test esi, esi
je 0x40e0bb
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x5c]
inc ecx
mov byte [ebp - 4], 0x36
mov dword [ebp + 0x1c], ecx
cmp ecx, eax
jae 0x40e0dd
mov edi, dword [ebp + 0x38]
mov edx, dword [ebp + 0x14]
jmp 0x40de60
jmp 0x40e1f9
mov esi, dword [ebp + 0x44]
xor edi, edi
mov dword [ebp + 0x14], edi
test esi, esi
je 0x40e109
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055c532
mov edi, eax
add esp, 4
mov dword [ebp + 0x14], edi
mov byte [ebp - 4], 0x40
test esi, esi
je 0x40e133
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 0x40e120
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x20], 0
je 0x40e1dc
xor esi, esi
mov dword [ebp + 0x40], esi
mov ebx, dword [ebp + 0x24]
mov byte [ebp - 4], 0x41
test ebx, ebx
je 0x40e1ab
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.00427d00
test al, al
jne 0x40e1ab
push 0xc
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp + 0x44], esi
test esi, esi
je 0x40e1a6
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CDecProgress.0
mov dword [esi + 8], ebx
mov eax, dword [ebx]
push ebx
mov byte [ebp - 4], 0x42
call dword [eax + 4]
mov eax, dword [esi]
mov byte [ebp - 4], 0x41
mov eax, dword [eax + 4]
cmp eax, method.CLimitedSequentialInStream.virtual_4
jne 0x40e1a1
inc dword [esi + 4]
jmp 0x40e1a8
push esi
call eax
jmp 0x40e1a8
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 - 0x1c]
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], 0x43
test esi, esi
je 0x40e1ed
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x40e1ed
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x28]
push edi
mov ecx, dword [eax + 0x54]
call fcn.00427440
mov ebx, eax
push edi
call fcn.0055c53b
mov edi, dword [ebp + 0x38]
add esp, 4
mov byte [ebp - 4], 0x46
test edi, edi
je 0x40e207
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x48]
call fcn.0040cac0
push dword [ebp - 0x84]
call fcn.0055c53b
push dword [ebp - 0x90]
call fcn.0055c53b
push dword [ebp - 0x9c]
call fcn.0055c53b
push dword [ebp - 0xac]
call fcn.0055c53b
push dword [ebp - 0xb8]
call fcn.0055c53b
push dword [ebp - 0xc4]
call fcn.0055c53b
add esp, 0x18
push dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0055c53b
push dword [ebp - 0x68]
call fcn.0055c53b
mov eax, dword [ebp - 0x70]
add esp, 8
test eax, eax
je 0x40e2a5
push 0x40cc10
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 0x47
push 0x18
push eax
call fcn.0055c3df
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.0055c540
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 0x5f7c98
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x4c], 0x7e5
push eax
call fcn.00560f5e
int3