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

Disassembly:
mov eax, 0x54bb4c
call fcn.0054565c
sub esp, 0x78
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 0x26
ja 0x540b85
mov cl, byte [esi + 0x101659b5]
dec dword [ebp + 3]
sub al, 0x44
cmc
jmp 0xf75781c2
cmp byte [edi + 0x110], 0
jne 0x540fa9
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x540c2c
cmp byte [edi + 0x48], al
jne 0x540bb7
mov dword [ebp - 0x28], 1
push 0x564c58
lea eax, [ebp - 0x28]
push eax
call fcn.0041f140
xor ebx, ebx
cmp dword [edi + 0x38], ebx
jne 0x540ba2
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x54], vtable.CObjectVector_struct_CProp_.0
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x5c], 0x6f10701
mov dword [ebp - 0x58], ebx
call fcn.0041309f
push 1
lea ecx, [edi + 0x58]
push 1
call fcn.00410cfc
push ebx
lea ecx, [edi + 0x80]
call fcn.0040f33a
lea ecx, [edi + 0x94]
push ebx
call fcn.0040f33a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040fec8
jmp 0x540f43
xor ebx, ebx
mov edx, ebx
mov esi, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], esi
test eax, eax
jle 0x540cec
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x38], ebx
jne 0x540cca
mov eax, dword [edi + 0x24]
dec eax
cmp esi, eax
jge 0x540c76
mov eax, dword [ebp - 0x18]
add eax, ecx
push edx
push eax
lea ecx, [edi + 0x6c]
call fcn.00410cfc
mov edx, dword [ebp - 0x14]
jmp 0x540c8f
lea esi, [edi + 0x94]
push ebx
mov ecx, esi
call fcn.004e5e65
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
inc ecx
cmp eax, ecx
jbe 0x540cc7
mov ebx, dword [ebp - 0x1c]
lea eax, [edi + 0x94]
mov dword [ebp - 0x30], eax
mov esi, ecx
mov edi, eax
lea eax, [esi + edx]
push eax
mov ecx, edi
call fcn.0040f33a
mov edx, dword [ebp - 0x14]
inc esi
cmp esi, ebx
jb 0x540ca9
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov ecx, dword [ebp - 0x24]
add dword [ebp - 0x18], ecx
push eax
add edx, eax
push ecx
lea ecx, [edi + 0x58]
mov dword [ebp - 0x14], edx
call fcn.00410cfc
mov edx, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, dword [edi + 0x24]
jl 0x540c43
mov eax, dword [edi + 0x38]
test eax, eax
je 0x540d88
mov dword [ebp - 0x24], ebx
jle 0x540d5e
mov eax, ebx
mov dword [ebp - 0x20], ebx
mov ecx, dword [edi + 0x3c]
add ecx, eax
mov esi, ebx
mov edx, dword [ecx]
test edx, edx
je 0x540d19
mov eax, dword [edi + 0x64]
add esi, dword [eax]
lea eax, [eax + 8]
dec edx
jne 0x540d11
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
add eax, esi
mov dword [ebp - 0x30], eax
mov esi, ebx
test edx, edx
je 0x540d38
mov eax, dword [edi + 0x64]
add eax, 4
add esi, dword [eax]
lea eax, [eax + 8]
dec edx
jne 0x540d30
mov eax, dword [ecx + 0xc]
add eax, esi
push eax
push dword [ebp - 0x30]
lea ecx, [edi + 0x6c]
call fcn.00410cfc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
inc ecx
add eax, 0x10
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
cmp ecx, dword [edi + 0x38]
jl 0x540d01
cmp dword [ebp - 0x14], 0
mov esi, ebx
jle 0x540d88
push esi
lea ecx, [edi + 0x58]
call fcn.004129fd
cmp eax, 0xffffffff
jne 0x540d80
lea ecx, [edi + 0x94]
push esi
call fcn.0040f33a
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x540d66
xor ebx, ebx
cmp dword [ebp - 0x18], 0
mov esi, ebx
jle 0x540dc2
cmp dword [edi + 0x74], 0
mov eax, ebx
jle 0x540da8
mov ecx, dword [edi + 0x78]
cmp dword [ecx], esi
je 0x540dab
inc eax
add ecx, 8
cmp eax, dword [edi + 0x74]
jl 0x540d9b
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x540dbc
push esi
lea ecx, [edi + 0x80]
call fcn.0040f33a
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x540d90
cmp dword [edi + 0x88], ebx
jne 0x540dde
mov dword [ebp - 0x30], 1
push 0x564c58
lea eax, [ebp - 0x30]
jmp 0x540bb1
mov eax, dword [edi + 0x8c]
lea ecx, [edi + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x30]
push edx
push eax
call fcn.00417669
mov ecx, dword [ebp - 0x30]
mov esi, ebx
mov dword [ebp - 0x24], ebx
test ecx, ecx
je 0x540e17
mov eax, dword [edi + 0x64]
add eax, 4
add esi, dword [eax]
lea eax, [eax + 8]
dec ecx
jne 0x540e0c
mov dword [ebp - 0x24], esi
push esi
lea ecx, [edi + 0x58]
call fcn.004129fd
test eax, eax
js 0x540e2f
mov ecx, dword [edi + 0x78]
mov eax, dword [ecx + eax*8]
lea ecx, [edi + 0x58]
jmp 0x540dec
mov edx, dword [edi + 0x9c]
mov ecx, ebx
test edx, edx
jle 0x540e6f
mov eax, dword [edi + 0xa0]
cmp dword [eax], esi
je 0x540e4f
inc ecx
add eax, 4
cmp ecx, edx
jl 0x540e41
jmp 0x540e6f
lea esi, [edi + 0x94]
push 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
push ebx
mov ecx, esi
call fcn.004e5e65
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
cmp byte [edi + 0x48], 0
je 0x540f43
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x20], eax
mov esi, ebx
test eax, eax
jle 0x540ead
lea edx, [edi + 0x6c]
mov ebx, eax
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebp - 0x18]
push dword [eax + esi*4]
add ecx, esi
push ecx
mov ecx, edx
call fcn.00410cfc
inc esi
lea edx, [edi + 0x6c]
cmp esi, ebx
jl 0x540e8d
xor ebx, ebx
lea esi, [edi + 0x94]
mov ecx, esi
push dword [esi + 8]
mov eax, dword [esi]
push ebx
call dword [eax + 4]
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ebx
jle 0x540f43
lea ecx, [edi + 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x7c], vtable.CObjectVector_struct_CProp_.0
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0x6f10701
mov dword [ebp - 0x80], ebx
call fcn.0041309f
mov ecx, dword [ebp - 0x2c]
push 1
push 1
call fcn.00410cfc
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040f33a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.0040fec8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, edi
jl 0x540ed0
mov edi, dword [ebp - 0x28]
mov esi, dword [edi + 0x24]
dec esi
js 0x540f64
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0xfc]
mov eax, dword [eax + esi*4]
push dword [eax + 4]
push dword [eax]
call fcn.00410cfc
dec esi
jns 0x540f49
xor ebx, ebx
push 0xa8
call fcn.0041beb3
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x540f8a
lea ecx, [edi + 0x58]
push ecx
mov ecx, eax
call fcn.005434a1
mov ebx, eax
or dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xa8]
push eax
mov ecx, ebx
mov dword [edi + 0xf8], ebx
call fcn.005433c1
mov byte [edi + 0x110], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret