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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cdd81
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x1c8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, dword [esi + 0x298]
push ecx
push str.leftwidth
mov ecx, edi
mov dword [esp + 0x2c], edi
call edx
mov ecx, dword [esi + 0x29c]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
push str.topheight
mov ecx, edi
call edx
mov ecx, dword [esi + 0x2a0]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
push str.rightwidth
mov ecx, edi
call edx
mov ecx, dword [esi + 0x2a4]
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push ecx
push str.bottomheight
mov ecx, edi
call edx
mov eax, dword [esi + 0x124]
mov eax, dword [eax]
lea ecx, [esi + 0x120]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
cmp ecx, ecx
mov esi, dword [ecx + 4]
je 0x4755ef
call fcn.004a79fe
cmp dword [esp + 0x1c], esi
je 0x475f63
push 0x98
call fcn.00488fa5
add esp, 4
mov dword [esp + 0x20], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x1d0], ecx
je 0x475628
push eax
mov ebx, 0x4d97fe
call fcn.00467b20
mov dword [esp + 0x10], eax
jmp 0x47562e
mov dword [esp + 0x10], ecx
mov eax, ecx
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x60], vtable.OrayUI::CXMLAttribute.0
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ecx
mov word [esp + 0x68], cx
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1d0], 1
mov ecx, dword [ecx + 0x20]
call fcn.00467980
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x47567a
call fcn.004a79fe
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + 8]
xor eax, eax
push eax
push 0x4d97fc
lea esi, [esp + 0x8c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], ax
call fcn.00406b80
mov byte [esp + 0x1d0], 2
mov eax, dword [ebx + 0x24]
cmp eax, 0x1ff
jne 0x4756d2
push 3
push 0x4e6284
call fcn.00406b80
jmp 0x4757ee
test al, 1
je 0x4756e8
push edi
push str.normal
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 2
je 0x475701
push 4
push str.hot
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 4
je 0x47571a
push 5
push str.down
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 8
je 0x475733
push 8
push str.disable
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x40
je 0x47574b
push edi
push str.moving
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x10
je 0x475764
push 8
push str.checked
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x20
je 0x47577d
push 0xa
push str.unchecked
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test byte [ebx + 0x24], 0x80
je 0x475795
push edi
push str.active
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
test dword [ebx + 0x24], 0x100
je 0x4757b1
push 9
push str.unactive
lea ecx, [esp + 0x8c]
call fcn.0045f6e0
mov eax, dword [esp + 0x98]
push 0x4d97fc
xor edi, edi
lea ecx, [esp + 0x88]
call fcn.004484f0
test eax, eax
je 0x4757ee
lea eax, [edi + 1]
xor ebx, ebx
lea esi, [esp + 0x84]
call fcn.004064e0
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00406430
mov ebx, dword [esp + 0x20]
mov edi, 8
xor esi, esi
cmp dword [ebx + 0x20], edi
jb 0x4757ff
mov eax, dword [ebx + 0xc]
jmp 0x475802
lea eax, [ebx + 0xc]
push eax
push 0x4e58d8
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0x9c], edi
mov eax, dword [esp + 0x88]
jae 0x475828
lea eax, [esp + 0x88]
push eax
push str.state
lea ecx, [esp + 0x68]
call fcn.0046c970
mov eax, dword [ebx + 0x28]
push 0xa
lea edx, [esp + 0xf8]
push edx
cdq
push edx
push eax
call fcn.004abb78
mov edx, dword [esp + 0x70]
add esp, 0x10
lea eax, [esp + 0xf4]
push eax
mov eax, dword [edx + 0x10]
push 0x4dd30c
lea ecx, [esp + 0x68]
call eax
mov eax, dword [ebx + 0x2c]
push 0xa
lea ecx, [esp + 0xf8]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x70]
add esp, 0x10
lea edx, [esp + 0xf4]
push edx
mov edx, dword [eax + 0x10]
push 0x4dd324
lea ecx, [esp + 0x68]
call edx
mov eax, dword [ebx + 0x30]
push 0xa
lea ecx, [esp + 0xf8]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x70]
add esp, 0x10
lea edx, [esp + 0xf4]
push edx
mov edx, dword [eax + 0x10]
push str.width
lea ecx, [esp + 0x68]
call edx
mov eax, dword [ebx + 0x34]
push 0xa
lea ecx, [esp + 0xf8]
cdq
push ecx
push edx
push eax
call fcn.004abb78
mov eax, dword [esp + 0x70]
add esp, 0x10
lea edx, [esp + 0xf4]
push edx
mov edx, dword [eax + 0x10]
push str.height
lea ecx, [esp + 0x68]
call edx
mov eax, dword [ebx + 4]
cmp eax, 1
jne 0x475bab
mov ecx, dword [esp + 0x10]
push 5
push str.image
add ecx, 0x20
call fcn.00406990
mov dword [esp + 0xf0], 7
mov dword [esp + 0xec], esi
mov word [esp + 0xdc], si
mov byte [esp + 0x1d0], 3
mov eax, dword [ebx + 0x78]
sub eax, esi
je 0x475963
sub eax, 1
je 0x47595a
sub eax, 1
jne 0x47597b
push 0xa
push str.stretchall
jmp 0x47596a
push 5
push str.tiles
jmp 0x47596a
push 6
push 0x4dce74
lea esi, [esp + 0xe0]
call fcn.00406b80
mov edi, 8
cmp dword [ebx + 0x54], edi
jb 0x475985
mov eax, dword [ebx + 0x40]
jmp 0x475988
lea eax, [ebx + 0x40]
push eax
push str.picfile
lea ecx, [esp + 0x68]
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 + 0x54]
mov dword [eax + 0xc], edx
call fcn.0046da60
add esp, 0x10
mov byte [esp + 0x1d0], 4
cmp dword [eax + 0x18], 0x10
jb 0x4759d2
mov eax, dword [eax + 4]
jmp 0x4759d5
add eax, 4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046d730
add esp, 8
mov esi, 8
mov byte [esp + 0x1d0], 5
cmp dword [eax + 0x18], esi
jb 0x4759fa
mov eax, dword [eax + 4]
jmp 0x4759fd
add eax, 4
push eax
push str.rectpos
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0x40], esi
jb 0x475a1f
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00488fd0
add esp, 4
xor edi, edi
mov byte [esp + 0x1d0], 3
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x475a4e
mov edx, dword [esp + 0x48]
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 + 0x54]
mov dword [eax + 0xc], edx
call fcn.0046da60
add esp, 0x10
mov byte [esp + 0x1d0], 6
cmp dword [eax + 0x18], 0x10
jb 0x475a89
mov eax, dword [eax + 4]
jmp 0x475a8c
add eax, 4
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0046d730
add esp, 8
mov esi, 8
mov byte [esp + 0x1d0], 7
cmp dword [eax + 0x18], esi
jb 0x475ab1
mov eax, dword [eax + 4]
jmp 0x475ab4
add eax, 4
push eax
push str.rectmargin
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0x40], esi
jb 0x475ad6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00488fd0
add esp, 4
mov byte [esp + 0x1d0], 3
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x475b03
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
cmp dword [esp + 0xf0], esi
mov eax, dword [esp + 0xdc]
jae 0x475b1a
lea eax, [esp + 0xdc]
push eax
push str.paintmode
lea ecx, [esp + 0x68]
call fcn.0046c970
movzx eax, byte [ebx + 0x7c]
push eax
push str.onlyborder
lea ecx, [esp + 0x68]
call fcn.0046cbb0
movzx ecx, byte [ebx + 0x84]
push ecx
push str.transparent
lea ecx, [esp + 0x68]
call fcn.0046cbb0
mov ebx, dword [ebx + 0x80]
push 0xa
lea edx, [esp + 0xf8]
push edx
mov eax, ebx
cdq
push edx
push eax
call fcn.004abb78
mov edx, dword [esp + 0x70]
add esp, 0x10
lea eax, [esp + 0xf4]
push eax
mov eax, dword [edx + 0x10]
push str.alpha
lea ecx, [esp + 0x68]
call eax
cmp dword [esp + 0xf0], esi
jb 0x475ee2
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00488fd0
add esp, 4
jmp 0x475ee2
cmp eax, 2
jne 0x475d85
mov ecx, dword [esp + 0x10]
push 4
push str.text
add ecx, 0x20
call fcn.00406990
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], esi
mov word [esp + 0xc0], si
mov byte [esp + 0x1d0], 8
mov eax, dword [ebx + 0x5c]
sub eax, esi
je 0x475c0c
sub eax, 2
je 0x475c03
sub eax, 2
jne 0x475c26
push 6
push 0x4db490
jmp 0x475c13
push 5
push str.right
jmp 0x475c13
push 4
push 0x4dd30c
lea esi, [esp + 0xc4]
call fcn.00406b80
mov edi, 8
xor esi, esi
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], esi
mov word [esp + 0xa4], si
mov byte [esp + 0x1d0], 9
mov eax, dword [ebx + 0x58]
sub eax, 1
je 0x475c6c
sub eax, 2
je 0x475c63
sub eax, 2
jne 0x475c86
push 6
push 0x4db490
jmp 0x475c73
push 6
push str.bottom
jmp 0x475c73
push 3
push 0x4dd324
lea esi, [esp + 0xa8]
call fcn.00406b80
mov edi, 8
xor esi, esi
cmp dword [ebx + 0x7c], edi
jb 0x475c90
mov eax, dword [ebx + 0x68]
jmp 0x475c93
lea eax, [ebx + 0x68]
push eax
push str.textcolor
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0xd4], edi
mov eax, dword [esp + 0xc0]
jae 0x475cb9
lea eax, [esp + 0xc0]
push eax
push str.horzalign
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0xb8], edi
mov eax, dword [esp + 0xa4]
jae 0x475cdf
lea eax, [esp + 0xa4]
push eax
push str.vertalign
lea ecx, [esp + 0x68]
call fcn.0046c970
movzx edx, byte [ebx + 0x60]
push edx
push str.singleline
lea ecx, [esp + 0x68]
call fcn.0046cbb0
cmp dword [ebx + 0x54], edi
jb 0x475d0b
mov ebx, dword [ebx + 0x40]
jmp 0x475d0e
add ebx, 0x40
push ebx
push 0x4db470
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [esp + 0xb8], edi
jb 0x475d36
mov eax, dword [esp + 0xa4]
push eax
call fcn.00488fd0
add esp, 4
cmp dword [esp + 0xd4], edi
mov ebx, 7
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], esi
mov word [esp + 0xa4], si
jb 0x475d6a
mov ecx, dword [esp + 0xc0]
push ecx
call fcn.00488fd0
add esp, 4
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], esi
mov word [esp + 0xc0], si
jmp 0x475ee2
cmp eax, 3
jne 0x475e3f
mov ecx, dword [esp + 0x10]
push 9
push str.roundrect
add ecx, 0x20
call fcn.00406990
mov edx, dword [ebx + 0x3c]
push edx
push str.linetype
lea ecx, [esp + 0x68]
call fcn.0046cb50
mov eax, dword [ebx + 0x40]
push eax
push str.linewidth
lea ecx, [esp + 0x68]
call fcn.0046cb50
mov ecx, dword [ebx + 0x7c]
push ecx
push str.roundwidth
lea ecx, [esp + 0x68]
call fcn.0046cb50
mov edx, dword [ebx + 0x80]
push edx
push str.roundheight
lea ecx, [esp + 0x68]
call fcn.0046cb50
cmp dword [ebx + 0x78], edi
jb 0x475df6
mov eax, dword [ebx + 0x64]
jmp 0x475df9
lea eax, [ebx + 0x64]
push eax
push str.bkcolor
lea ecx, [esp + 0x68]
call fcn.0046c970
cmp dword [ebx + 0x5c], edi
jb 0x475e12
mov eax, dword [ebx + 0x48]
jmp 0x475e15
lea eax, [ebx + 0x48]
push eax
push str.bordercolor
lea ecx, [esp + 0x68]
call fcn.0046c970
movzx eax, byte [ebx + 0x84]
push eax
push str.transparent
lea ecx, [esp + 0x68]
call fcn.0046cbb0
jmp 0x475ee2
cmp eax, 4
jne 0x475ee2
mov ecx, dword [esp + 0x10]
push eax
push str.line
add ecx, 0x20
call fcn.00406990
mov ecx, dword [ebx + 0x3c]
push ecx
push str.linetype
lea ecx, [esp + 0x68]
call fcn.0046cb50
mov edx, dword [ebx + 0x40]
push edx
push str.linewidth
lea ecx, [esp + 0x68]
call fcn.0046cb50
mov eax, dword [ebx + 0x44]
push eax
push 0x4e61c0
lea ecx, [esp + 0x68]
call fcn.0046caf0
mov ecx, dword [ebx + 0x48]
push ecx
push 0x4e61c8
lea ecx, [esp + 0x68]
call fcn.0046caf0
mov edx, dword [ebx + 0x4c]
push edx
push 0x4e61d0
lea ecx, [esp + 0x68]
call fcn.0046caf0
mov eax, dword [ebx + 0x50]
push eax
push 0x4e61d8
lea ecx, [esp + 0x68]
call fcn.0046caf0
cmp dword [ebx + 0x6c], edi
jb 0x475ed0
mov ebx, dword [ebx + 0x58]
jmp 0x475ed3
add ebx, 0x58
push ebx
push str.color
lea ecx, [esp + 0x68]
call fcn.0046c970
mov esi, 8
cmp dword [esp + 0x9c], esi
jb 0x475f00
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00488fd0
add esp, 4
xor eax, eax
mov dword [esp + 0x1d0], 0xffffffff
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], eax
mov word [esp + 0x88], ax
mov dword [esp + 0x60], vtable.OrayUI::CXMLAttribute.0
jb 0x475f42
mov edx, dword [esp + 0x68]
push edx
call fcn.00488fd0
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 4]
jne 0x475f54
call fcn.004a79fe
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
jmp 0x4755e3
mov ecx, dword [esp + 0x1c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.004a74b2
mov esp, ebp
pop ebp
ret 4