Function at 0x40d79f
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x7c0650]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 8]
xor esi, esi
cmp dword [0x82bad0], esi
push edi
mov dword [esp + 0x10], eax
jne 0x40d7d9
lea ecx, [esp + 0x10]
mov dword [0x82bad0], ecx
cmp dword [ebx + 0x30], esi
jne 0x40d800
cmp eax, esi
je 0x40d800
mov ecx, dword [eax + 0x28]
mov dword [ebx + 0x2c], ecx
mov dword [eax + 0x28], ebx
mov eax, dword [ebx + 8]
or dword [ebx + 0x30], 0xffffffff
cmp dword [eax + 0x30], 1
jne 0x40d9e7
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0x30], 1
je 0x40d9e7
mov ecx, dword [0x82baf4]
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebx + 0x20]
cmp ecx, esi
mov dword [0x82baf4], ebx
je 0x40d83d
cmp dword [ecx], esi
je 0x40d83d
add ecx, 0x18
jne 0x40d820
jmp 0x40d83d
mov edx, dword [eax + 0x20]
cmp edx, esi
je 0x40d836
cmp dword [edx], esi
jne 0x40d841
mov eax, dword [eax + 8]
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x40d82b
cmp ecx, esi
je 0x40d848
mov dword [ecx + 0x10], eax
push ebx
lea edi, [esp + 0x2c]
call fcn.00410040
mov ecx, eax
call fcn.0040d3b6
mov dword [ebx + 0x38], eax
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0x3c], ecx
cmp dword [0x7c35c8], esi
je 0x40d871
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
cmp ebx, 0x7c3590
jne 0x40d8a0
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x34]
jmp 0x40d898
cmp dword [eax + 0x38], esi
je 0x40d895
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x34]
cmp eax, esi
mov dword [esp + 0x10], eax
jne 0x40d882
cmp ebx, 0x7c4568
mov dword [ebx + 0x30], 1
jne 0x40d8b4
call fcn.0040e1d8
mov edi, dword [ebx + 0x28]
jmp 0x40d8c3
mov ecx, edi
call fcn.0040d79f
mov edi, dword [edi + 0x2c]
cmp edi, esi
jne 0x40d8b9
mov eax, dword [ebx + 0x20]
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x40d9e7
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
cmp dword [eax], esi
jne 0x40d9fc
mov eax, dword [eax + 0x10]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x40d8fc
mov eax, dword [eax + 0x20]
cmp eax, esi
jne 0x40d8e2
test dword [esp + 0x14], 0x80000000
je 0x40d92b
push str.Stupidly_large_type
call fcn.00413a10
pop ecx
push dword [ebx]
call fcn.00413a10
mov dword [esp], str.__refactor_it._r_n
call fcn.00413a10
pop ecx
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov ecx, dword [ebx + 0xc]
xor eax, eax
sub ecx, 4
shr ecx, 2
inc eax
shl eax, cl
dec eax
cmp dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
je 0x40d9cc
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.Missing_property_in_type
call edi
push dword [ebx]
call edi
push 0x717320
call edi
lea esi, [esp + 0x58]
call fcn.00415232
push dword [esp + 0x24]
lea esi, [esp + 0x64]
push str._want
push dword [esp + 0x1c]
push str.Have
call fcn.004135b9
mov ecx, eax
call fcn.0041376e
mov esi, eax
call fcn.004135b9
mov ecx, eax
call fcn.0041376e
push eax
call fcn.0040d78c
pop ecx
push dword [esp + 0x80]
mov byte [esp + 0xac], 0
call edi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
lea ecx, [esp + 0x64]
call fcn.00414fc4
lea ecx, [esp + 0xac]
call fcn.00411bef
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x40], eax
not eax
and ecx, eax
mov eax, ecx
or eax, dword [esp + 0x20]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x44], eax
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00644f58
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x10]
test esi, esi
je 0x40d8fc
mov ecx, dword [esi + 0xc]
xor edi, edi
inc edi
test byte [eax + 0xe], 1
jne 0x40da21
cmp ecx, 4
jbe 0x40da21
lea edi, [edi + edi + 1]
sub ecx, 4
jmp 0x40da13
movzx ecx, word [eax + 0xc]
test cx, cx
jbe 0x40da2d
shl edi, cl
dec edi
mov ecx, dword [eax + 8]
sub ecx, 4
shr ecx, 2
shl edi, cl
movzx ecx, word [eax + 0xe]
or dword [esp + 0x14], edi
mov dl, cl
and dl, 3
cmp dl, 3
jne 0x40da4e
or dword [esp + 0x1c], edi
shr cl, 3
test cl, 1
je 0x40da5a
or dword [esp + 0x18], edi
mov cl, byte [esi + 0x14]
shr cl, 5
test cl, 1
je 0x40da69
or dword [esp + 0x20], edi
add eax, 0x18
xor esi, esi
jmp 0x40d8e2