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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x417be5
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x41f018]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x18]
xor ebx, ebx
mov byte [eax], bl
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 8]
mov edx, edi
shl edx, 2
mov ecx, dword [edx + ecx]
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea eax, [esp + 0x30]
push eax
mov edx, edi
mov ecx, esi
mov dword [esp + 0xec], ebx
call fcn.004042ff
cmp dword [esp + 0x34], 0x20
mov eax, dword [esi + 0x34]
movzx eax, byte [eax + edi]
mov dword [esp + 0x48], eax
jbe 0x401875
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
cmp eax, ebx
pop ecx
je 0x40186b
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, 0x80004001
jmp 0x402434
lea eax, [esp + 0x8c]
call fcn.00401067
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
lea eax, [esp + 0x30]
push eax
lea ebx, [esp + 0x90]
mov byte [esp + 0xec], 1
call fcn.0040140a
mov edi, ebx
call fcn.00406258
test al, al
jne 0x4018f9
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x40184f
mov edi, dword [ebp + 0x1c]
mov eax, dword [esi + 0x34]
movzx eax, byte [eax + edi]
mov edx, dword [esi + 0x2c]
mov edi, dword [esp + 0x28]
add eax, dword [edi + edx]
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [ebp + 0x20]
mov byte [esp + 0x17], 1
test ecx, ecx
je 0x401983
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
cmp ecx, eax
jb 0x401971
ja 0x401932
cmp edi, edx
jbe 0x401973
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
test eax, eax
jmp 0x402413
cmp edi, edx
jne 0x40197e
mov byte [esp + 0x17], 1
cmp ecx, eax
je 0x401983
mov byte [esp + 0x17], 0
mov ebx, dword [ebp + 8]
cmp byte [ebx], 0
je 0x4019a2
lea edx, [ebx + 4]
lea eax, [esp + 0x8c]
call fcn.00401537
test al, al
jne 0x401b70
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x4019b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebx + 0x5c], 0
push 0x84
call fcn.00409b11
pop ecx
test eax, eax
je 0x4019cb
mov esi, eax
call fcn.004012e8
jmp 0x4019cd
xor eax, eax
mov edi, eax
lea esi, [ebx + 0x5c]
mov dword [ebx + 0x54], eax
call fcn.00403109
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x4019e6
lea ecx, [eax + 4]
jmp 0x4019e8
xor ecx, ecx
lea edx, [esp + 0x8c]
mov dword [ebx + 0x58], ecx
mov eax, dword [ecx]
push edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x401a5a
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
pop ecx
test eax, eax
je 0x401a53
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, edi
jmp 0x402434
and dword [esp + 0x24], 0
cmp dword [esp + 0x34], 0
jbe 0x401b5a
mov edi, dword [esp + 0x30]
lea esi, [edi + 0x10]
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
mov byte [esp + 0xe8], 2
push dword [esi - 0xc]
lea ecx, [esp + 0x80]
push dword [esi - 0x10]
call fcn.0040c881
mov dword [esp + 0x50], eax
test eax, eax
jne 0x401d6e
mov eax, dword [esi]
cmp eax, 1
jne 0x401b13
cmp dword [esp + 0x7c], 0
jne 0x401b26
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xec], 1
call fcn.00402465
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
pop ecx
test edi, edi
je 0x40186b
push 0x40271d
lea esi, [edi - 4]
push dword [esi]
push 0x18
push edi
jmp 0x40185f
cmp dword [esp + 0x80], 0
je 0x401ab2
cmp dword [esp + 0x88], eax
jne 0x401ab2
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
call dword [eax + 4]
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xec], 1
call fcn.00402465
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add esi, 0x18
cmp eax, dword [esp + 0x34]
jb 0x401a71
lea eax, [ebx + 4]
push eax
lea eax, [esp + 0x90]
call fcn.0040249d
mov esi, dword [ebp + 0x18]
mov byte [ebx], 1
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax]
xor edi, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x20], edi
cmp dword [esp + 0x34], edi
jbe 0x401eaa
shl eax, 3
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x58]
push dword [esp + 0x20]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [eax]
mov edi, ecx
test ecx, ecx
jne 0x401bc3
mov edi, dword [eax + 4]
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
push ecx
push 0x41a078
mov byte [esp + 0xf0], 3
mov eax, dword [edi]
push edi
call dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401c2e
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x2c], ecx
cmp ecx, 0xffffffff
ja 0x401f0f
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
mov dword [esp + 0x2c], eax
cmp eax, 0x80070057
jne 0x401c1f
mov dword [esp + 0x2c], 0x80004001
cmp dword [esp + 0x2c], 0
jne 0x401f22
mov eax, dword [esp + 0x1c]
mov byte [esp + 0xe8], 1
test eax, eax
je 0x401c40
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esp + 0x1c], 0
mov byte [esp + 0x50], 0
lea ecx, [esp + 0x1c]
push ecx
push 0x41a098
mov byte [esp + 0xf0], 4
mov eax, dword [edi]
push edi
call dword [eax]
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x401c8f
mov al, byte [esp + 0x17]
xor ecx, ecx
cmp byte [esp + 0x17], cl
mov byte [esp + 0x50], al
mov eax, dword [edi]
setne cl
push ecx
push edi
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jne 0x401f97
mov edi, dword [esp + 0x1c]
mov byte [esp + 0xe8], 1
test edi, edi
je 0x401ca1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 8]
and dword [esp + 0x24], 0
mov dword [esp + 0x1c], edi
test edi, edi
je 0x401cd0
xor ecx, ecx
push 8
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409b11
pop ecx
mov dword [esp + 0x24], eax
xor edi, edi
mov byte [esp + 0xe8], 5
mov dword [esp + 0x78], edi
cmp dword [esp + 0x1c], edi
je 0x401d03
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409b11
mov edi, eax
pop ecx
mov dword [esp + 0x78], edi
and dword [esp + 0x5c], 0
mov byte [esp + 0xe8], 6
cmp dword [esp + 0x1c], 0
jbe 0x401e44
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
jbe 0x401d3f
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ecx*8]
cmp eax, dword [esp + 0x58]
je 0x401d42
inc ecx
cmp ecx, dword [esp + 0x3c]
jb 0x401d2b
or ecx, 0xffffffff
xor eax, eax
cmp ecx, eax
jl 0x401ddb
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + ecx*8 + 4]
mov eax, dword [esi + 0x28]
add ecx, dword [esp + 0x6c]
lea ecx, [eax + ecx*8]
mov eax, dword [esp + 0x5c]
mov dword [edi + eax*4], ecx
mov ecx, dword [esp + 0x2c]
jmp 0x401e2a
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xec], 1
call fcn.00402465
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
pop ecx
test edi, edi
je 0x401dd2
push 0x40271d
lea esi, [edi - 4]
push dword [esi]
push 0x18
push edi
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, dword [esp + 0x50]
jmp 0x402434
cmp dword [esp + 0x44], eax
jbe 0x401df5
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + eax*4]
cmp ecx, dword [esp + 0x58]
je 0x401df8
inc eax
cmp eax, dword [esp + 0x44]
jb 0x401de1
or eax, 0xffffffff
test eax, eax
jl 0x401fb6
mov ecx, dword [esp + 0x54]
lea eax, [ecx + eax*8]
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov ecx, dword [eax + 0xc]
sbb ecx, dword [eax + 4]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 4], edx
mov dword [edi + eax*4], ecx
inc eax
add ecx, 8
inc dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x1c]
jb 0x401d23
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x401e58
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0xb0]
je 0x401e61
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x28]
add eax, ecx
push dword [esp + 0x50]
mov ecx, dword [ebx + 0x58]
mov edx, dword [ecx]
push edi
push eax
push dword [esp + 0x2c]
call dword [edx + 0x14]
push edi
call sub.MSVCR90.dll_free
pop ecx
mov byte [esp + 0xe8], 1
push dword [esp + 0x24]
call sub.MSVCR90.dll_free
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x2c], 8
add dword [esp + 0x1c], 0x18
pop ecx
cmp eax, dword [esp + 0x34]
jb 0x401bac
xor edi, edi
cmp dword [ebp + 0x24], edi
je 0x401ec3
cmp byte [esp + 0x17], 0
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
sete dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
push 0x30
mov byte [esp + 0xec], 7
call fcn.00409b11
mov esi, eax
pop ecx
mov dword [esp + 0x4c], esi
cmp esi, edi
je 0x401fcc
mov dword [esi + 4], edi
mov dword [esi], vtable.NArchive::N7z::CLockedInStream.0
mov dword [esi + 8], edi
lea eax, [esi + 0x18]
push eax
mov byte [esp + 0xec], 9
call fcn.00414383
jmp 0x401fce
mov byte [esp + 0xe8], 1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4018ba
mov byte [esp + 0xe8], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401f38
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
pop ecx
test eax, eax
je 0x401f8e
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, dword [esp + 0x2c]
jmp 0x402434
mov byte [esp + 0xe8], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4019fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4019fd
push edi
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x24]
call sub.MSVCR90.dll_free
pop ecx
jmp 0x4018ba
xor esi, esi
mov byte [esp + 0xe8], 7
mov dword [esp + 0x20], esi
mov dword [esp + 0x78], esi
cmp esi, edi
je 0x401fe8
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [esp + 0xe8], 0xa
cmp dword [esp + 0x44], 1
jbe 0x4020bc
mov esi, dword [esp + 0x20]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi]
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x58]
mov edx, dword [eax]
add edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x14]
push 0
push eax
push edx
push edi
call dword [ecx + 0x10]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4020ae
mov byte [esp + 0xe8], 7
test esi, esi
je 0x40203d
mov eax, dword [esi]
push esi
call dword [eax + 8]
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xec], 1
call fcn.00402625
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
pop ecx
test eax, eax
je 0x4020a5
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, dword [esp + 0x4c]
jmp 0x402434
mov esi, dword [esp + 0x20]
add esi, 8
call fcn.00403109
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x44], edi
jbe 0x402202
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xe8], 0xb
mov eax, dword [esp + 0x18]
lea eax, [ecx + eax*8]
mov ebx, dword [eax]
add ebx, dword [ebp + 0x10]
mov dword [esp + 0x4c], eax
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x14]
cmp dword [esp + 0x44], 1
mov dword [esp + 0x70], eax
jne 0x402121
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
push edi
push edi
push eax
push ebx
push esi
call dword [ecx + 0x10]
mov ebx, eax
cmp ebx, edi
jne 0x4022a5
mov edi, esi
lea esi, [esp + 0x28]
call fcn.00403109
jmp 0x40216f
push 0x20
call fcn.00409b11
pop ecx
cmp eax, edi
je 0x40213f
mov dword [eax + 4], edi
mov dword [eax], vtable.NArchive::N7z::CLockedSequentialInStreamMT.0
mov dword [eax + 0x18], edi
mov dword [esp + 0x24], eax
jmp 0x402143
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x24]
lea esi, [esp + 0x28]
call fcn.00403109
mov esi, edi
mov edi, dword [esp + 0x20]
add esi, 0x18
call fcn.00403109
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], edi
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ecx
push 0x28
call fcn.00409b11
pop ecx
test eax, eax
je 0x40218d
and dword [eax + 4], 0
mov dword [eax], vtable.CLimitedSequentialInStream.0
and dword [eax + 8], 0
mov ebx, eax
jmp 0x40218f
xor ebx, ebx
lea eax, [esp + 0x60]
push eax
call fcn.00402602
mov edi, ebx
mov esi, eax
call fcn.00403109
mov edi, dword [esp + 0x28]
lea esi, [ebx + 8]
call fcn.00403109
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + edx*8 + 8]
mov ecx, dword [ecx + edx*8 + 0xc]
mov esi, dword [esp + 0x4c]
sub eax, dword [esi]
sbb ecx, dword [esi + 4]
and dword [ebx + 0x18], 0
and dword [ebx + 0x1c], 0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov byte [ebx + 0x20], 0
mov byte [esp + 0xe8], 0xa
test edi, edi
je 0x4021eb
mov eax, dword [edi]
push edi
call dword [eax + 8]
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x44]
jb 0x4020ca
mov ebx, dword [ebp + 8]
xor edi, edi
mov eax, dword [esp + 0x64]
mov esi, eax
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x40222b
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00409b11
pop ecx
mov dword [esp + 0x18], eax
xor edi, edi
xor ecx, ecx
cmp esi, edi
jbe 0x402246
mov eax, dword [esp + 0x60]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jb 0x402231
cmp dword [ebp + 0x24], edi
je 0x4023a7
xor esi, esi
mov dword [esp + 0x4c], esi
mov edi, dword [ebp + 0x28]
mov byte [esp + 0xe8], 0xd
test edi, edi
je 0x40233a
mov ecx, dword [ebx + 0x58]
push dword [ecx + 0x60]
call fcn.0040641f
test al, al
jne 0x40233a
push 0xc
call fcn.00409b11
mov esi, eax
pop ecx
test esi, esi
je 0x40232a
and dword [esi + 4], 0
mov dword [esi], vtable.NArchive::N7z::CDecProgress.0
mov dword [esi + 8], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
jmp 0x40232c
mov eax, dword [esp + 0x20]
mov byte [esp + 0xe8], 7
cmp eax, edi
je 0x4022bb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xec], 1
call fcn.00402625
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
pop ecx
cmp eax, edi
je 0x402323
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, ebx
jmp 0x402434
xor esi, esi
test esi, esi
je 0x402336
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [esp + 0x4c], esi
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x6c], eax
test esi, esi
je 0x402347
mov edi, esi
push dword [ebp + 0x2c]
mov ecx, dword [ebx + 0x58]
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x74]
push edx
push dword [esp + 0x24]
call dword [eax + 0x18]
mov edi, eax
mov byte [esp + 0xe8], 0xc
test esi, esi
je 0x402370
mov eax, dword [esi]
push esi
call dword [eax + 8]
push dword [esp + 0x18]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x24]
pop ecx
mov byte [esp + 0xe8], 7
test eax, eax
je 0x402390
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xec], 1
call fcn.00402625
jmp 0x4019fd
push dword [esp + 0x18]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x24]
pop ecx
mov byte [esp + 0xe8], 7
cmp eax, edi
je 0x4023c7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0xec], 1
call fcn.00402625
push dword [esp + 0xcc]
call sub.MSVCR90.dll_free
pop ecx
lea esi, [esp + 0x8c]
call fcn.00401096
or dword [esp + 0xe8], 0xffffffff
push dword [esp + 0x40]
call sub.MSVCR90.dll_free
pop ecx
push dword [esp + 0x38]
call sub.MSVCR90.dll_free
mov eax, dword [esp + 0x34]
cmp eax, edi
pop ecx
je 0x40242f
push 0x40271d
lea esi, [eax - 4]
push dword [esi]
push 0x18
push eax
call fcn.00416100
push esi
call sub.MSVCR90.dll_free
pop ecx
mov eax, 0x80004005
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28