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

Disassembly:
push 0xffffffffffffffff
push 0x4cedc2
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x500770]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x500770]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x134]
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebp
je 0x45c066
lea ecx, [ecx]
cmp dword [eax + 0x38], 0x10
jb 0x45c01b
mov esi, dword [eax + 0x24]
jmp 0x45c01e
lea esi, [eax + 0x24]
mov edi, str.orayres
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x45c060
mov esi, dword [eax + 0x40]
cmp esi, ebx
je 0x45c049
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x45c055
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x45c035
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x34], eax
jne 0x45c010
jmp 0x45c066
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x45c04b
mov ebp, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x60], vtable.OrayUI::CXMLAttribute.0
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
mov dword [esp + 0x80], ebx
cmp ebp, ebx
mov dword [esp + 0x128], ebx
je 0x45cab7
mov eax, dword [esp + 0x24]
mov ecx, str.orayimage
call fcn.00467ae0
cmp eax, ebx
je 0x45c347
call fcn.00410400
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x45c347
mov eax, dword [esp + 0x28]
lea ecx, [eax + 4]
add eax, 0xe0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x84], edx
push ecx
mov edx, 0x4d97fc
mov ecx, str.value
mov esi, 7
call fcn.0046cc70
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x64]
push eax
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
mov byte [esp + 0x130], 1
call fcn.0046cc70
mov byte [esp + 0x128], 2
push 0x74
mov dword [esp + 0x30], ebx
call fcn.00488fa5
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x45c15d
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], ebx
mov word [edi + 8], bx
mov dword [edi + 0x38], esi
mov dword [edi + 0x34], ebx
mov word [edi + 0x24], bx
lea esi, [edi + 0x44]
mov dword [edi], vtable.CImage_UI.0
call fcn.00477560
jmp 0x45c15f
xor edi, edi
cmp dword [esp + 0x9c], 8
mov edx, dword [esp + 0x88]
mov dword [esp + 0x1c], edi
jae 0x45c17b
lea edx, [esp + 0x88]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x2c]
push ecx
call fcn.00471200
test al, al
je 0x45c1a7
mov edx, dword [edi]
mov eax, dword [esp + 0x2c]
mov edx, dword [edx + 0x14]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
call fcn.0046cc70
push 0xffffffffffffffff
lea ecx, [edi + 4]
push 0
mov byte [esp + 0x130], 3
call fcn.00406430
mov bl, 2
mov ebp, 8
mov byte [esp + 0x128], bl
cmp dword [esp + 0xb8], ebp
jb 0x45c1fe
mov edx, dword [esp + 0xa4]
push edx
call fcn.00488fd0
add esp, 4
push 0
lea eax, [esp + 0x64]
push eax
mov ecx, str.canadjust
call fcn.0046d260
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x64]
push edx
mov edx, 0x4d97fc
mov ecx, str.value
mov byte [edi + 0x3c], al
call fcn.0046cc70
push 0xffffffffffffffff
lea ecx, [edi + 0x20]
push 0
mov byte [esp + 0x130], 4
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0xb8], ebp
jb 0x45c262
mov eax, dword [esp + 0xa4]
push eax
call fcn.00488fd0
add esp, 4
lea ecx, [esp + 0x60]
push ecx
call fcn.0046d020
mov esi, dword [esp + 0x38]
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45c27e
xor edx, edx
jmp 0x45c286
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x45c2a3
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x45c2a3
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x45c2c4
mov edi, esi
mov esi, dword [edi + 8]
cmp ecx, esi
jbe 0x45c2b1
call fcn.004a79fe
push esi
push edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, edi
call fcn.0045f590
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x40]
xor edi, edi
cmp esi, edi
je 0x45c2e9
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45c3b6
mov esi, dword [esi + 0x40]
cmp esi, edi
jne 0x45c2d1
xor esi, esi
cmp dword [esp + 0x9c], ebp
mov dword [esp + 0x20], esi
jb 0x45c308
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00488fd0
add esp, 4
mov byte [esp + 0x128], 0
cmp dword [esp + 0x5c], ebp
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
jb 0x45c33d
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
xor ebx, ebx
cmp esi, edi
jne 0x45c0d0
mov eax, dword [esp + 0x24]
mov ecx, str.orayfont
call fcn.00467ae0
cmp eax, ebx
je 0x45c5ed
call fcn.00410400
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x45c5ed
mov eax, dword [esp + 0x28]
add eax, 0xb0
mov dword [esp + 0x1c], eax
jmp 0x45c380
mov ecx, dword [esp + 0x20]
push 0x44
mov dword [esp + 0x84], ecx
call fcn.00488fa5
add esp, 4
cmp eax, ebx
je 0x45c3c6
mov ecx, 7
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], ebx
mov word [eax + 8], bx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov word [eax + 0x24], bx
mov ebp, eax
jmp 0x45c3c8
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov esi, eax
jmp 0x45c2eb
xor ebp, ebp
lea ecx, [esp + 0x44]
lea eax, [esp + 0x60]
mov dword [esp + 0x30], ebp
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x128], 5
mov eax, dword [ecx + 0x14]
push str.systemfont
mov edi, 0xa
call fcn.004484f0
test eax, eax
mov edi, 8
sete byte [esp + 0x1b]
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], edi
jb 0x45c41b
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x45c484
push 0x58
lea eax, [esp + 0xc4]
push ebx
push eax
mov dword [esp + 0xc8], ebx
call fcn.004ac850
add esp, 0xc
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0xbc]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0xd8]
lea esi, [ebp + 0x20]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45c461
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xdc]
push edx
call fcn.00406b80
mov byte [ebp + 0x43], 1
jmp 0x45c4cd
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, str.fontface
mov byte [ebp + 0x43], bl
call fcn.0046cc70
push 0xffffffffffffffff
lea ecx, [ebp + 0x20]
push ebx
mov byte [esp + 0x130], 6
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], edi
jb 0x45c4cd
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
call fcn.0046cc70
push 0xffffffffffffffff
lea esi, [ebp + 4]
push ebx
mov ecx, esi
mov byte [esp + 0x130], 7
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], edi
jb 0x45c515
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
push ebx
lea eax, [esp + 0x64]
push eax
mov ecx, str.fontsize
call fcn.0046ce60
push ebx
lea ecx, [esp + 0x64]
push ecx
mov ecx, str.underline
mov dword [ebp + 0x3c], eax
call fcn.0046d260
push ebx
lea edx, [esp + 0x64]
push edx
mov ecx, 0x4db414
mov byte [ebp + 0x40], al
call fcn.0046d260
mov byte [ebp + 0x41], al
push ebx
lea eax, [esp + 0x64]
push eax
mov ecx, 0x4db404
call fcn.0046d260
mov byte [ebp + 0x42], al
call fcn.0045ec80
mov esi, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x45c578
xor edx, edx
jmp 0x45c580
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x45c59d
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x45c59d
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x45c5bc
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x45c5a9
call fcn.004a79fe
push edi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, esi
call fcn.0045f590
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x40]
cmp esi, ebx
je 0x45c5df
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45c656
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x45c5c7
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x45c380
mov eax, dword [esp + 0x24]
mov ecx, str.oraycursor
call fcn.00467ae0
cmp eax, ebx
je 0x45c784
call fcn.00410400
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x45c784
mov ebp, dword [esp + 0x28]
add ebp, 0xc0
mov edi, edi
mov ecx, dword [esp + 0x20]
push 0x3c
mov dword [esp + 0x84], ecx
call fcn.00488fa5
add esp, 4
cmp eax, ebx
je 0x45c664
mov ecx, 7
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x18], ebx
mov word [eax + 8], bx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x34], ebx
mov word [eax + 0x24], bx
mov esi, eax
jmp 0x45c666
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x45c5e1
xor esi, esi
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x64]
push eax
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
mov dword [esp + 0x24], esi
call fcn.0046cc70
push 0xffffffffffffffff
lea edi, [esi + 4]
push ebx
mov ecx, edi
mov byte [esp + 0x130], 8
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], 8
jb 0x45c6b3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00488fd0
add esp, 4
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x64]
push eax
mov edx, 0x4d97fc
mov ecx, str.value
call fcn.0046cc70
push 0xffffffffffffffff
lea ecx, [esi + 0x20]
push ebx
mov byte [esp + 0x130], 9
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], 8
jb 0x45c6fa
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00488fd0
add esp, 4
mov edx, dword [esp + 0x28]
push edx
mov ecx, edi
call fcn.0045ed10
mov dword [esi], eax
mov eax, dword [ebp + 4]
cmp eax, ebx
jne 0x45c713
xor edx, edx
jmp 0x45c71b
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x45c738
mov ecx, dword [ebp + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x45c738
mov eax, dword [ebp + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebp + 8], eax
jmp 0x45c757
mov esi, dword [ebp + 8]
cmp eax, esi
jbe 0x45c744
call fcn.004a79fe
push esi
push ebp
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x48]
push ecx
mov eax, ebp
call fcn.0045f590
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x40]
cmp esi, ebx
je 0x45c776
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
jne 0x45c7bb
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x45c762
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x20], eax
jne 0x45c620
mov eax, dword [esp + 0x24]
mov ecx, str.oraycolor
call fcn.00467ae0
cmp eax, ebx
je 0x45cab7
call fcn.00410400
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x45cab7
mov esi, dword [esp + 0x28]
add esi, 0xd0
mov dword [esp + 0x2c], esi
jmp 0x45c7d4
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
jmp 0x45c778
mov eax, dword [esp + 0x20]
push 0x24
mov dword [esp + 0x84], eax
call fcn.00488fa5
add esp, 4
cmp eax, ebx
je 0x45c7fb
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov ebp, eax
jmp 0x45c7fd
xor ebp, ebp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
mov dword [esp + 0x38], ebp
call fcn.0046cc70
push 0xffffffffffffffff
push ebx
mov ecx, ebp
mov byte [esp + 0x130], 0xa
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], 8
jb 0x45c847
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
push ebx
lea eax, [esp + 0x64]
push eax
mov ecx, str.canadjust
call fcn.0046d260
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x64]
push edx
mov edx, 0x4d97fc
mov ecx, str.value
mov byte [ebp + 0x1c], al
call fcn.0046cc70
mov byte [esp + 0x128], 0xb
mov eax, dword [esp + 0x98]
push 0x4d97fc
xor edi, edi
lea ecx, [esp + 0x88]
call fcn.004484f0
test eax, eax
je 0x45ca18
cmp dword [esp + 0x9c], 8
mov eax, dword [esp + 0x88]
jae 0x45c8b8
lea eax, [esp + 0x88]
cmp word [eax], 0x23
jne 0x45c914
mov eax, 1
xor ebx, ebx
lea esi, [esp + 0x84]
call fcn.004064e0
sub esp, 0x1c
mov ecx, esp
xor eax, eax
mov dword [esp + 0x38], esp
mov dword [ecx + 0x14], eax
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
push eax
mov eax, esi
call fcn.00406430
call fcn.0045d910
mov dword [ebp + 0x20], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov edx, dword [esi + 4]
cmp edx, ebx
jne 0x45ca20
xor ecx, ecx
jmp 0x45ca28
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x8c]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc0], 7
mov dword [esp + 0xbc], ebx
mov word [esp + 0xac], bx
call fcn.00406430
mov eax, 4
xor ebx, ebx
lea esi, [esp + 0xa0]
mov byte [esp + 0x128], 0xc
call fcn.004064e0
mov ebx, dword [esp + 0xb4]
add ebx, 0xffffffff
mov eax, 1
call fcn.004064e0
mov eax, dword [esp + 0xa4]
mov esi, 8
cmp dword [esp + 0xb8], esi
mov dword [esp + 0x24], 0
jae 0x45c997
lea eax, [esp + 0xa4]
push 0xa
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.004a9a70
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x24]
push 0xa
lea edx, [esp + 0x28]
push edx
add eax, 2
push eax
call fcn.004a9a70
mov edx, dword [esp + 0x30]
add esp, 0xc
push 0xa
lea ecx, [esp + 0x28]
push ecx
add edx, 2
push edx
mov dword [esp + 0x28], eax
call fcn.004a9a70
xor ecx, ecx
mov ch, al
movzx edx, bl
add esp, 0xc
mov cl, byte [esp + 0x1c]
mov byte [esp + 0x128], 0xb
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x20], ecx
cmp dword [esp + 0xb8], esi
jb 0x45c8fc
mov eax, dword [esp + 0xa4]
push eax
call fcn.00488fd0
add esp, 4
jmp 0x45c8fc
mov dword [ebp + 0x20], ebx
jmp 0x45c902
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 2
cmp edx, ebx
je 0x45ca45
mov eax, dword [esi + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x45ca45
mov eax, dword [esi + 8]
mov dword [eax], ebp
add eax, 4
mov dword [esi + 8], eax
jmp 0x45ca64
mov edi, dword [esi + 8]
cmp edx, edi
jbe 0x45ca51
call fcn.004a79fe
push edi
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x48]
push edx
mov eax, esi
call fcn.0045f590
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x40]
cmp edi, ebx
je 0x45ca88
nop
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
jne 0x45cb65
mov edi, dword [edi + 0x40]
cmp edi, ebx
jne 0x45ca70
xor edi, edi
mov byte [esp + 0x128], bl
cmp dword [esp + 0x9c], 8
mov dword [esp + 0x20], edi
jb 0x45caaf
mov ecx, dword [esp + 0x88]
push ecx
call fcn.00488fd0
add esp, 4
cmp edi, ebx
jne 0x45c7d0
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x45cdba
mov ebp, 8
jmp 0x45cad0
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x44]
lea eax, [esp + 0x60]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x128], 0xd
mov eax, dword [ecx + 0x14]
push str.oraywnd
mov edi, 7
call fcn.004484f0
test eax, eax
sete byte [esp + 0x1b]
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], ebp
jb 0x45cb21
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x45cc28
push 0x60
call fcn.00488fa5
add esp, 4
cmp eax, ebx
je 0x45cb75
mov dword [eax + 0x18], edi
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
mov dword [eax + 0x34], edi
mov dword [eax + 0x30], ebx
mov word [eax + 0x20], bx
mov dword [eax + 0x3c], vtable.OrayUI::CXMLAttribute.0
mov dword [eax + 0x58], edi
mov dword [eax + 0x54], ebx
mov word [eax + 0x44], bx
mov dword [eax + 0x5c], ebx
mov esi, eax
jmp 0x45cb77
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov edi, eax
jmp 0x45ca8a
xor esi, esi
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, 0x4e57fc
mov dword [esp + 0x24], esi
call fcn.0046cc70
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov byte [esp + 0x130], 0xe
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], ebp
jb 0x45cbc0
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
push ecx
mov edx, 0x4d97fc
mov ecx, 0x4e58d8
call fcn.0046cc70
push 0xffffffffffffffff
lea ecx, [esi + 0x1c]
push ebx
mov byte [esp + 0x130], 0xf
call fcn.00406430
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], ebp
jb 0x45cc06
mov edx, dword [esp + 0x48]
push edx
call fcn.00488fd0
add esp, 4
mov eax, dword [esp + 0x34]
mov dword [esi + 0x38], ebx
mov dword [esi + 0x5c], eax
mov esi, dword [esp + 0x28]
add esi, 0xa0
lea ebx, [esp + 0x1c]
call fcn.0045f470
jmp 0x45cd86
lea ecx, [esp + 0x44]
lea eax, [esp + 0x60]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x128], 0x10
mov eax, dword [ecx + 0x14]
push str.oraymenu
mov edi, ebp
call fcn.004484f0
test eax, eax
sete byte [esp + 0x1b]
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], ebp
jb 0x45cc6f
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x45cccd
push 0xac
call fcn.00488fa5
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x128], 0x11
je 0x45cc9a
push eax
call fcn.00479ef0
jmp 0x45cc9c
xor eax, eax
mov byte [esp + 0x128], bl
mov edx, dword [eax]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x60]
push ecx
mov ecx, eax
mov dword [esp + 0x20], eax
call edx
mov esi, dword [esp + 0x28]
add esi, 0xf0
lea ebx, [esp + 0x1c]
call fcn.0045f470
jmp 0x45cd86
lea ecx, [esp + 0x44]
lea eax, [esp + 0x60]
call fcn.0046c8e0
mov ecx, eax
mov byte [esp + 0x128], 0x12
mov eax, dword [ecx + 0x14]
push str.orayscrollbar
mov edi, 0xd
call fcn.004484f0
test eax, eax
sete byte [esp + 0x1b]
mov byte [esp + 0x128], bl
cmp dword [esp + 0x5c], ebp
jb 0x45cd17
mov eax, dword [esp + 0x48]
push eax
call fcn.00488fd0
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x45cd8b
push 0x2f8
call fcn.00488fa5
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0x128], 0x13
je 0x45cd44
push eax
call fcn.0046f590
mov edi, eax
jmp 0x45cd46
xor edi, edi
mov esi, dword [esp + 0x28]
push edi
push ebx
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x134], bl
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.0045d130
mov edx, dword [edi]
mov edx, dword [edx + 4]
lea eax, [esp + 0x60]
push eax
mov ecx, edi
call edx
mov dword [edi + 0x130], esi
add esi, 0x100
lea ebx, [esp + 0x1c]
call fcn.0045f470
xor ebx, ebx
lea ebp, [ebx + 8]
mov eax, dword [esp + 0x34]
mov esi, dword [eax + 0x40]
cmp esi, ebx
je 0x45cdaa
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
jne 0x45ce00
mov esi, dword [esi + 0x40]
cmp esi, ebx
jne 0x45cd96
xor eax, eax
cmp eax, ebx
mov ecx, eax
mov dword [esp + 0x34], ecx
jne 0x45cad0
cmp dword [esp + 0x7c], 8
mov dword [esp + 0x60], vtable.OrayUI::CXMLAttribute.0
jb 0x45cdd6
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00488fd0
add esp, 4
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004a74b2
add esp, 0x118
ret 8
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
jmp 0x45cdac