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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cc29c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], eax
mov word [esp + 0xc4], ax
mov dword [esp + 0x1b8], eax
test byte [ebx + 0xbc], 1
je 0x4655fc
push 5
push str.LEFT
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
test byte [ebx + 0xbc], 2
je 0x465618
push 4
push str.TOP
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
test byte [ebx + 0xbc], 4
je 0x465634
push 6
push str.RIGHT
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
test byte [ebx + 0xbc], 8
je 0x465650
push 7
push str.BOTTOM
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
test byte [ebx + 0xbc], 0x10
je 0x46566c
push 8
push str.HCENTER
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
test byte [ebx + 0xbc], 0x20
je 0x465688
push 8
push str.VCENTER
lea ecx, [esp + 0xc8]
call fcn.0045f6e0
mov eax, dword [esp + 0xd4]
push 0x4d97fc
xor edi, edi
lea ecx, [esp + 0xc4]
call fcn.004484f0
test eax, eax
je 0x4656c9
lea eax, [edi + 1]
xor ebx, ebx
lea esi, [esp + 0xc0]
call fcn.004064e0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00406430
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x18]
mov ecx, dword [ebx + 0x50]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push 0x4e57fc
mov ecx, esi
mov edi, 8
call edx
cmp dword [ebx + 0x6c], edi
jb 0x4656ea
mov eax, dword [ebx + 0x58]
jmp 0x4656ed
lea eax, [ebx + 0x58]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push 0x4e58d8
mov ecx, esi
call eax
cmp dword [ebx + 0x88], edi
jb 0x465709
mov eax, dword [ebx + 0x74]
jmp 0x46570c
lea eax, [ebx + 0x74]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push 0x4e5fb0
mov ecx, esi
call eax
cmp dword [ebx + 0xa4], edi
jb 0x46572b
mov eax, dword [ebx + 0x90]
jmp 0x465731
lea eax, [ebx + 0x90]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push str.tooltip
mov ecx, esi
call eax
movzx eax, byte [ebx + 0xa8]
mov edx, dword [esi]
mov edx, dword [edx]
push eax
push str.visible
mov ecx, esi
call edx
movzx ecx, byte [ebx + 0xa9]
mov eax, dword [esi]
mov edx, dword [eax]
push ecx
push str.enable
mov ecx, esi
call edx
mov ecx, dword [ebx + 0xac]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push 0x4dd30c
mov ecx, esi
call edx
mov ecx, dword [ebx + 0xb0]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push 0x4dd324
mov ecx, esi
call edx
mov ecx, dword [ebx + 0xb4]
sub ecx, dword [ebx + 0xac]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push str.width
mov ecx, esi
call edx
mov ecx, dword [ebx + 0xb8]
sub ecx, dword [ebx + 0xb0]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push ecx
push str.height
mov ecx, esi
call edx
mov ecx, dword [ebx + 0xc4]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push str.alpha
mov ecx, esi
call edx
cmp dword [esp + 0xd8], edi
mov eax, dword [esp + 0xc4]
jae 0x4657f6
lea eax, [esp + 0xc4]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push str.align
mov ecx, esi
call eax
cmp dword [ebx + 0xe0], edi
jb 0x465815
mov eax, dword [ebx + 0xcc]
jmp 0x46581b
lea eax, [ebx + 0xcc]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push str.bkcolor
mov ecx, esi
call eax
cmp dword [ebx + 0x118], edi
jb 0x46583a
mov eax, dword [ebx + 0x104]
jmp 0x465840
lea eax, [ebx + 0x104]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x10]
push str.cursor
mov ecx, esi
call eax
movzx eax, byte [ebx + 0x11c]
mov edx, dword [esi]
mov edx, dword [edx]
push eax
push str.transparentbk
mov ecx, esi
call edx
mov eax, dword [ebx + 0x124]
mov eax, dword [eax]
add ebx, 0x120
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
cmp eax, eax
mov ebx, dword [eax + 4]
je 0x46588a
call fcn.004a79fe
cmp dword [esp + 0x24], ebx
je 0x466212
push 0x98
call fcn.00488fa5
add esp, 4
mov dword [esp + 0x1c], eax
xor ecx, ecx
cmp eax, ecx
mov byte [esp + 0x1b8], 1
je 0x4658c6
push eax
mov ebx, 0x4d97fe
call fcn.00467b20
mov dword [esp + 0x14], eax
xor ecx, ecx
jmp 0x4658cc
mov dword [esp + 0x14], ecx
mov eax, ecx
mov dword [esp + 0x48], vtable.OrayUI::CXMLAttribute.0
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ecx
mov word [esp + 0x50], cx
mov dword [esp + 0x68], eax
mov byte [esp + 0x1b8], 2
mov esi, dword [esi + 0x20]
mov ecx, esi
call fcn.00467980
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jne 0x46590d
call fcn.004a79fe
mov ebx, dword [esi + 8]
xor eax, eax
push eax
push 0x4d97fc
lea esi, [esp + 0x74]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
call fcn.00406b80
mov byte [esp + 0x1b8], 3
mov eax, dword [ebx + 0x24]
cmp eax, 0x1ff
jne 0x46595f
push 3
push 0x4e6284
call fcn.00406b80
jmp 0x465a5d
test al, 1
je 0x465973
push 7
push str.normal
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 2
je 0x465989
push 4
push str.hot
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 4
je 0x46599f
push 5
push str.down
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 8
je 0x4659b5
push 8
push str.disable
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x40
je 0x4659cb
push 7
push str.moving
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x10
je 0x4659e1
push 8
push str.checked
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x20
je 0x4659f7
push 0xa
push str.unchecked
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x80
je 0x465a0d
push 7
push str.active
lea ecx, [esp + 0x74]
call fcn.0045f6e0
test dword [ebx + 0x24], 0x100
je 0x465a26
push 9
push str.unactive
lea ecx, [esp + 0x74]
call fcn.0045f6e0
mov eax, dword [esp + 0x80]
push 0x4d97fc
xor edi, edi
lea ecx, [esp + 0x70]
call fcn.004484f0
test eax, eax
je 0x465a5d
lea eax, [edi + 1]
xor ebx, ebx
lea esi, [esp + 0x6c]
call fcn.004064e0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00406430
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov esi, 8
cmp dword [esp + 0x84], esi
jae 0x465a73
lea eax, [esp + 0x70]
push eax
push str.state
lea ecx, [esp + 0x50]
call fcn.0046c970
mov eax, dword [ebx + 0x28]
push 0xa
lea edx, [esp + 0xe0]
push edx
cdq
push edx
push eax
call fcn.004abb78
mov edx, dword [esp + 0x58]
add esp, 0x10
lea eax, [esp + 0xdc]
push eax
mov eax, dword [edx + 0x10]
push 0x4dd30c
lea ecx, [esp + 0x50]
call eax
mov eax, dword [ebx + 0x2c]
push 0xa
lea ecx, [esp + 0xe0]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x58]
add esp, 0x10
lea edx, [esp + 0xdc]
push edx
mov edx, dword [eax + 0x10]
push 0x4dd324
lea ecx, [esp + 0x50]
call edx
mov eax, dword [ebx + 0x30]
push 0xa
lea ecx, [esp + 0xe0]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x58]
add esp, 0x10
lea edx, [esp + 0xdc]
push edx
mov edx, dword [eax + 0x10]
push str.width
lea ecx, [esp + 0x50]
call edx
mov eax, dword [ebx + 0x34]
push 0xa
lea ecx, [esp + 0xe0]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x58]
add esp, 0x10
lea edx, [esp + 0xdc]
push edx
mov edx, dword [eax + 0x10]
push str.height
lea ecx, [esp + 0x50]
call edx
movzx eax, byte [ebx + 0x38]
push eax
push str.visible
lea ecx, [esp + 0x50]
call fcn.0046cbb0
mov eax, dword [ebx + 4]
cmp eax, 1
jne 0x465e2f
mov ecx, dword [esp + 0x14]
push 5
push str.image
add ecx, 0x20
call fcn.00406990
xor ecx, ecx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ecx
mov word [esp + 0x8c], cx
mov byte [esp + 0x1b8], 4
mov eax, dword [ebx + 0x78]
sub eax, ecx
je 0x465bc3
sub eax, 1
je 0x465bba
sub eax, 1
jne 0x465bdb
push 0xa
push str.stretchall
jmp 0x465bca
push 5
push str.tiles
jmp 0x465bca
push 6
push 0x4dce74
lea esi, [esp + 0x90]
call fcn.00406b80
mov esi, 8
cmp dword [ebx + 0x54], esi
jb 0x465be5
mov eax, dword [ebx + 0x40]
jmp 0x465be8
lea eax, [ebx + 0x40]
push eax
push str.picfile
lea ecx, [esp + 0x50]
call fcn.0046c970
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebx + 0x5c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 0x60]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x64]
mov dword [eax + 8], ecx
lea esi, [esp + 0x3c]
mov dword [eax + 0xc], edx
call fcn.0046da60
add esp, 0x10
mov byte [esp + 0x1b8], 5
cmp dword [eax + 0x18], 0x10
jb 0x465c32
mov eax, dword [eax + 4]
jmp 0x465c35
add eax, 4
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0046d730
add esp, 8
mov esi, 8
mov byte [esp + 0x1b8], 6
cmp dword [eax + 0x18], esi
jb 0x465c5d
mov eax, dword [eax + 4]
jmp 0x465c60
add eax, 4
push eax
push str.rectpos
lea ecx, [esp + 0x50]
call fcn.0046c970
cmp dword [esp + 0xbc], esi
jb 0x465c88
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00488fd0
add esp, 4
xor edi, edi
mov byte [esp + 0x1b8], 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
jb 0x465cc0
mov edx, dword [esp + 0x30]
push edx
call fcn.00488fd0
add esp, 4
mov ecx, dword [ebx + 0x68]
mov edx, dword [ebx + 0x6c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 0x70]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x74]
mov dword [eax + 8], ecx
lea esi, [esp + 0x3c]
mov dword [eax + 0xc], edx
call fcn.0046da60
add esp, 0x10
mov byte [esp + 0x1b8], 7
cmp dword [eax + 0x18], 0x10
jb 0x465cfb
mov eax, dword [eax + 4]
jmp 0x465cfe
add eax, 4
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0046d730
add esp, 8
mov esi, 8
mov byte [esp + 0x1b8], 8
cmp dword [eax + 0x18], esi
jb 0x465d26
mov eax, dword [eax + 4]
jmp 0x465d29
add eax, 4
push eax
push str.rectmargin
lea ecx, [esp + 0x50]
call fcn.0046c970
cmp dword [esp + 0xbc], esi
jb 0x465d51
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00488fd0
add esp, 4
mov byte [esp + 0x1b8], 4
cmp dword [esp + 0x44], 0x10
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], edi
mov word [esp + 0xa8], di
jb 0x465d87
mov edx, dword [esp + 0x30]
push edx
call fcn.00488fd0
add esp, 4
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x465d9e
lea eax, [esp + 0x8c]
push eax
push str.paintmode
lea ecx, [esp + 0x50]
call fcn.0046c970
movzx eax, byte [ebx + 0x7c]
push eax
push str.onlyborder
lea ecx, [esp + 0x50]
call fcn.0046cbb0
movzx ecx, byte [ebx + 0x84]
push ecx
push str.transparent
lea ecx, [esp + 0x50]
call fcn.0046cbb0
mov ebx, dword [ebx + 0x80]
push 0xa
lea edx, [esp + 0xe0]
push edx
mov eax, ebx
cdq
push edx
push eax
call fcn.004abb78
mov edx, dword [esp + 0x58]
add esp, 0x10
lea eax, [esp + 0xdc]
push eax
mov eax, dword [edx + 0x10]
push str.alpha
lea ecx, [esp + 0x50]
call eax
cmp dword [esp + 0xa0], esi
jb 0x466196
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.00488fd0
add esp, 4
jmp 0x466196
cmp eax, 2
jne 0x466039
mov ecx, dword [esp + 0x14]
push 4
push str.text
add ecx, 0x20
call fcn.00406990
xor ecx, ecx
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], ecx
mov word [esp + 0xa8], cx
mov byte [esp + 0x1b8], 9
mov eax, dword [ebx + 0x5c]
sub eax, ecx
je 0x465e92
sub eax, 2
je 0x465e89
sub eax, 2
jne 0x465eaa
push 6
push 0x4db490
jmp 0x465e99
push 5
push str.right
jmp 0x465e99
push 4
push 0x4dd30c
lea esi, [esp + 0xac]
call fcn.00406b80
mov esi, 8
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], eax
mov word [esp + 0x8c], ax
mov byte [esp + 0x1b8], 0xa
mov eax, dword [ebx + 0x58]
sub eax, 1
je 0x465ef2
sub eax, 2
je 0x465ee9
sub eax, 2
jne 0x465f0a
push 6
push 0x4db490
jmp 0x465ef9
push 6
push str.bottom
jmp 0x465ef9
push 3
push 0x4dd324
lea esi, [esp + 0x90]
call fcn.00406b80
mov esi, 8
cmp dword [ebx + 0x7c], esi
jb 0x465f14
mov eax, dword [ebx + 0x68]
jmp 0x465f17
lea eax, [ebx + 0x68]
push eax
push str.textcolor
lea ecx, [esp + 0x50]
call fcn.0046c970
cmp dword [esp + 0xbc], esi
mov eax, dword [esp + 0xa8]
jae 0x465f3d
lea eax, [esp + 0xa8]
push eax
push str.horzalign
lea ecx, [esp + 0x50]
call fcn.0046c970
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x465f63
lea eax, [esp + 0x8c]
push eax
push str.vertalign
lea ecx, [esp + 0x50]
call fcn.0046c970
movzx edx, byte [ebx + 0x60]
push edx
push str.singleline
lea ecx, [esp + 0x50]
call fcn.0046cbb0
cmp dword [ebx + 0x54], esi
jb 0x465f8f
mov eax, dword [ebx + 0x40]
jmp 0x465f92
lea eax, [ebx + 0x40]
push eax
push 0x4db470
lea ecx, [esp + 0x50]
call fcn.0046c970
movzx eax, byte [ebx + 0x81]
push eax
push str.light
lea ecx, [esp + 0x50]
call fcn.0046cbb0
mov ecx, dword [ebx + 0x84]
push ecx
push str.glowsize
lea ecx, [esp + 0x50]
call fcn.0046caf0
movzx edx, byte [ebx + 0x80]
push edx
push str.ellipsis
lea ecx, [esp + 0x50]
call fcn.0046cbb0
cmp dword [esp + 0xa0], esi
jb 0x465ffb
mov eax, dword [esp + 0x8c]
push eax
call fcn.00488fd0
add esp, 4
xor eax, eax
cmp dword [esp + 0xbc], esi
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], eax
mov word [esp + 0x8c], ax
jb 0x466196
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.00488fd0
add esp, 4
jmp 0x466196
cmp eax, 3
jne 0x4660f3
mov ecx, dword [esp + 0x14]
push 9
push str.roundrect
add ecx, 0x20
call fcn.00406990
mov edx, dword [ebx + 0x3c]
push edx
push str.linetype
lea ecx, [esp + 0x50]
call fcn.0046cb50
mov eax, dword [ebx + 0x40]
push eax
push str.linewidth
lea ecx, [esp + 0x50]
call fcn.0046cb50
mov ecx, dword [ebx + 0x7c]
push ecx
push str.roundwidth
lea ecx, [esp + 0x50]
call fcn.0046cb50
mov edx, dword [ebx + 0x80]
push edx
push str.roundheight
lea ecx, [esp + 0x50]
call fcn.0046cb50
cmp dword [ebx + 0x78], esi
jb 0x4660aa
mov eax, dword [ebx + 0x64]
jmp 0x4660ad
lea eax, [ebx + 0x64]
push eax
push str.bkcolor
lea ecx, [esp + 0x50]
call fcn.0046c970
cmp dword [ebx + 0x5c], esi
jb 0x4660c6
mov eax, dword [ebx + 0x48]
jmp 0x4660c9
lea eax, [ebx + 0x48]
push eax
push str.bordercolor
lea ecx, [esp + 0x50]
call fcn.0046c970
movzx eax, byte [ebx + 0x84]
push eax
push str.transparent
lea ecx, [esp + 0x50]
call fcn.0046cbb0
jmp 0x466196
cmp eax, 4
jne 0x466196
mov ecx, dword [esp + 0x14]
push eax
push str.line
add ecx, 0x20
call fcn.00406990
mov ecx, dword [ebx + 0x3c]
push ecx
push str.linetype
lea ecx, [esp + 0x50]
call fcn.0046cb50
mov edx, dword [ebx + 0x40]
push edx
push str.linewidth
lea ecx, [esp + 0x50]
call fcn.0046cb50
mov eax, dword [ebx + 0x44]
push eax
push 0x4e61c0
lea ecx, [esp + 0x50]
call fcn.0046caf0
mov ecx, dword [ebx + 0x48]
push ecx
push 0x4e61c8
lea ecx, [esp + 0x50]
call fcn.0046caf0
mov edx, dword [ebx + 0x4c]
push edx
push 0x4e61d0
lea ecx, [esp + 0x50]
call fcn.0046caf0
mov eax, dword [ebx + 0x50]
push eax
push 0x4e61d8
lea ecx, [esp + 0x50]
call fcn.0046caf0
cmp dword [ebx + 0x6c], esi
jb 0x466184
mov ebx, dword [ebx + 0x58]
jmp 0x466187
add ebx, 0x58
push ebx
push str.color
lea ecx, [esp + 0x50]
call fcn.0046c970
mov esi, 8
cmp dword [esp + 0x84], esi
jb 0x4661b1
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00488fd0
add esp, 4
xor eax, eax
mov byte [esp + 0x1b8], al
cmp dword [esp + 0x64], esi
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], eax
mov word [esp + 0x70], ax
mov dword [esp + 0x48], vtable.OrayUI::CXMLAttribute.0
jb 0x4661ec
mov edx, dword [esp + 0x50]
push edx
call fcn.00488fd0
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
jne 0x4661fe
call fcn.004a79fe
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov esi, dword [esp + 0x28]
mov edi, 8
jmp 0x465876
cmp dword [esp + 0xd8], edi
jb 0x46622b
mov ecx, dword [esp + 0xc4]
push ecx
call fcn.00488fd0
add esp, 4
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.004a74b2
mov esp, ebp
pop ebp
ret 4