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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50e3d7
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x558384]
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 - 0x28], ebx
mov eax, dword [ebx + eax]
shl eax, 3
add eax, dword [edi + 8]
mov dword [ebp - 0x2c], eax
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
mov dword [ebp - 0x58], 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
push esi
mov ecx, edi
call fcn.0049c4e0
cmp dword [ebp - 0x68], 0x20
mov eax, dword [edi + 0x34]
movzx eax, byte [eax + esi]
mov dword [ebp - 0x54], eax
jbe 0x4974da
mov ebx, 0x80004001
jmp 0x4983ca
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 - 0xa0], 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
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00497210
add esp, 8
lea ecx, [ebp - 0xc0]
call fcn.004a0640
test al, al
jne 0x4975b5
mov ebx, 0x80004001
jmp 0x498388
mov eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x2c]
mov edx, dword [edi + 0x28]
mov byte [ebp + 0x1b], 1
movzx eax, byte [eax + esi]
add eax, dword [ebx + ecx]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [edx + eax*8]
mov edx, dword [edx + eax*8 + 4]
test ecx, ecx
je 0x497603
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, edx
jb 0x4975f0
ja 0x4975e6
cmp eax, esi
jbe 0x4975f2
mov ebx, 0x80004005
jmp 0x498388
cmp eax, esi
jne 0x4975fe
cmp ecx, edx
jne 0x4975fe
mov byte [ebp + 0x1b], 1
jmp 0x497603
xor al, al
mov byte [ebp + 0x1b], al
mov ebx, dword [ebp - 0x1c]
cmp byte [ebx], 0
je 0x4976d2
mov esi, dword [ebp - 0xbc]
cmp esi, dword [ebx + 8]
jne 0x4976d2
xor edx, edx
test esi, esi
je 0x497643
mov edi, dword [ebx + 4]
mov ecx, dword [ebp - 0xc0]
sub edi, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edi + ecx]
jne 0x4976d2
inc edx
add ecx, 4
cmp edx, esi
jb 0x497630
mov esi, dword [ebp - 0xb0]
cmp esi, dword [ebx + 0x14]
jne 0x4976d2
xor ecx, ecx
test esi, esi
je 0x497678
mov edi, dword [ebx + 0x10]
mov edx, dword [ebp - 0xb4]
mov eax, dword [edx + ecx*8]
cmp eax, dword [edi + ecx*8]
jne 0x4976d2
mov eax, dword [edx + ecx*8 + 4]
cmp eax, dword [edi + ecx*8 + 4]
jne 0x4976d2
inc ecx
cmp ecx, esi
jb 0x497661
mov edi, dword [ebp - 0x7c]
xor ecx, ecx
test edi, edi
je 0x49769e
mov edx, dword [ebx + 0x44]
mov esi, dword [ebp - 0x80]
mov eax, dword [esi + ecx*8]
cmp eax, dword [edx + ecx*8]
jne 0x4976d2
mov eax, dword [esi + ecx*8 + 4]
cmp eax, dword [edx + ecx*8 + 4]
jne 0x4976d2
inc ecx
cmp ecx, edi
jb 0x497687
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ebx + 0x20]
jne 0x4976d2
xor ecx, ecx
test edx, edx
je 0x4979eb
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebp - 0xa8]
lea esp, [esp]
mov eax, dword [edi + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x4976d2
inc ecx
cmp ecx, edx
jb 0x4976c0
jmp 0x4979eb
mov byte [ebx], 0
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x4976e9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x60], 0
cmp byte [ebx + 0x50], 0
push 0x84
je 0x497819
call fcn.004bcee7
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
test esi, esi
je 0x4977f5
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 0x4977f7
xor esi, esi
mov dword [ebx + 0x58], esi
test esi, esi
je 0x497804
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x497811
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x60], esi
mov ecx, dword [ebx + 0x58]
jmp 0x49785f
call fcn.004bcee7
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x497839
push 0
mov ecx, eax
call fcn.0049fe70
mov esi, eax
jmp 0x49783b
xor esi, esi
mov byte [ebp - 4], 1
mov dword [ebx + 0x54], esi
test esi, esi
je 0x49784c
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x497859
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 - 0xc0]
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 0x498388
xor edi, edi
cmp dword [ebp - 0x68], edi
jbe 0x49796b
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x6c]
add esi, ecx
mov eax, dword [esi]
and eax, 0xffffff00
cmp eax, 0x40300
jne 0x4978ae
cmp dword [esi + 4], 0
je 0x497da1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
push 0
push dword [esi + 4]
push dword [esi]
call fcn.004a3170
mov ecx, dword [ebp - 0x40]
mov ebx, eax
mov edx, dword [ebp - 0x3c]
add esp, 0x10
test ebx, ebx
jne 0x4978f0
mov eax, dword [esi + 0x10]
cmp eax, 1
jne 0x497918
test ecx, ecx
jne 0x497921
mov ebx, 0x80004001
mov byte [ebp - 4], 4
test edx, edx
je 0x497901
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x498388
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x498388
test edx, edx
je 0x4978eb
cmp dword [ebp - 0x34], eax
jne 0x4978eb
mov ebx, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebx + 0x5c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x497941
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x497952
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x24]
inc edi
add ecx, 0x18
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x68]
jb 0x497891
jmp 0x49796e
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc0]
lea esi, [ebx + 4]
push eax
mov ecx, esi
call fcn.00496fd0
add esi, 0x40
lea eax, [ebp - 0x80]
cmp eax, esi
je 0x4979e8
mov edi, dword [ebp - 0x7c]
cmp edi, dword [esi + 8]
jbe 0x4979cc
push dword [esi]
call fcn.004b8926
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.004bd4f8
add esp, 8
mov dword [esi], eax
mov dword [esi + 8], edi
mov dword [esi + 4], edi
test edi, edi
je 0x4979e8
lea eax, [edi*8]
push eax
push dword [ebp - 0x80]
push dword [esi]
call fcn.004dc100
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 0x498388
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x48], ebx
mov eax, dword [eax + 0x2c]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x68], ebx
jbe 0x497e6c
xor ecx, ecx
shl eax, 3
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x6c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esi, ecx
mov ecx, dword [ebp - 0x1c]
push ebx
mov dword [ebp - 0x4c], 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 0x497a52
mov ebx, dword [eax + 4]
mov dword [ebp - 0x20], ebx
cmp byte [ebp - 0x11], 0
jne 0x497afb
cmp byte [ebp + 0x40], 0
je 0x497aad
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x517794
push ebx
mov byte [ebp - 4], 8
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497a9f
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 0x497ee7
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x497aad
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 0x5177c4
push ebx
mov byte [ebp - 4], 0xb
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497aed
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 0x497ef0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x497afb
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 0x517774
push ebx
mov byte [ebp - 4], 0xe
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497b43
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 0x497ef6
test ebx, ebx
jne 0x497efb
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x11
test eax, eax
je 0x497b51
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 0x517854
push ebx
mov byte [ebp - 4], 0x12
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497c8e
mov ecx, dword [ebp + 0x34]
mov byte [ecx], 1
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x497f50
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push ecx
mov byte [ebp - 4], 0x14
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x497f20
mov eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x3c]
mov byte [eax], 1
mov ecx, dword [ebx]
test ecx, ecx
je 0x497bd1
mov eax, dword [ebx + 8]
lea eax, [eax*2 + 2]
push eax
push 0
push ecx
call fcn.004dc680
add esp, 0xc
mov dword [ebx + 4], 0
mov eax, dword [ebp - 0x18]
xor edi, edi
test eax, eax
je 0x497be5
push eax
mov ecx, ebx
call fcn.004a8800
mov edi, dword [ebx + 4]
lea ebx, [edi + edi]
push ebx
mov dword [ebp - 0x28], ebx
call fcn.004bd4f8
mov esi, eax
mov dword [ebp - 0x34], ebx
add esp, 4
mov dword [ebp - 0x38], esi
xor ecx, ecx
mov byte [ebp - 4], 0x16
test edi, edi
je 0x497c1c
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 0x497c06
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 - 0x28]
test ebx, ebx
jne 0x497f01
test eax, eax
je 0x497c43
push eax
push ebx
push esi
call fcn.004dc680
add esp, 0xc
push esi
call fcn.004b8926
mov eax, dword [ebp - 0x18]
add esp, 4
test eax, eax
je 0x497c7c
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, eax
push eax
push 0
push dword [ebp - 0x18]
call fcn.004dc680
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0xc
push dword [ebp - 0x18]
call edi
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x497c82
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0x18
test eax, eax
je 0x497c9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push 0x5177a4
push ebx
mov byte [ebp - 4], 0x19
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x497cdf
mov ecx, dword [eax]
mov bl, byte [ebp + 0x1b]
mov byte [ebp - 0x70], bl
mov edx, dword [ecx + 0xc]
movzx ecx, bl
push ecx
push eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x497f6c
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x497ced
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esi + 0x10]
xor edi, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x4c], edi
test ebx, ebx
je 0x497d20
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bd4f8
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
xor esi, esi
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x28], esi
test ebx, ebx
je 0x497d4d
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bd4f8
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x20], 0
test ebx, ebx
je 0x497e0f
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x60]
xor eax, eax
test ecx, ecx
je 0x497d7c
mov edx, dword [ebp - 0x64]
cmp dword [edx + eax*8], ebx
je 0x497dab
inc eax
cmp eax, ecx
jb 0x497d72
mov eax, dword [ebp - 0x58]
xor edx, edx
test eax, eax
je 0x497d92
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + edx*4], ebx
je 0x497dcc
inc edx
cmp edx, eax
jb 0x497d88
push esi
call fcn.004b8926
push edi
call fcn.004b8926
add esp, 8
mov ebx, 0x80004001
jmp 0x498388
test eax, eax
js 0x497d7c
mov eax, dword [edx + eax*8 + 4]
mov ecx, dword [ebp + 0x14]
add eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x20]
shl eax, 3
mov ecx, dword [ecx + 0x28]
add eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + edx*4], eax
jmp 0x497df8
test edx, edx
js 0x497d92
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x2c]
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 - 0x44]
mov dword [edx], ecx
mov ecx, edx
mov edx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov dword [esi + edx*4], ecx
inc edx
add ecx, 8
inc ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x44], ebx
cmp edx, dword [ebp - 0x30]
jb 0x497d66
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp - 0x48]
test eax, eax
je 0x497e25
cmp ebx, dword [ebp - 0x9c]
jne 0x497e25
mov edx, eax
jmp 0x497e2e
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0x28]
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x70]
push esi
mov ecx, dword [eax + 0x5c]
push edx
push ebx
mov eax, dword [ecx]
call dword [eax + 0x18]
push esi
call fcn.004b8926
push edi
mov byte [ebp - 4], 1
call fcn.004b8926
mov ecx, dword [ebp - 0x74]
inc ebx
add dword [ebp - 0x24], 8
add ecx, 0x18
add esp, 8
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x74], ecx
cmp ebx, dword [ebp - 0x68]
jb 0x497a29
cmp dword [ebp + 0x20], 0
je 0x497e88
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 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 + 0x14], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp + 0x1c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp + 0x44], eax
mov dword [ebp - 0x34], eax
push 0x30
mov byte [ebp - 4], 0x1e
call fcn.004bcee7
mov edi, eax
mov dword [ebp + 0x34], eax
add esp, 4
mov dword [ebp + 0x40], edi
test edi, edi
je 0x497f91
mov dword [edi + 4], esi
mov dword [edi], vtable.NArchive::N7z::CLockedInStream.0
mov dword [edi + 8], esi
lea ebx, [edi + 0x18]
mov byte [ebp - 4], 0x20
push esi
push ebx
mov dword [ebp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x498431
jmp 0x497f86
mov byte [ebp - 4], 9
jmp 0x497f70
mov byte [ebp - 4], 0xc
jmp 0x497f70
mov ebx, 0x80004001
mov byte [ebp - 4], 0x10
jmp 0x497f70
test eax, eax
je 0x497f11
push eax
push 0
push esi
call fcn.004dc680
add esp, 0xc
push esi
call fcn.004b8926
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x497f48
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
add eax, eax
push eax
push 0
push dword [ebp - 0x18]
call fcn.004dc680
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 0x497f55
mov ebx, 0x80004001
mov byte [ebp - 4], 0x17
test eax, eax
je 0x498388
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x498388
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x498388
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x498388
push ebx
call fcn.004b0a90
add esp, 4
jmp 0x497f96
xor edi, edi
mov dword [ebp + 0x34], edi
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x30], edi
test edi, edi
je 0x497fa7
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x22
mov dl, byte [eax + 0x50]
mov eax, dword [ebp - 0x58]
mov byte [ebp + 0x43], dl
cmp eax, 1
jbe 0x49801f
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
lea eax, [edi + 0x10]
push eax
mov eax, dword [ebp - 0x2c]
push 0
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 edx
mov ebx, eax
test ebx, ebx
jne 0x498372
mov ebx, dword [ebp + 8]
push ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x497ffd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp + 0x43], 0
mov dword [edi + 8], ebx
jne 0x49801c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.004a24f0
test al, al
je 0x49801c
mov byte [ebp + 0x43], 1
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov dword [ebp + 0x38], ecx
test eax, eax
je 0x49826d
lea esp, [esp]
mov dword [ebp + 0x18], 0
mov esi, dword [ebp - 0x2c]
lea edx, [ecx*8]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x24
add ebx, dword [edx + esi]
mov dword [ebp + 0x3c], edx
adc ecx, dword [edx + esi + 4]
mov dword [ebp + 0x30], ecx
cmp eax, 1
jne 0x498084
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 0x498265
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0x18], esi
jmp 0x498104
push 0x20
call fcn.004bcee7
add esp, 4
mov esi, eax
cmp byte [ebp + 0x43], 0
mov dword [ebp - 0x50], esi
je 0x4980b9
test esi, esi
je 0x4980d9
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CLockedSequentialInStreamMT.0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x4980db
test esi, esi
je 0x4980d9
mov dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CLockedSequentialInStreamST.0
mov dword [esi + 0x18], 0
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x4980db
xor esi, esi
mov dword [ebp + 0x18], esi
test edi, edi
je 0x4980e8
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4980f5
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
push 0x28
call fcn.004bcee7
mov edi, eax
add esp, 4
mov dword [ebp + 0x30], edi
test edi, edi
je 0x49812d
mov dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
mov dword [edi + 8], 0
jmp 0x49812f
xor edi, edi
mov ebx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x44]
cmp ebx, edx
jne 0x4981af
cmp edx, 0x7fffffff
jae 0x498449
mov eax, edx
mov ecx, SysReAllocString
shr eax, 2
sub ecx, edx
inc eax
cmp eax, ecx
jbe 0x498158
mov eax, ecx
add edx, eax
xor ecx, ecx
mov dword [ebp + 0x44], edx
mov eax, edx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bd4f8
add esp, 4
mov ecx, eax
mov dword [ebp + 0x30], ecx
test ebx, ebx
je 0x498195
lea eax, [ebx*4]
push eax
push dword [ebp + 0x14]
push ecx
call fcn.004dc100
add esp, 0xc
push dword [ebp + 0x14]
call fcn.004b8926
mov eax, dword [ebp + 0x30]
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x34], eax
push 4
call fcn.004bcee7
mov ebx, eax
add esp, 4
mov dword [ebp + 0x30], ebx
test ebx, ebx
je 0x4981ca
mov dword [ebx], 0
jmp 0x4981cc
xor ebx, ebx
mov eax, dword [ebp + 0x1c]
lea ecx, [eax + 1]
mov dword [ebp + 0x1c], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax*4], ebx
test edi, edi
je 0x4981e8
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4981f4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], edi
test esi, esi
je 0x498200
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x49820d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x3c]
mov ebx, dword [ebp - 0x2c]
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], 0x27
test esi, esi
je 0x49824b
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp + 0x38]
mov eax, dword [ebp - 0x58]
inc ecx
mov byte [ebp - 4], 0x22
mov dword [ebp + 0x38], ecx
cmp ecx, eax
jae 0x49826a
mov edi, dword [ebp + 0x34]
jmp 0x498030
jmp 0x498372
mov esi, dword [ebp + 0x1c]
xor edi, edi
mov dword [ebp + 0x40], edi
test esi, esi
je 0x498296
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004bd4f8
mov edi, eax
add esp, 4
mov dword [ebp + 0x40], edi
mov byte [ebp - 4], 0x28
test esi, esi
je 0x4982b9
sub dword [ebp + 0x14], edi
mov ecx, edi
mov edi, dword [ebp + 0x14]
mov eax, dword [edi + ecx]
lea ecx, [ecx + 4]
mov eax, dword [eax]
mov dword [ecx - 4], eax
sub esi, 1
jne 0x4982a6
mov edi, dword [ebp + 0x40]
cmp dword [ebp + 0x20], 0
je 0x498355
xor esi, esi
mov dword [ebp + 0x14], esi
mov ebx, dword [ebp + 0x24]
mov byte [ebp - 4], 0x29
test ebx, ebx
je 0x498323
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
push dword [ecx + 0x60]
call fcn.004a25b0
test al, al
jne 0x498323
push 0xc
call fcn.004bcee7
mov esi, eax
add esp, 4
mov dword [ebp + 0x1c], esi
test esi, esi
je 0x49831e
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], 0x2a
call dword [eax + 4]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0x29
call dword [eax + 4]
jmp 0x498320
xor esi, esi
mov dword [ebp + 0x14], esi
mov eax, dword [ebp + 0x20]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ecx]
test esi, esi
je 0x498337
mov ebx, esi
push dword [ebp + 0x2c]
lea edx, [ebp + 8]
push ebx
push edx
push edi
call dword [eax + 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0x2b
test esi, esi
je 0x498366
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x498366
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x28]
push edi
mov ecx, dword [eax + 0x54]
call fcn.004a1d60
mov ebx, eax
push edi
call fcn.004b8926
mov edi, dword [ebp + 0x34]
add esp, 4
mov byte [ebp - 4], 0x2d
test edi, edi
je 0x498380
mov eax, dword [edi]
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x3c]
call fcn.00496ce0
push dword [ebp - 0x80]
call fcn.004b8926
push dword [ebp - 0x8c]
call fcn.004b8926
push dword [ebp - 0x98]
call fcn.004b8926
push dword [ebp - 0xa8]
call fcn.004b8926
push dword [ebp - 0xb4]
call fcn.004b8926
push dword [ebp - 0xc0]
call fcn.004b8926
add esp, 0x18
push dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
call fcn.004b8926
push dword [ebp - 0x64]
call fcn.004b8926
mov eax, dword [ebp - 0x6c]
add esp, 8
test eax, eax
je 0x49841b
push 0x496e20
push dword [eax - 4]
lea esi, [eax - 4]
mov dword [ebp - 4], 0x2e
push 0x18
push eax
call fcn.004bd2c1
mov eax, dword [esi]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 4]
push eax
push esi
call fcn.004bd60a
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x498443
movzx eax, ax
or eax, 0x80070000
push eax
call fcn.004818f0
push 0x54f970
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x4c], 0x7e5
push eax
call fcn.004dd737
int3