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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x428b53
mov eax, dword fs:[0]
push eax
sub esp, 0x100
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov ebx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.0040b6b0
test al, al
jne 0x407af3
mov eax, 0x80004001
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 4
mov dword [esp + 0x48], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x118], 0
mov dword [esp + 0x88], 0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x118], 1
call fcn.00402e60
mov esi, dword [ebp + 8]
mov byte [esp + 0x118], 2
test esi, esi
je 0x407b5a
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x407b6b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x88], esi
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [ebx + 0x30], esi
jle 0x407cf1
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
nop
push 0x18
call fcn.00403e50
mov edi, eax
add esp, 4
test edi, edi
je 0x407baf
mov dword [edi + 4], 0
mov dword [edi], vtable.CLockedSequentialInStreamImp.0
jmp 0x407bb1
xor edi, edi
mov dword [esp + 0x18], edi
test edi, edi
je 0x407bbf
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x88]
mov byte [esp + 0x118], 3
mov ecx, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
add ecx, dword [edx + esi*8]
push 0x28
adc eax, dword [edx + esi*8 + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
call fcn.00403e50
mov esi, eax
add esp, 4
test esi, esi
je 0x407c17
mov dword [esi + 4], 0
mov dword [esi], vtable.CLimitedSequentialInStream.0
mov dword [esi + 8], 0
jmp 0x407c19
xor esi, esi
mov dword [esp + 0x20], esi
test esi, esi
je 0x407c27
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [esp + 0x118], 4
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x407c42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], edi
push 4
mov eax, dword [edx + ecx*8]
mov ecx, dword [edx + ecx*8 + 4]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 0x20], 0
call fcn.00403e50
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x118], 5
test eax, eax
je 0x407c93
mov dword [eax], esi
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
jmp 0x407c9b
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x118], 4
call fcn.00403cc0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
push esi
mov dword [eax + ecx*4], edx
inc dword [esp + 0x54]
mov byte [esp + 0x11c], 3
mov eax, dword [esi]
call dword [eax + 8]
mov byte [esp + 0x118], 2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov esi, dword [esp + 0x14]
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [ebx + 0x30]
jl 0x407b90
mov edi, dword [esp + 0x1c]
mov eax, dword [ebx + 8]
lea ecx, [esp + 0xa4]
mov dword [esp + 0x2c], eax
call fcn.00407a00
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 8
mov dword [esp + 0xf4], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
lea edx, [esp + 0xa4]
mov byte [esp + 0x118], 6
mov ecx, ebx
call fcn.004076a0
cmp byte [edi], 0
je 0x407d72
lea edx, [edi + 4]
lea ecx, [esp + 0xa4]
call fcn.00407840
test al, al
sete al
test al, al
je 0x408079
lea ecx, [edi + 0x78]
call fcn.00403c90
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x407d8e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x74], 0
cmp byte [edi + 0x68], 0
je 0x407de0
push 0x88
call fcn.00403e50
add esp, 4
test eax, eax
je 0x407db0
mov ecx, eax
call fcn.00408570
mov esi, eax
jmp 0x407db2
xor esi, esi
mov dword [edi + 0x6c], esi
test esi, esi
je 0x407dbf
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x74]
test ecx, ecx
je 0x407dcc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x74], esi
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x407ddb
add eax, 4
jmp 0x407ddd
xor eax, eax
mov dword [edi + 0x70], eax
mov ecx, dword [edi + 0x70]
lea edx, [esp + 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x408479
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x2c], ecx
jle 0x407f80
lea esp, [esp]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], 0
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 0
push ecx
mov byte [esp + 0x11c], 8
lea edx, [esp + 0x2c]
push dword [eax + 4]
lea ecx, [esp + 0x2c]
push dword [eax]
call fcn.0040fba0
mov ebx, dword [esp + 0x28]
mov esi, eax
mov edi, dword [esp + 0x24]
test esi, esi
jne 0x408252
mov dword [esp + 0x14], 0
mov byte [esp + 0x118], 9
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x14], 1
jne 0x407ea0
cmp dword [eax + 0x18], 1
jne 0x407ea0
test edi, edi
je 0x40824d
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov esi, edi
mov dword [esp + 0x14], esi
cmp byte [eax + 0x68], 0
je 0x407ec7
mov ecx, dword [eax + 0x6c]
push edi
call fcn.0040f060
jmp 0x407ec7
test ebx, ebx
je 0x40824d
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov esi, ebx
mov dword [esp + 0x14], esi
cmp byte [eax + 0x68], 0
je 0x407ec7
mov ecx, dword [eax + 0x6c]
push ebx
call fcn.0040f0a0
push 4
call fcn.00403e50
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
mov byte [esp + 0x118], 0xa
test eax, eax
je 0x407ef3
mov dword [eax], esi
test esi, esi
je 0x407efb
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x407efb
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x118], 9
lea ecx, [ecx + 0x78]
call fcn.00403cc0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov ecx, dword [eax + 0x80]
mov eax, dword [eax + 0x84]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x1c]
inc dword [ecx + 0x80]
mov byte [esp + 0x118], 8
test esi, esi
je 0x407f42
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [esp + 0x118], 7
test ebx, ebx
je 0x407f54
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [esp + 0x118], 6
test edi, edi
je 0x407f66
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ebp + 0x18]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x407e10
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 4]
call fcn.00403c90
lea eax, [esp + 0xa4]
push eax
lea ecx, [edi + 4]
call fcn.00408d60
lea ecx, [edi + 0x18]
call fcn.00403c90
lea eax, [esp + 0xb8]
push eax
lea ecx, [edi + 0x18]
call fcn.00408d60
add edi, 0x2c
mov ecx, edi
call fcn.00403c90
mov esi, dword [esp + 0xd4]
mov ecx, edi
mov eax, dword [edi + 8]
add eax, esi
mov dword [esp + 0x18], esi
push eax
call fcn.00403d00
test esi, esi
jle 0x408007
xor ebx, ebx
jmp 0x407fe0
mov eax, dword [esp + 0xd8]
mov ecx, edi
mov esi, dword [eax + ebx*4]
call fcn.00403cc0
mov ecx, dword [edi + 8]
inc ebx
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
cmp ebx, dword [esp + 0x18]
jl 0x407fe0
mov ebx, dword [ebp + 0x18]
mov edi, dword [esp + 0x1c]
add edi, 0x40
mov ecx, edi
call fcn.00403c90
mov esi, dword [esp + 0xe8]
mov ecx, edi
mov eax, dword [edi + 8]
add eax, esi
mov dword [esp + 0x18], esi
push eax
call fcn.00403d00
test esi, esi
jle 0x40805a
xor ebx, ebx
mov eax, dword [esp + 0xec]
mov ecx, edi
mov esi, dword [eax + ebx*4]
call fcn.00403cc0
mov ecx, dword [edi + 8]
inc ebx
mov eax, dword [edi + 0xc]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
cmp ebx, dword [esp + 0x18]
jl 0x408033
mov ebx, dword [ebp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 0x54]
call fcn.00403c90
lea eax, [esp + 0xf4]
push eax
lea ecx, [edi + 0x54]
call fcn.00408d60
mov byte [edi], 1
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
xor esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], esi
cmp dword [esp + 0x2c], esi
jle 0x408357
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], 0
mov esi, dword [eax + esi*4]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0x84]
mov eax, dword [ecx + eax]
mov byte [esp + 0x118], 0xb
lea edx, [esp + 0x14]
mov eax, dword [eax]
push edx
push 0x430dec
push eax
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40810d
mov edx, dword [esi + 0xc]
cmp edx, 0xffffffff
ja 0x408337
test edx, edx
je 0x40810d
mov ecx, dword [eax]
push edx
push dword [esi + 0x10]
push eax
call dword [ecx + 0xc]
mov esi, eax
mov eax, dword [esp + 0x14]
test esi, esi
jne 0x40833c
mov esi, dword [esp + 0x20]
mov byte [esp + 0x118], 6
test eax, eax
je 0x40811f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add dword [esp + 0x28], 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 4
mov dword [esp + 0x34], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 4
mov dword [esp + 0x5c], vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x11c], 0xd
call fcn.00403d00
push esi
lea ecx, [esp + 0x60]
call fcn.00403d00
test esi, esi
je 0x4081d1
mov edi, esi
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x24]
lea esi, [eax + ecx*8]
lea ecx, [esp + 0x5c]
call fcn.00403cc0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
inc dword [esp + 0x24]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x64]
dec edi
jne 0x4081a4
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x14], 0
mov dword [esp + 0x20], 0
jbe 0x4082e8
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jle 0x408201
mov eax, dword [ebx + 0x20]
mov edi, edi
cmp dword [eax], edi
je 0x40827f
inc ecx
add eax, 8
cmp ecx, dword [ebx + 0x1c]
jl 0x4081f0
xor esi, esi
cmp dword [ebx + 0x30], esi
jle 0x408221
mov eax, dword [ebx + 0x34]
jmp 0x408210
cmp dword [eax], edi
je 0x4082aa
inc esi
add eax, 4
cmp esi, dword [ebx + 0x30]
jl 0x408210
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 0xc
call fcn.00403c50
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00403c50
mov esi, 0x80004005
jmp 0x408479
mov esi, 0x80004001
mov byte [esp + 0x118], 7
test ebx, ebx
je 0x408264
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [esp + 0x118], 6
test edi, edi
je 0x408479
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x408479
test ecx, ecx
js 0x408201
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, dword [ebx + 0x48]
lea esi, [eax + ecx*8]
lea ecx, [esp + 0x34]
call fcn.00403cc0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [eax + ecx*4], esi
jmp 0x4082cc
test esi, esi
js 0x408221
lea ecx, [esp + 0x34]
call fcn.00403cc0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x3c]
lea edx, [eax + esi*8]
mov eax, dword [esp + 0x40]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x20]
inc edi
inc dword [esp + 0x3c]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
cmp eax, dword [esp + 0x14]
jb 0x4081e4
mov eax, dword [esp + 0x1c]
push dword [esp + 0x68]
mov esi, dword [esp + 0x1c]
push dword [esp + 0x44]
mov ecx, dword [eax + 0x70]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x118], 0xc
call fcn.00403c50
lea ecx, [esp + 0x34]
mov byte [esp + 0x118], 6
call fcn.00403c50
inc esi
mov dword [esp + 0x18], esi
cmp esi, dword [esp + 0x2c]
jge 0x408357
mov ecx, dword [esp + 0x28]
jmp 0x4080a1
mov esi, 0x80004001
mov byte [esp + 0x118], 6
test eax, eax
je 0x408479
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x408479
mov eax, dword [esp + 0xec]
xor ecx, ecx
mov edi, dword [esp + 0xac]
mov edx, dword [eax]
test edi, edi
je 0x408387
mov eax, dword [esp + 0xb0]
add eax, 4
mov esi, dword [eax]
cmp edx, esi
jb 0x40839e
inc ecx
sub edx, esi
add eax, 8
cmp ecx, edi
jb 0x408377
push 0x435f48
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 1
push eax
call fcn.00426ede
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x68], 0
je 0x4083ae
mov eax, dword [ebx + 0x6c]
mov dword [eax + 0x70], ecx
cmp dword [esp + 0x2c], 0
jne 0x4083bc
xor esi, esi
jmp 0x408479
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 4
mov dword [esp + 0x70], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x118], 0xe
lea ecx, [esp + 0x70]
push dword [esp + 0x50]
call fcn.00403d00
mov edx, dword [esp + 0x50]
xor edi, edi
test edx, edx
jle 0x40843a
jmp 0x408410
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x70]
mov eax, dword [eax + edi*4]
mov esi, dword [eax]
call fcn.00403cc0
mov ecx, dword [esp + 0x78]
inc edi
mov eax, dword [esp + 0x7c]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x78]
mov edx, dword [esp + 0x50]
cmp edi, edx
jl 0x408410
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
lea esi, [esp + 0x88]
push 1
push 0
push esi
mov dword [esp + 0x94], eax
mov eax, dword [ebx + 0x74]
push edx
push 0
push dword [esp + 0x94]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x70]
mov byte [esp + 0x118], 6
mov esi, eax
call fcn.00403c50
lea ecx, [esp + 0xf4]
mov byte [esp + 0x118], 0xf
call fcn.00403c50
lea ecx, [esp + 0xe0]
mov byte [esp + 0x118], 0x12
call fcn.00403c50
lea ecx, [esp + 0xcc]
mov byte [esp + 0x118], 0x11
call fcn.00403c50
lea ecx, [esp + 0xb8]
mov byte [esp + 0x118], 0x10
call fcn.00403c50
lea ecx, [esp + 0xa4]
mov byte [esp + 0x118], 2
call fcn.00403c50
lea eax, [esp + 0x8c]
mov byte [esp + 0x118], 0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x408504
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x48], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
lea ecx, [esp + 0x48]
mov dword [esp + 0x118], 0x13
call fcn.00403c90
lea ecx, [esp + 0x48]
mov dword [esp + 0x118], 0xffffffff
call fcn.00403c50
mov eax, esi
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c