Function at 0x408510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d23c
mov eax, dword fs:[0]
push eax
sub esp, 0x584
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x598]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5a8]
mov ebx, ecx
mov dword [esp + 0x30], eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x5ac]
lea edi, [ebx + 0xc]
push edi
mov dword [esp + 0x30], ebx
mov dword [ebx], vtable.IBaseView.0
mov dword [ebx + 8], eax
call fcn.00433790
or eax, 0xffffffff
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
xor esi, esi
mov dword [esp + 0x5a0], esi
mov dword [ebx], vtable.CFinishedView.0
xor ecx, ecx
mov dword [ebx + 0x44], 7
mov dword [ebx + 0x40], esi
mov word [ebx + 0x30], cx
push 0x6c
mov byte [esp + 0x5a4], 1
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 2
cmp eax, esi
je 0x4085d5
push 5
push eax
lea ecx, [esi + 1]
call fcn.00414c00
mov ebp, eax
mov dword [esp + 0x20], eax
jmp 0x4085db
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x5a0], 1
mov eax, 0x18
mov ecx, 0x14
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x30], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], ebp
cmp eax, esi
jne 0x408608
xor ecx, ecx
jmp 0x408610
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408628
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408646
cmp eax, esi
jbe 0x408631
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
call fcn.00403a60
lea edx, [esp + 0x484]
push edx
call fcn.004025e0
mov byte [esp + 0x5a0], 3
push 0x160
mov dword [esp + 0x48c], 0xffffffff
mov dword [esp + 0x490], 1
mov dword [esp + 0x498], 0xffc0c0c0
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 4
test eax, eax
je 0x4086ae
push 0
push eax
lea edx, [esp + 0x48c]
xor ecx, ecx
call fcn.00411830
mov esi, eax
jmp 0x4086b0
xor esi, esi
mov byte [esp + 0x5a0], 3
mov ebx, dword [ebx + 8]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0x477e60
push ebx
call ecx
cmp dword [esi + 0x148], eax
je 0x4086da
mov dword [esi + 0x148], eax
call fcn.00411f00
cmp dword [ebp + 0x38], esi
je 0x4086e2
mov dword [ebp + 0x38], esi
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], esi
test ecx, ecx
jne 0x4086f1
xor eax, eax
jmp 0x4086f9
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x408711
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x40872f
cmp ecx, ebx
jbe 0x40871a
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, edi
call fcn.00403a60
push 0x6c
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 5
test eax, eax
je 0x40875e
push 5
push eax
mov ecx, 2
call fcn.00414c00
mov esi, eax
mov dword [esp + 0x1c], eax
jmp 0x408764
xor esi, esi
mov dword [esp + 0x1c], esi
push 4
push esi
mov ebx, ebp
mov byte [esp + 0x5a8], 3
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408785
xor ecx, ecx
jmp 0x40878d
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x4087a9
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4087c7
cmp eax, esi
jbe 0x4087b2
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x408803
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov ebp, eax
jmp 0x408805
xor ebp, ebp
mov ebx, dword [esp + 0x1c]
push 0x1b
push ebp
call fcn.00414d20
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ebp
test ecx, ecx
jne 0x408820
xor eax, eax
jmp 0x408828
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x408840
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x40885e
cmp ecx, esi
jbe 0x408849
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
lea edx, [esp + 0x154]
push edx
call fcn.004025e0
mov eax, 0xffffff
mov bl, 6
mov byte [esp + 0x5a0], bl
push 0x1a0
mov dword [esp + 0x168], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1e4], eax
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 7
test eax, eax
je 0x4088dc
lea ecx, [esp + 0x154]
push ecx
push 0x477e5c
push eax
mov ecx, 1
call fcn.00412010
mov esi, eax
jmp 0x4088de
xor esi, esi
mov byte [esp + 0x5a0], bl
fld1
mov ebx, dword [esp + 0x2c]
fstp qword [esi + 0x140]
mov eax, dword [ebx + 8]
mov edx, dword [eax]
push 0x477e78
push eax
mov eax, dword [edx]
call eax
cmp dword [esi + 0x160], eax
je 0x408913
mov dword [esi + 0x160], eax
call fcn.00412610
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x477eb0
push eax
call edx
cmp dword [esi + 0x164], eax
je 0x408935
mov dword [esi + 0x164], eax
call fcn.00412610
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x477eb0
push eax
call edx
cmp dword [esi + 0x168], eax
je 0x408957
mov dword [esi + 0x168], eax
call fcn.00412610
mov ebx, dword [esp + 0x1c]
push 1
push esi
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408972
xor ecx, ecx
jmp 0x40897a
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408992
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x4089b0
cmp eax, ebx
jbe 0x40899b
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x4089ec
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov esi, eax
jmp 0x4089ee
xor esi, esi
mov ebx, dword [esp + 0x20]
push 3
push esi
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408a09
xor ecx, ecx
jmp 0x408a11
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408a29
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x408a47
cmp eax, ebx
jbe 0x408a32
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x6c
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 8
test eax, eax
je 0x408a76
push 5
push eax
mov ecx, 1
call fcn.00414c00
mov ebp, eax
mov dword [esp + 0x1c], eax
jmp 0x408a7c
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov ebx, dword [esp + 0x20]
push 0x2a
push ebp
mov byte [esp + 0x5a8], 6
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], ebp
test eax, eax
jne 0x408a9f
xor ecx, ecx
jmp 0x408aa7
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408abf
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408add
cmp eax, esi
jbe 0x408ac8
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x160
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 9
test eax, eax
je 0x408b0b
push 1
xor edx, edx
push eax
lea ecx, [edx + 3]
call fcn.00411830
mov esi, eax
jmp 0x408b0d
xor esi, esi
mov byte [esp + 0x5a0], 6
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
push 0x477ee8
push eax
call edx
cmp dword [esi + 0x148], eax
je 0x408b3b
mov dword [esi + 0x148], eax
call fcn.00411f00
push 0xf
push esi
mov ebx, ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408b54
xor ecx, ecx
jmp 0x408b5c
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408b74
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x408b92
cmp eax, ebx
jbe 0x408b7d
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
lea edx, [esp + 0x374]
push edx
call fcn.004025e0
mov byte [esp + 0x5a0], 0xa
push 0x180
mov dword [esp + 0x378], 0xff1a1a1a
mov dword [esp + 0x3b0], 1
mov dword [esp + 0x38c], 0x18
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 0xb
test eax, eax
je 0x408c00
push 0x478498
push eax
lea ebx, [esp + 0x37c]
mov ecx, 4
call fcn.00414600
mov ebp, eax
jmp 0x408c02
xor ebp, ebp
push 4
mov byte [esp + 0x5a4], 0xa
mov ebx, dword [esp + 0x20]
push ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], ebp
test eax, eax
jne 0x408c25
xor ecx, ecx
jmp 0x408c2d
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408c45
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408c63
cmp eax, esi
jbe 0x408c4e
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x408c9f
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov esi, eax
jmp 0x408ca1
xor esi, esi
mov ebx, dword [esp + 0x20]
push 2
push esi
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408cbc
xor ecx, ecx
jmp 0x408cc4
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408cdc
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x408cfa
cmp eax, ebx
jbe 0x408ce5
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
lea edx, [esp + 0x264]
push edx
call fcn.004025e0
mov byte [esp + 0x5a0], 0xc
push 0x180
mov dword [esp + 0x268], 0xff666666
mov dword [esp + 0x2a0], 1
mov dword [esp + 0x27c], 0x10
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 0xd
test eax, eax
je 0x408d68
push 0x4784b0
push eax
lea ebx, [esp + 0x26c]
mov ecx, 4
call fcn.00414600
mov ebp, eax
jmp 0x408d6a
xor ebp, ebp
push 4
mov byte [esp + 0x5a4], 0xc
mov ebx, dword [esp + 0x20]
push ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], ebp
test eax, eax
jne 0x408d8d
xor ecx, ecx
jmp 0x408d95
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408dad
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408dcb
cmp eax, esi
jbe 0x408db6
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x408e07
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov esi, eax
jmp 0x408e09
xor esi, esi
mov ebx, dword [esp + 0x20]
push 6
push esi
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408e24
xor ecx, ecx
jmp 0x408e2c
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408e44
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x408e62
cmp eax, ebx
jbe 0x408e4d
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x6c
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 0xe
test eax, eax
je 0x408e8d
push 5
push eax
mov ecx, 2
call fcn.00414c00
mov ebp, eax
jmp 0x408e8f
xor ebp, ebp
mov ebx, dword [esp + 0x20]
push 0x18
push ebp
mov byte [esp + 0x5a8], 0xc
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], ebp
test eax, eax
jne 0x408eb2
xor ecx, ecx
jmp 0x408eba
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408ed2
mov dword [esi], ebp
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x408ef0
cmp eax, esi
jbe 0x408edb
call fcn.0044cae8
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x408f2c
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov esi, eax
jmp 0x408f2e
xor esi, esi
push 0x19
push esi
mov ebx, ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x408f47
xor ecx, ecx
jmp 0x408f4f
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x408f67
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x408f85
cmp eax, ebx
jbe 0x408f70
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
lea edx, [esp + 0x44]
push edx
call fcn.004025e0
or eax, 0xffffffff
mov bl, 0xf
mov byte [esp + 0x5a0], bl
mov esi, 2
mov dword [esp + 0x44], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x110], eax
mov eax, 1
push 0x1a0
mov dword [esp + 0x4c], 0xff88dd9b
mov dword [esp + 0x90], 0xff12bb37
mov dword [esp + 0xd4], 0xff0f9f2e
mov dword [esp + 0x118], 0xffd8d8d8
mov dword [esp + 0x54], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0x120], esi
mov dword [esp + 0x80], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0x150], eax
call fcn.0044cbec
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x5a0], 0x10
test eax, eax
je 0x40906b
lea ecx, [esp + 0x44]
push ecx
push 0x4784d0
push eax
mov ecx, esi
call fcn.00412010
mov esi, eax
jmp 0x40906d
xor esi, esi
mov byte [esp + 0x5a0], bl
fld qword [0x47b610]
push 0x15
fstp qword [esi + 0x140]
push esi
mov ebx, ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x409099
xor ecx, ecx
jmp 0x4090a1
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x4090b9
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x4090d7
cmp eax, ebx
jbe 0x4090c2
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
push 0x20
call fcn.0044cbec
add esp, 4
test eax, eax
je 0x409113
mov cl, 1
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1d], cl
xor ecx, ecx
mov dword [eax + 4], 0xa
mov dword [eax + 8], 6
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax], vtable.CSpacerResource.0
mov esi, eax
jmp 0x409115
xor esi, esi
push 0x19
push esi
mov ebx, ebp
call fcn.00414d20
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], esi
test eax, eax
jne 0x40912e
xor ecx, ecx
jmp 0x409136
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov ebx, dword [edi + 0x10]
mov edx, ebx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x40914e
mov dword [ebx], esi
add ebx, 4
mov dword [edi + 0x10], ebx
jmp 0x40916c
cmp eax, ebx
jbe 0x409157
call fcn.0044cae8
mov eax, dword [edi]
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, edi
call fcn.00403a60
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x50]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 8]
push ecx
call eax
lea esi, [esp + 0x44]
call fcn.00402660
lea esi, [esp + 0x264]
call fcn.00402660
lea esi, [esp + 0x374]
call fcn.00402660
lea esi, [esp + 0x154]
call fcn.00402660
lea esi, [esp + 0x484]
call fcn.00402660
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x598]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0044c790
add esp, 0x590
ret 8