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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1792
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
cmp byte [edi + 0x110], 0
jne 0x405906
mov eax, dword [edi + 0x24]
test eax, eax
jne 0x405303
cmp byte [edi + 0x48], al
jne 0x40526f
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x24]
push 0x50e338
push eax
call fcn.004a851a
cmp dword [edi + 0x38], 0
jne 0x40525a
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x48], vtable.CObjectVector_struct_CProp_.0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [edi + 0x1c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x50], 0x6f10701
mov dword [ebp - 0x4c], 0
call fcn.00406200
push 1
lea esi, [edi + 0x58]
push 1
mov ecx, esi
call fcn.00403020
push 0
lea ecx, [edi + 0x80]
call fcn.004030f0
push 0
lea ecx, [edi + 0x94]
call fcn.004030f0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00405930
jmp 0x405855
xor edx, edx
mov dword [ebp - 0x14], 0
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
test eax, eax
jle 0x40545d
lea esi, [edi + 0x58]
nop
cmp dword [edi + 0x38], 0
mov eax, dword [edi + 0x28]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x20]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
jne 0x405403
mov eax, dword [edi + 0x24]
dec eax
cmp ecx, eax
jge 0x40538d
mov ebx, dword [ebp - 0x14]
mov ecx, dword [edi + 0x70]
add ebx, edx
cmp dword [edi + 0x74], ecx
jne 0x405378
mov eax, 1
cmp ecx, 0x40
jl 0x405362
mov eax, ecx
shr eax, 2
jmp 0x40536d
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
lea ecx, [edi + 0x6c]
push eax
call fcn.00427d70
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x78]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*8], ebx
mov dword [ecx + eax*8 + 4], edx
inc dword [edi + 0x74]
jmp 0x4053a5
push 0
lea ecx, [edi + 0x94]
call fcn.00427e30
mov eax, dword [edi + 0xa0]
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov ebx, 1
cmp dword [ebp - 0x18], ebx
jbe 0x4053fa
lea esi, [edi + 0x94]
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x4053e3
mov eax, 1
cmp ecx, 0x40
jl 0x4053ce
mov eax, ecx
shr eax, 2
jmp 0x4053d9
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, esi
push eax
call fcn.00427d70
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x10]
add edx, ebx
inc ebx
mov dword [eax + ecx*4], edx
inc dword [esi + 8]
cmp ebx, dword [ebp - 0x18]
jb 0x4053b5
mov edx, dword [ebp - 0x1c]
lea esi, [edi + 0x58]
mov ebx, dword [ebp - 0x18]
add dword [ebp - 0x14], edx
add dword [ebp - 0x10], ebx
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x40543a
mov eax, 1
cmp ecx, 0x40
jl 0x405422
mov eax, ecx
shr eax, 2
jmp 0x40542d
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, esi
push eax
call fcn.00427d70
mov edx, dword [ebp - 0x1c]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], ebx
mov ecx, dword [ebp - 0x20]
inc dword [esi + 8]
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [edi + 0x24]
jl 0x405320
mov edx, dword [ebp - 0x10]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x40557f
mov dword [ebp - 0x20], 0
jle 0x40550a
xor ecx, ecx
lea eax, [edi + 0x58]
mov dword [ebp - 0x1c], ecx
nop dword [eax]
mov esi, dword [edi + 0x3c]
add esi, ecx
mov ecx, eax
push dword [esi]
call fcn.00403b90
add eax, dword [esi + 4]
lea ecx, [edi + 0x58]
push dword [esi + 8]
mov dword [ebp - 0x18], eax
call fcn.00403cb0
add eax, dword [esi + 0xc]
mov edx, dword [edi + 0x70]
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x74], edx
jne 0x4054d5
mov ecx, 1
cmp edx, 0x40
jl 0x4054be
mov ecx, edx
shr ecx, 2
jmp 0x4054c9
cmp edx, 8
mov eax, 8
cmovge ecx, eax
lea eax, [edx + ecx]
push eax
lea ecx, [edi + 0x6c]
call fcn.00427d70
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x78]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc eax
inc dword [edi + 0x74]
add ecx, 0x10
cmp eax, dword [edi + 0x38]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x58]
mov dword [ebp - 0x1c], ecx
jl 0x405480
mov edx, dword [ebp - 0x10]
xor esi, esi
test edx, edx
jle 0x40557f
xor ecx, ecx
cmp dword [edi + 0x74], ecx
jle 0x405534
mov eax, dword [edi + 0x78]
add eax, 4
nop dword [eax]
cmp dword [eax], esi
je 0x40552f
inc ecx
add eax, 8
cmp ecx, dword [edi + 0x74]
jl 0x405520
jmp 0x405534
cmp ecx, 0xffffffff
jne 0x40557a
mov ecx, dword [edi + 0x98]
lea ebx, [edi + 0x94]
cmp dword [ebx + 8], ecx
jne 0x40556e
mov eax, 1
cmp ecx, 0x40
jl 0x405556
mov eax, ecx
shr eax, 2
jmp 0x405561
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00427d70
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx*4], esi
inc dword [ebx + 8]
inc esi
cmp esi, edx
jl 0x405510
mov edx, dword [ebp - 0x14]
xor esi, esi
test edx, edx
jle 0x4055f1
xor eax, eax
cmp dword [edi + 0x74], eax
jle 0x4055a6
mov ecx, dword [edi + 0x78]
cmp dword [ecx], esi
je 0x4055a1
inc eax
add ecx, 8
cmp eax, dword [edi + 0x74]
jl 0x405592
jmp 0x4055a6
cmp eax, 0xffffffff
jne 0x4055ec
mov ecx, dword [edi + 0x84]
lea ebx, [edi + 0x80]
cmp dword [ebx + 8], ecx
jne 0x4055e0
mov eax, 1
cmp ecx, 0x40
jl 0x4055c8
mov eax, ecx
shr eax, 2
jmp 0x4055d3
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00427d70
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx*4], esi
inc dword [ebx + 8]
inc esi
cmp esi, edx
jl 0x405588
cmp dword [edi + 0x88], 0
jne 0x40560e
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x28]
push 0x50e338
jmp 0x405269
mov eax, dword [edi + 0x8c]
lea esi, [edi + 0x58]
mov edx, dword [eax]
nop dword [eax]
mov ebx, dword [esi + 8]
xor ecx, ecx
cmp ecx, ebx
jae 0x4055fa
mov eax, dword [esi + 0xc]
mov eax, dword [eax + ecx*8]
cmp edx, eax
jb 0x405638
sub edx, eax
inc ecx
jmp 0x405625
push ecx
mov ecx, esi
call fcn.00403cb0
xor edx, edx
mov ebx, eax
cmp dword [esi + 0x1c], edx
jle 0x40565d
mov ecx, dword [esi + 0x20]
add ecx, 4
nop
cmp dword [ecx], ebx
je 0x405682
inc edx
add ecx, 8
cmp edx, dword [esi + 0x1c]
jl 0x405650
xor ecx, ecx
cmp dword [edi + 0x9c], ecx
jle 0x4056b5
mov eax, dword [edi + 0xa0]
nop dword [eax]
cmp dword [eax], ebx
je 0x40568e
inc ecx
add eax, 4
cmp ecx, dword [edi + 0x9c]
jl 0x405670
jmp 0x4056b5
test edx, edx
js 0x40565d
mov eax, dword [edi + 0x78]
mov edx, dword [eax + edx*8]
jmp 0x405620
mov eax, dword [edi + 0x94]
push 1
push ecx
lea ecx, [edi + 0x94]
call dword [eax + 4]
push 0
lea ecx, [edi + 0x94]
call fcn.00427e30
mov eax, dword [edi + 0xa0]
mov dword [eax], ebx
cmp byte [edi + 0x48], 0
je 0x405855
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x40572f
lea ebx, [edi + 0x6c]
xor esi, esi
mov eax, dword [edi + 0xa0]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + esi*4]
mov dword [ebp - 0x28], eax
cmp dword [ebx + 8], ecx
jne 0x40570b
mov eax, 1
cmp ecx, 0x40
jl 0x4056f6
mov eax, ecx
shr eax, 2
jmp 0x405701
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00427d70
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x24]
add edx, esi
inc esi
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*8 + 4], edx
inc dword [ebx + 8]
cmp esi, dword [ebp - 0x1c]
jl 0x4056d1
lea esi, [edi + 0x58]
push dword [edi + 0x9c]
mov eax, dword [edi + 0x94]
lea ebx, [edi + 0x94]
push 0
mov ecx, ebx
call dword [eax + 4]
cmp dword [ebp - 0x1c], 0
jle 0x405855
lea eax, [edi + 0x1c]
xor edi, edi
mov dword [ebp - 0x28], eax
nop word [eax + eax]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 4
mov dword [ebp - 0x70], vtable.CObjectVector_struct_CProp_.0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x78], 0x6f10701
mov dword [ebp - 0x74], 0
call fcn.00406200
mov ecx, dword [esi + 4]
cmp dword [esi + 8], ecx
jne 0x4057df
mov eax, 1
cmp ecx, 0x40
jl 0x4057ca
mov eax, ecx
shr eax, 2
jmp 0x4057d5
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, esi
push eax
call fcn.00427d70
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [ecx + eax*8], 1
mov dword [ecx + eax*8 + 4], 1
inc dword [esi + 8]
mov ecx, dword [ebx + 4]
cmp dword [ebx + 8], ecx
jne 0x405825
mov eax, 1
cmp ecx, 0x40
jl 0x405810
mov eax, ecx
shr eax, 2
jmp 0x40581b
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00427d70
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
add edx, edi
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0x78]
inc dword [ebx + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00405930
mov eax, dword [ebp - 0x28]
inc edi
cmp edi, dword [ebp - 0x1c]
jl 0x405760
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x24]
add eax, 0xffffffff
mov dword [ebp - 0x28], eax
js 0x4058c5
lea ebx, [edi + 0xfc]
mov esi, eax
mov eax, dword [edi + 0x28]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x24], eax
cmp dword [ebx + 8], ecx
jne 0x4058a7
mov eax, 1
cmp ecx, 0x40
jl 0x405892
mov eax, ecx
shr eax, 2
jmp 0x40589d
cmp ecx, 8
mov edx, 8
cmovge eax, edx
add eax, ecx
mov ecx, ebx
push eax
call fcn.00427d70
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax*8], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + eax*8 + 4], edx
inc dword [ebx + 8]
sub esi, 1
jns 0x405868
lea esi, [edi + 0x58]
push 0xa8
call fcn.004a57cf
add esp, 4
mov dword [ebp - 0x28], eax
push esi
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00418320
lea ecx, [edi + 0xa8]
mov dword [ebp - 4], 0xffffffff
push ecx
mov ecx, eax
mov dword [edi + 0xf8], eax
call fcn.004187d0
mov byte [edi + 0x110], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret