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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54b3bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x4e
ja 0x52d1e5
pop ecx
mov dh, bh
movsd dword es:[edi], dword [esi]
in al, dx
invalid
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.004fb089
test al, al
jne 0x52d1fd
mov eax, 0x80004001
jmp 0x52d9d9
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 4
mov dword [esp + 0x60], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x11c], ebx
lea ecx, [esp + 0x90]
mov dword [esp + 0x8c], ebx
call fcn.0050db1e
push dword [ebp + 8]
lea ecx, [esp + 0x90]
mov byte [esp + 0x120], 1
call fcn.0040ddf6
cmp dword [esi + 0x30], ebx
jle 0x52d350
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
push 0x18
call fcn.0041beb3
mov esi, eax
pop ecx
test esi, esi
je 0x52d279
and dword [esi + 4], 0
mov dword [esi], vtable.CLockedSequentialInStreamImp.0
jmp 0x52d27b
xor esi, esi
mov dword [esp + 0x30], esi
test esi, esi
je 0x52d289
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x14]
mov byte [esp + 0x11c], 2
lea eax, [esp + 0x8c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
add eax, dword [ecx + ebx*8]
push 0x28
adc edi, dword [ecx + ebx*8 + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
call fcn.0041beb3
mov edi, eax
pop ecx
test edi, edi
je 0x52d2d5
and dword [edi + 4], 0
mov dword [edi], vtable.CLimitedSequentialInStream.0
and dword [edi + 8], 0
jmp 0x52d2d7
xor edi, edi
mov dword [esp + 0x14], edi
test edi, edi
je 0x52d2e5
mov eax, dword [edi]
push edi
call dword [eax + 4]
push esi
lea ecx, [edi + 8]
mov byte [esp + 0x120], 3
call fcn.0040ddf6
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + ebx*8]
mov ecx, dword [ecx + ebx*8 + 4]
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov byte [edi + 0x20], al
lea eax, [esp + 0x14]
mov dword [edi + 0x14], ecx
push eax
lea ecx, [esp + 0x64]
call fcn.004165c1
mov byte [esp + 0x11c], 2
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x11c], 1
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp + 0x18]
mov edi, dword [esp + 0x24]
inc ebx
cmp ebx, dword [eax + 0x30]
jl 0x52d25f
mov edi, dword [esp + 0x28]
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0xa8]
mov eax, dword [ebx + 8]
mov dword [esp + 0x2c], eax
call fcn.0041642a
xor eax, eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], 8
mov dword [esp + 0xf8], vtable.CRecordVector_unsigned_long_long_unsigned___int64__.0
lea edx, [esp + 0xa8]
mov ecx, ebx
mov byte [esp + 0x11c], 4
call fcn.0052cc9d
cmp byte [edi], 0
je 0x52d3c9
lea edx, [edi + 4]
lea ecx, [esp + 0xa8]
call fcn.0052c76c
neg al
sbb al, al
inc al
je 0x52d5c5
lea ecx, [edi + 0x78]
mov dword [esp + 0x24], ecx
push dword [ecx + 8]
mov eax, dword [ecx]
push 0
call dword [eax + 4]
lea esi, [edi + 0x74]
mov ecx, dword [esi]
test ecx, ecx
je 0x52d3ec
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi], 0
cmp byte [edi + 0x68], 0
je 0x52d428
push 0x88
call fcn.0041beb3
pop ecx
test eax, eax
je 0x52d40a
mov ecx, eax
call fcn.0041649a
jmp 0x52d40c
xor eax, eax
push eax
mov ecx, esi
mov dword [edi + 0x6c], eax
call fcn.0040ddf6
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x52d423
add eax, 4
jmp 0x52d425
xor eax, eax
mov dword [edi + 0x70], eax
mov ecx, dword [edi + 0x70]
lea edx, [esp + 0xa8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov ebx, eax
test ebx, ebx
jne 0x52d98b
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x2c], ecx
jle 0x52d591
mov eax, dword [ebp + 0x18]
and dword [esp + 0x20], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
and dword [esp + 0x18], 0
mov byte [esp + 0x11c], 6
push 0
push dword [eax + 4]
lea edx, [esp + 0x20]
push dword [eax]
lea ecx, [esp + 0x2c]
call int.004b32bd
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x52d6c2
and dword [esp + 0x1c], 0
mov byte [esp + 0x11c], 7
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x14], 1
jne 0x52d4df
cmp dword [eax + 0x18], 1
jne 0x52d4df
test esi, esi
je 0x52d6bd
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x28]
mov ebx, esi
cmp byte [eax + 0x68], 0
mov dword [esp + 0x1c], ebx
je 0x52d506
mov ecx, dword [eax + 0x6c]
push esi
call fcn.0053ed44
jmp 0x52d506
test edi, edi
je 0x52d6bd
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esp + 0x28]
mov ebx, edi
cmp byte [eax + 0x68], 0
mov dword [esp + 0x1c], ebx
je 0x52d506
mov ecx, dword [eax + 0x6c]
push edi
call fcn.0053ed1c
push 4
call fcn.0041beb3
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x11c], 8
test eax, eax
je 0x52d530
mov dword [eax], ebx
test ebx, ebx
je 0x52d532
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
mov eax, dword [esp + 0x14]
jmp 0x52d532
xor eax, eax
mov ecx, dword [esp + 0x24]
push eax
mov byte [esp + 0x120], 7
call fcn.0040f33a
mov byte [esp + 0x11c], 6
test ebx, ebx
je 0x52d556
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [esp + 0x11c], 5
test edi, edi
je 0x52d568
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x11c], 4
test esi, esi
je 0x52d57a
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x2c]
jl 0x52d451
mov edi, dword [esp + 0x28]
lea eax, [esp + 0xa8]
push eax
lea ecx, [edi + 4]
call fcn.004164f3
push dword [edi + 0x5c]
mov eax, dword [edi + 0x54]
push 0
lea ecx, [edi + 0x54]
call dword [eax + 4]
lea eax, [esp + 0xf8]
push eax
lea ecx, [edi + 0x54]
call fcn.00411c6a
mov ebx, dword [ebp + 0x18]
mov byte [edi], 1
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
and dword [esp + 0x20], 0
and dword [esp + 0x24], 0
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x2c], esi
jle 0x52d8af
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov eax, dword [ebx + 0xc]
and dword [esp + 0x10], 0
mov esi, dword [eax + esi*4]
mov eax, dword [edi + 0x84]
mov ebx, dword [ecx + eax]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x11c], 9
mov eax, dword [ebx]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push edx
push 0x559a2c
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x52d64e
cmp dword [esi + 0xc], 0xffffffff
ja 0x52d848
push dword [esi + 0xc]
mov ecx, dword [eax]
push dword [esi + 0x10]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0x52d84d
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x11c], 4
test eax, eax
je 0x52d660
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0x24], 0
je 0x52d6ef
and dword [esp + 0x1c], 0
mov byte [esp + 0x11c], 0xa
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
mov ecx, dword [eax]
push edx
push 0x5599bc
push eax
call dword [ecx]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x52d6a7
push dword [ebp + 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x52d857
mov eax, dword [esp + 0x1c]
push 4
pop ebx
mov byte [esp + 0x11c], bl
test eax, eax
je 0x52d6f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x52d6f2
mov ebx, 0x80004001
mov byte [esp + 0x11c], 5
test edi, edi
je 0x52d6d4
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov byte [esp + 0x11c], 4
test esi, esi
je 0x52d98b
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x52d98b
push 4
pop ebx
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add dword [esp + 0x18], ebx
xor ecx, ecx
mov edx, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], edx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x120], 0xc
call fcn.004e62e1
push esi
lea ecx, [esp + 0x50]
call fcn.004e62e1
mov ebx, dword [ebp + 0x18]
test esi, esi
je 0x52d772
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x4c]
lea eax, [eax + edi*8]
push eax
call fcn.0040f33a
inc edi
dec esi
jne 0x52d756
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x28]
xor esi, esi
cmp dword [esp + 0x10], esi
jbe 0x52d7ed
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
jle 0x52d795
mov eax, dword [ebx + 0x20]
cmp dword [eax], edx
je 0x52d798
inc ecx
add eax, 8
cmp ecx, dword [ebx + 0x1c]
jl 0x52d788
or ecx, 0xffffffff
test ecx, ecx
js 0x52d7ab
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + ecx*8 + 4]
mov eax, dword [ebx + 0x48]
lea eax, [eax + ecx*8]
jmp 0x52d7d3
xor eax, eax
cmp dword [ebx + 0x30], eax
jle 0x52d7c2
mov ecx, dword [ebx + 0x34]
cmp dword [ecx], edx
je 0x52d7c5
inc eax
add ecx, 4
cmp eax, dword [ebx + 0x30]
jl 0x52d7b5
or eax, 0xffffffff
test eax, eax
js 0x52d876
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax*8]
push eax
lea ecx, [esp + 0x3c]
call fcn.0040f33a
mov edx, dword [esp + 0x20]
inc esi
inc edx
mov dword [esp + 0x20], edx
cmp esi, dword [esp + 0x10]
jb 0x52d77e
push dword [esp + 0x58]
mov ecx, dword [edi + 0x70]
push dword [esp + 0x48]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
mov byte [esp + 0x11c], 0xb
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.CBaseRecordVector.0
call fcn.004e5c24
mov byte [esp + 0x11c], 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.CBaseRecordVector.0
call fcn.004e5c24
inc esi
mov dword [esp + 0x14], esi
cmp esi, dword [esp + 0x2c]
jge 0x52d8af
mov ecx, dword [esp + 0x18]
jmp 0x52d5ed
mov ebx, 0x80004001
mov byte [esp + 0x11c], 4
jmp 0x52d863
mov byte [esp + 0x11c], 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x52d98b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x52d98b
mov byte [esp + 0x11c], 0xb
mov ebx, vtable.CBaseRecordVector.0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], ebx
call fcn.004e5c24
mov byte [esp + 0x11c], 4
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
call fcn.004e5c24
mov ebx, 0x80004005
jmp 0x52d98b
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0xf8]
lea ecx, [esp + 0xb0]
push dword [eax]
call fcn.00416363
cmp byte [edi + 0x68], 0
je 0x52d8de
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x70], eax
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
je 0x52d98b
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 4
mov dword [esp + 0x74], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x11c], 0xd
push dword [esp + 0x68]
lea ecx, [esp + 0x78]
call fcn.004e62e1
mov edx, dword [esp + 0x68]
mov esi, ebx
test edx, edx
jle 0x52d946
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x74]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.0040f33a
mov edx, dword [esp + 0x68]
inc esi
cmp esi, edx
jl 0x52d92b
push dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push 1
push ebx
lea esi, [esp + 0x94]
push esi
push edx
mov dword [esp + 0x9c], eax
mov eax, dword [edi + 0x74]
push ebx
push dword [esp + 0x98]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov byte [esp + 0x11c], 4
lea ecx, [esp + 0x74]
mov ebx, eax
mov dword [esp + 0x74], vtable.CBaseRecordVector.0
call fcn.004e5c24
lea ecx, [esp + 0xa8]
mov byte [esp + 0x11c], 1
call fcn.00412a77
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x120], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x52d9c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
or dword [esp + 0x11c], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.0041657d
mov eax, ebx
mov ecx, dword [esp + 0x114]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24