Function at 0x467a00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4da2b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x507fec]
mov edx, dword [eax + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x507fec
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
mov dword [esp + 0x1b0], ebx
call fcn.00406460
mov byte [esp + 0x1ac], 1
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esi + 0x28]
push ebx
mov dword [esi + 0x33c], ebx
mov dword [esi + 0x31c], 0x80090000
mov dword [esi + 0x320], 0x10000
mov edx, dword [ecx]
mov edx, dword [edx + 0x4c]
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xc0], ebx
call edx
mov eax, dword [esi + 0x110]
mov eax, dword [eax + 0x4c]
lea edx, [esp + 0x18]
push edx
push ebx
lea ecx, [esi + 0x110]
push ebx
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xc0], ebx
call eax
mov edx, dword [esi + 0x1f8]
mov edx, dword [edx + 0x4c]
lea eax, [esp + 0x18]
push eax
push ebx
lea ecx, [esi + 0x1f8]
push ebx
push 2
push ebx
mov dword [esp + 0x2c], ebx
mov dword [ecx + 0xc0], ebx
call edx
mov eax, dword [esp + 0x1b4]
push 1
push ebx
push eax
lea ecx, [esp + 0x30]
mov dword [esi + 0x324], ebx
mov dword [esi + 0x328], ebx
mov dword [esi + 0x32c], ebx
call fcn.004086c0
cmp byte [esp + 0x68], bl
je 0x467b78
call fcn.00463cc0
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x24], vtable.TiXmlDocument.0
jb 0x467b2b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0049f15f
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
call fcn.00405a30
lea eax, [edi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x467b71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x46816e
mov edi, dword [esp + 0x3c]
cmp edi, ebx
je 0x467b94
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
jne 0x467ba1
mov edi, dword [edi + 0x40]
cmp edi, ebx
jne 0x467b80
xor ebp, ebp
cmp dword [ebp + 0x38], 0x10
jb 0x467bae
mov edx, dword [ebp + 0x24]
jmp 0x467bb1
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov ebp, eax
jmp 0x467b96
lea edx, [ebp + 0x24]
cmp edx, ebx
jne 0x467bb9
xor eax, eax
jmp 0x467bcb
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x467bc0
sub eax, edi
mov edi, eax
push edx
lea eax, [esp + 0x20]
call fcn.00403d70
mov edi, dword [esp + 0x1c]
push str.layer
push edi
call fcn.004a38b5
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
jne 0x467b00
lea edi, [ebp + 0x44]
mov ebx, str.frame
call fcn.00406f50
test eax, eax
je 0x467c17
cmp dword [eax + 0x48], 0x10
jb 0x467c12
mov eax, dword [eax + 0x34]
jmp 0x467c19
add eax, 0x34
jmp 0x467c19
xor eax, eax
lea ebx, [esi + 0x350]
mov edx, eax
call fcn.00403460
mov ebx, str.title
call fcn.00406f50
test eax, eax
je 0x467c44
cmp dword [eax + 0x48], 0x10
jb 0x467c3f
mov eax, dword [eax + 0x34]
jmp 0x467c46
add eax, 0x34
jmp 0x467c46
xor eax, eax
push 0xfde9
lea ecx, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xa4], ecx
call fcn.00403980
mov byte [esp + 0x1ac], 2
mov edx, dword [esp + 0x9c]
lea edi, [esi + 0x308]
call fcn.004035b0
mov byte [esp + 0x1ac], 1
mov eax, dword [esp + 0x9c]
lea edx, [esp + 0xa0]
cmp eax, edx
je 0x467ca3
push eax
call fcn.0049f15f
add esp, 4
lea edi, [esi + 0x30c]
push edi
mov ebx, str.width
mov eax, ebp
mov dword [edi], 0
mov dword [esi + 0x310], 0
call fcn.00405ee0
lea eax, [esi + 0x310]
push eax
mov ebx, str.height
mov eax, ebp
call fcn.00405ee0
lea eax, [esi + 0x24]
push eax
mov ebx, str.dpiaware
mov eax, ebp
call fcn.00405ee0
mov eax, dword [edi]
lea ebx, [esi + 0x24]
push ebx
mov dword [esp + 0x18], eax
call fcn.0045a4d0
test eax, eax
je 0x467d11
mov ecx, dword [esp + 0x14]
push ecx
push ecx
call fcn.0045dd80
add esp, 4
call fcn.0045e7e0
jmp 0x467d15
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov edi, dword [esi + 0x310]
push ebx
call fcn.0045a4d0
test eax, eax
je 0x467d38
push edi
push ecx
call fcn.0045dd80
add esp, 4
call fcn.0045e7e0
jmp 0x467d3a
mov eax, edi
mov dword [esi + 0x310], eax
lea eax, [esi + 0x314]
mov dword [eax], 0
push eax
lea edi, [esi + 0x318]
mov ebx, str.min_width
mov eax, ebp
mov dword [edi], 0
call fcn.00405ee0
push edi
mov ebx, str.min_height
mov eax, ebp
call fcn.00405ee0
lea edx, [esp + 0x14]
push edx
mov ebx, str.appwin
mov eax, ebp
mov dword [esp + 0x18], 0
call fcn.00405ee0
cmp dword [esp + 0x14], 0
je 0x467d9c
or dword [esi + 0x320], 0x40000
lea eax, [esp + 0x14]
push eax
mov ebx, str.child
mov eax, ebp
mov dword [esp + 0x18], 0
call fcn.00405ee0
cmp dword [esp + 0x14], 0
je 0x467dd9
mov ecx, dword [esi + 0x31c]
and ecx, 0x39f7ffff
or ecx, 0x46000000
mov dword [esi + 0x31c], ecx
jmp 0x467eb2
lea edx, [esp + 0x14]
push edx
mov ebx, str.holdsize
mov eax, ebp
mov dword [esp + 0x18], 0
call fcn.00405ee0
xor eax, eax
cmp dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
setne al
push ecx
mov ebx, str.resize
mov dword [esp + 0x18], 0
mov dword [esi + 0x338], eax
mov eax, ebp
call fcn.00405ee0
xor eax, eax
cmp dword [esp + 0x14], eax
je 0x467e38
or dword [esi + 0x31c], 0x70000
mov dword [esi + 0x334], 1
jmp 0x467e56
mov edx, dword [esi + 0x31c]
and edx, 0xfffeffff
or edx, 0x20000
mov dword [esi + 0x334], eax
mov dword [esi + 0x31c], edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
mov ebx, str.noborder
mov eax, ebp
call fcn.00405ee0
cmp dword [esp + 0x14], 0
je 0x467e7e
or dword [esi + 0x320], 0x88
jmp 0x467e88
or dword [esi + 0x320], 0x300
lea ecx, [esp + 0x14]
push ecx
mov ebx, str.nomove
mov eax, ebp
mov dword [esp + 0x18], 0
call fcn.00405ee0
cmp dword [esp + 0x14], 0
je 0x467eb2
mov dword [esi + 0x304], 0
mov ecx, str.header
mov eax, ebp
call fcn.00405c10
mov edx, dword [esi + 0x28]
mov edi, eax
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x28]
mov dword [esi + 0xdc], eax
mov eax, dword [edx + 0xc]
push edi
call eax
test eax, eax
mov dword [esi + 0x324], eax
je 0x467f9e
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x507fec
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1ac], 3
push ecx
mov ebx, str.height
mov eax, edi
mov dword [esp + 0x18], 0
call fcn.00405ee0
mov edx, dword [esp + 0x14]
push edx
push str.0_0__0__d
lea edi, [esp + 0x20]
call fcn.00460ca0
mov edi, dword [esp + 0x20]
add esp, 8
push 1
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x1c], esp
mov ebx, esp
call fcn.0047d1b0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [esp + 0x1b8], 4
mov eax, esp
mov dword [esp + 0x2c], esp
push eax
mov ecx, 0x4ed700
call fcn.00411230
mov eax, dword [esi + 0x28]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x28]
add eax, 0x14
mov byte [esp + 0x1b8], 3
call edx
mov byte [esp + 0x1ac], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x467f9e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, str.footer
mov eax, ebp
call fcn.00405c10
mov edx, dword [esi + 0x1f8]
mov edi, eax
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x2ac], eax
mov eax, dword [edx + 0xc]
push edi
call eax
test eax, eax
mov dword [esi + 0x32c], eax
je 0x468096
mov edx, dword [0x507fec]
mov eax, dword [edx + 0xc]
mov ecx, 0x507fec
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 5
push ecx
mov ebx, str.height
mov eax, edi
mov dword [esp + 0x1c], 0
call fcn.00405ee0
mov edx, dword [esp + 0x18]
push edx
push str.0___d__0__0
lea edi, [esp + 0x1c]
call fcn.00460ca0
mov edi, dword [esp + 0x1c]
add esp, 8
push 1
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.0047d1b0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov byte [esp + 0x1b8], 6
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, 0x4ed700
call fcn.00411230
mov eax, dword [esi + 0x1f8]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x1f8]
add eax, 0x14
mov byte [esp + 0x1b8], 5
call edx
mov byte [esp + 0x1ac], 1
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x468096
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x1c4], eax
mov ecx, str.body
mov eax, ebp
call fcn.00405c10
mov edx, dword [esi + 0x110]
lea edi, [esi + 0x110]
push eax
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x328], eax
je 0x46810c
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
mov ecx, str.0_0__0__0
call fcn.00411230
push ecx
mov byte [esp + 0x1b8], 7
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, 0x4ed700
call fcn.00411230
mov eax, dword [edi]
add eax, 0x14
mov eax, dword [eax]
mov ecx, edi
mov byte [esp + 0x1b8], 1
call eax
cmp dword [esi + 4], ebx
mov dword [esi + 0x33c], 1
je 0x46812e
mov eax, esi
call fcn.00463b50
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1ac], bl
call fcn.00405790
mov dword [esp + 0x1ac], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x468169
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1a4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1a0
ret 4