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

Disassembly:
sub esp, 0xb8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov ecx, dword [esi + 0x297d]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 0x5e2c]
mov edx, eax
mov dword [esp + 0x18], eax
mov al, byte [esi + 0x123f]
mov edi, dword [ecx + edx*4 + 0x5e30]
test al, al
mov dword [esp + 0x10], edi
jne 0x44fc0a
mov eax, dword [esi + 0x520]
cmp eax, ebp
jle 0x44f695
lea edx, [esi + 0x524]
mov ebp, eax
mov eax, dword [edx]
cmp byte [eax + edi + 0x8a0], 0
jne 0x44f689
test eax, eax
jl 0x44f681
cmp eax, 0x200
jge 0x44f681
mov eax, dword [edi + eax*4 + 0xa0]
jmp 0x44f683
xor eax, eax
or ebx, dword [eax + 0x36d]
add edx, 4
dec ebp
jne 0x44f661
mov dword [esp + 0x14], ebx
xor ebp, ebp
mov eax, dword [esi + 0x2959]
cmp eax, ebp
jne 0x44fb44
push 0x12
call dword [0x4f031c]
mov ebx, dword [esp + 0xd4]
test ah, 0x80
je 0x44f703
cmp ebx, ebp
je 0x44f703
mov eax, dword [esi + 0x297d]
mov ecx, ebx
mov edi, dword [eax + 0x5e2c]
call fcn.004be110
cmp eax, edi
jne 0x44f703
mov ecx, ebx
call fcn.004be0d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
push ecx
mov ecx, dword [esi + 0x70]
push 1
call fcn.00474a20
mov ecx, dword [esi + 0x70]
call fcn.00476770
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
cmp dword [esi + 0x520], ebp
jle 0x44fc0a
mov edi, dword [esp + 0xd8]
cmp ebx, ebp
mov ebp, dword [esp + 0xe0]
je 0x44f796
fld dword [esp + 0xdc]
fmul dword [esp + 0xdc]
fld dword [esp + 0xd8]
fmul dword [esp + 0xd8]
faddp st(1)
fld dword [esp + 0xe0]
fmul dword [esp + 0xe0]
faddp st(1)
fcomp dword [0x4f0400]
fnstsw ax
test ah, 0x40
jne 0x44f7d5
mov edx, dword [esi + 0x297d]
push ebp
lea eax, [esp + 0x20]
push edi
mov ecx, dword [edx + 0x5f47]
push eax
call fcn.004afa10
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [edx + 0x60]
push edx
mov ecx, dword [ecx + 4]
push ecx
mov ecx, dword [esi + 0x297d]
push eax
call fcn.004d2080
test al, al
jne 0x44f7d5
xor ebx, ebx
fld dword [esp + 0xdc]
fmul dword [esp + 0xdc]
fld dword [esp + 0xd8]
fmul dword [esp + 0xd8]
faddp st(1)
fld dword [esp + 0xe0]
fmul dword [esp + 0xe0]
faddp st(1)
fcomp dword [0x4f0400]
fnstsw ax
test ah, 0x40
jne 0x44fc0a
mov eax, dword [esi + 0x296d]
mov ecx, dword [eax + 0x1792]
test ecx, ecx
jne 0x44faaa
mov ecx, dword [eax + 0x17e2]
test ecx, ecx
jne 0x44faaa
test ebx, ebx
jne 0x44f834
test byte [esp + 0x14], 2
je 0x44fc0a
mov ebx, dword [esp + 0xdc]
sub esp, 0xc
mov eax, esp
lea ecx, [esp + 0x34]
push 0
push 2
mov dword [eax], edi
push ecx
mov ecx, esi
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
call fcn.00452bf0
lea edx, [esp + 0x28]
push edx
jmp 0x44f941
mov ecx, ebx
call fcn.004be110
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov ecx, ebx
jne 0x44f8f2
call fcn.004be3e0
test al, al
jne 0x44f888
test byte [esp + 0x14], 0x10
je 0x44f888
cmp dword [ebx + 0xf2], 2
jne 0x44f888
cmp word [ebx + 0x36b], 0x19
je 0x44f888
mov ecx, dword [esp + 0xdc]
sub esp, 0xc
mov eax, esp
push ebx
push 0x10
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
jmp 0x44fa62
test byte [esp + 0x14], 2
je 0x44fc0a
mov eax, dword [esp + 0xdc]
sub esp, 0xc
mov edx, esp
lea ecx, [esp + 0x34]
push ebx
push 2
mov dword [edx], edi
push ecx
mov ecx, esi
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
call fcn.00452bf0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
call fcn.004961b0
mov eax, dword [esp + 0xdc]
mov dword [esi + 0x601], 0xf
add esi, 0x605
mov dword [esi], edi
mov dword [esi + 4], eax
mov al, 1
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
call fcn.004be110
test eax, eax
jl 0x44fc0a
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 2
mov dword [esp + 0x18], eax
je 0x44f971
cmp word [ebx + 0x36b], 0x39
jne 0x44f971
mov ebx, dword [esp + 0xdc]
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x34]
push 0
push 2
mov dword [ecx], edi
push edx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebp
mov ecx, esi
call fcn.00452bf0
lea eax, [esp + 0x28]
push eax
mov ecx, dword [esp + 0x14]
call fcn.004961b0
mov dword [esi + 0x601], 0xf
add esi, 0x605
mov al, 1
mov dword [esi], edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
test cl, 4
je 0x44fa20
mov ecx, ebx
call fcn.004be110
mov ecx, dword [esp + 0x10]
push eax
call fcn.00498cb0
cmp eax, 0xffffffff
je 0x44f9aa
mov eax, dword [esi + 0x296d]
mov ecx, dword [eax + 0x1792]
test ecx, ecx
jne 0x44f9aa
mov ecx, dword [eax + 0x17e2]
test ecx, ecx
je 0x44fa1c
push 6
mov ecx, ebx
call fcn.004be090
mov edx, dword [esp + 0xdc]
sub esp, 0xc
mov ecx, esp
lea eax, [esp + 0x34]
push ebx
push 4
mov dword [ecx], edi
push eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebp
mov ecx, esi
call fcn.00452bf0
lea ecx, [esp + 0x28]
mov dword [esi + 0x611], 4
push ecx
mov ecx, dword [esp + 0x14]
call fcn.004961b0
mov edx, dword [esp + 0xdc]
mov dword [esi + 0x601], 0xf
add esi, 0x605
mov al, 1
mov dword [esi], edi
mov dword [esi + 4], edx
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44fc0a
mov ecx, ebx
call fcn.004be110
mov ecx, dword [esp + 0x10]
push eax
call fcn.00498cb0
cmp eax, 1
jne 0x44fc0a
push 6
mov ecx, ebx
call fcn.004be090
mov ecx, dword [esp + 0xdc]
sub esp, 0xc
mov eax, esp
push ebx
push 2
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.00452bf0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
call fcn.004961b0
mov ecx, dword [esp + 0xdc]
mov dword [esi + 0x601], 0xf
add esi, 0x605
mov al, 1
mov dword [esi], edi
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
test byte [esp + 0x14], 4
je 0x44fc0a
mov eax, dword [esp + 0xdc]
sub esp, 0xc
mov edx, esp
lea ecx, [esp + 0x34]
push ebx
push 4
mov dword [edx], edi
push ecx
mov ecx, esi
mov dword [edx + 4], eax
mov dword [edx + 8], ebp
call fcn.00452bf0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push edx
call fcn.004961b0
mov ecx, dword [esp + 0xdc]
lea eax, [esi + 0x605]
test ebx, ebx
mov dword [eax], edi
mov dword [esi + 0x601], 0xf
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
je 0x44fb2b
push 6
mov ecx, ebx
call fcn.004be090
mov dword [esi + 0x611], 4
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
mov dword [esi + 0x611], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
cmp eax, 1
jne 0x44fba7
cmp dword [esi + 0x295d], 0x40
jne 0x44fbfe
sub esp, 0xc
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x28]
mov edx, esp
mov dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x2c]
mov dword [edx], eax
push ebp
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x34]
mov dword [edx + 4], ecx
lea ecx, [esp + 0x88]
push 0x40
push ecx
mov ecx, esi
mov dword [edx + 8], eax
call fcn.00452bf0
lea edx, [esp + 0x78]
mov ecx, edi
push edx
call fcn.004961b0
jmp 0x44fbfe
mov edi, dword [esi + 0x295d]
mov eax, dword [ecx + 0x5e9b]
mov edx, dword [edi + 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x98]
test eax, eax
je 0x44fbee
add esi, 4
push str.MainRect_RButtonSC__:_Error_occurs.
push esi
mov dword [0x8210d4], 1
call fcn.004331c0
add esp, 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 0x18
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x44fbfe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x20], ebp
mov dword [esi + 0x2959], ebp
mov dword [esi + 0x295d], ebp
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xb8
ret 0x18